- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 25 for defaulting (0.12 sec)
-
pkg/apis/core/v1/defaults_test.go
// Forbidden: adding a new field `MyField *bool` and defaulting it to a non-nil value // Forbidden: defaulting an existing field `MyField *bool` when it was previously not defaulted // Forbidden: changing an existing default value // Allowed: adding a new field `MyContainer *MyType` and defaulting a child of that type (e.g. `MyContainer.MyChildField`) if and only if MyContainer is non-nil
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 84.4K bytes - Viewed (0) -
cmd/kubelet/app/server.go
makeEventRecorder(ctx, kubeDeps, nodeName) if kubeDeps.ContainerManager == nil { if s.CgroupsPerQOS && s.CgroupRoot == "" { klog.InfoS("--cgroups-per-qos enabled, but --cgroup-root was not specified. defaulting to /") s.CgroupRoot = "/" } machineInfo, err := kubeDeps.CAdvisorInterface.MachineInfo() if err != nil { return err }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 00:05:34 UTC 2024 - 53.9K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/testdata/swagger.json
} }, "default": { "description": "default is a default value for undefined object fields. Defaulting is a beta feature under the CustomResourceDefaulting feature gate. Defaulting requires spec.preserveUnknownFields to be false.", "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSON" }, "definitions": {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 13 18:37:59 UTC 2023 - 55.4K bytes - Viewed (0) -
pkg/apis/storage/validation/validation_test.go
expectError bool }{{ name: "feature enabled, nil->nil", featureEnabled: true, oldValue: nil, newValue: nil, expectError: true, // populated by defaulting and required when feature is enabled }, { name: "feature enabled, nil->set", featureEnabled: true, oldValue: nil, newValue: utilpointer.Bool(true), expectError: false,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 69.7K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/customresource_handler.go
"k8s.io/apiextensions-apiserver/pkg/apiserver/conversion" structuralschema "k8s.io/apiextensions-apiserver/pkg/apiserver/schema" structuraldefaulting "k8s.io/apiextensions-apiserver/pkg/apiserver/schema/defaulting" schemaobjectmeta "k8s.io/apiextensions-apiserver/pkg/apiserver/schema/objectmeta" structuralpruning "k8s.io/apiextensions-apiserver/pkg/apiserver/schema/pruning"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 28 19:06:46 UTC 2024 - 52.9K bytes - Viewed (0) -
staging/src/k8s.io/cli-runtime/pkg/resource/builder_test.go
t.Errorf("unexpected info: %#v", info) } obj := info.Object version, ok := obj.(*v1.ReplicationController) // versioned object does not have defaulting applied if obj == nil || !ok || version.Spec.Replicas != nil { t.Errorf("unexpected versioned object: %#v", obj) } } func TestNodeBuilder(t *testing.T) { node := &v1.Node{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 01 11:58:41 UTC 2023 - 56.1K bytes - Viewed (0) -
pkg/controller/volume/persistentvolume/binder_test.go
VolumeBindingMode: &modeWait, }, }, []*v1.Pod{}) } func TestSyncBlockVolume(t *testing.T) { modeBlock := v1.PersistentVolumeBlock modeFile := v1.PersistentVolumeFilesystem // Tests assume defaulting, so feature enabled will never have nil volumeMode tests := []controllerTest{ // PVC with VolumeMode { // syncVolume binds a requested block claim to a block volume
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 14 00:37:30 UTC 2023 - 65.8K bytes - Viewed (0) -
src/cmd/dist/build.go
// compiler setting to use for that platform. // The entry for key "" covers any goos/goarch not explicitly set in the map. // For example, compilerEnv("CC", "gcc") returns the C compiler settings // read from $CC, defaulting to gcc. // // The result is a map because additional environment variables // can be set to change the compiler based on goos/goarch settings. // The following applies to all envNames but CC is assumed to simplify
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 18:34:40 UTC 2024 - 54K bytes - Viewed (0) -
src/crypto/tls/common.go
// //go:linkname errNoCertificates var errNoCertificates = errors.New("tls: no certificates configured") // getCertificate returns the best certificate for the given ClientHelloInfo, // defaulting to the first element of c.Certificates. func (c *Config) getCertificate(clientHello *ClientHelloInfo) (*Certificate, error) { if c.GetCertificate != nil && (len(c.Certificates) == 0 || len(clientHello.ServerName) > 0) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:10:12 UTC 2024 - 59.1K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/podtopologyspread/scoring_test.go
{Name: "node-b", Score: 66}, // +9 compared to maxSkew=1 {Name: "node-c", Score: 77}, // +6 compared to maxSkew=1 {Name: "node-d", Score: 100}, }, }, { name: "system defaulting, nodes don't have zone, pods match service", pod: st.MakePod().Name("p").Label("foo", "").Obj(), existingPods: []*v1.Pod{ // matching pods spread as 4/3/2/1.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Dec 15 03:30:06 UTC 2023 - 60K bytes - Viewed (0)