- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 395 for STRATEGY (0.14 sec)
-
staging/src/k8s.io/apiextensions-apiserver/pkg/registry/customresourcedefinition/strategy.go
"k8s.io/apiserver/pkg/storage/names" utilfeature "k8s.io/apiserver/pkg/util/feature" ) // strategy implements behavior for CustomResources. type strategy struct { runtime.ObjectTyper names.NameGenerator } func NewStrategy(typer runtime.ObjectTyper) strategy { return strategy{typer, names.SimpleNameGenerator} } func (strategy) NamespaceScoped() bool { return false }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 28 19:06:46 UTC 2024 - 10.3K bytes - Viewed (0) -
pkg/registry/flowcontrol/ensurer/strategy.go
} } // auto-update strategy for the configuration objects type strategy[ObjectType configurationObjectType] struct { alwaysAutoUpdateSpec bool name string } func (s *strategy[ObjectType]) Name() string { return s.name } func (s *strategy[ObjectType]) ReviseIfNeeded(objectOps objectLocalOps[ObjectType], current, bootstrap ObjectType) (ObjectType, bool, error) { var zero ObjectType
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 30 12:18:40 UTC 2023 - 14K bytes - Viewed (0) -
pkg/registry/core/service/strategy.go
names.NameGenerator } // Strategy is the default logic that applies when creating and updating Services // objects via the REST API. var Strategy = svcStrategy{legacyscheme.Scheme, names.SimpleNameGenerator} // NamespaceScoped is true for services. func (svcStrategy) NamespaceScoped() bool { return true } // GetResetFields returns the set of fields that get reset by the strategy // and should not be modified by the user.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 11 13:09:36 UTC 2024 - 14.1K bytes - Viewed (0) -
pkg/registry/core/pod/strategy.go
names.NameGenerator } // Strategy is the default logic that applies when creating and updating Pod // objects via the REST API. var Strategy = podStrategy{legacyscheme.Scheme, names.SimpleNameGenerator} // NamespaceScoped is true for pods. func (podStrategy) NamespaceScoped() bool { return true } // GetResetFields returns the set of fields that get reset by the strategy // and should not be modified by the user.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 17:51:48 UTC 2024 - 29.8K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/registry/customresource/strategy.go
celValidator: celValidator, kind: kind, } if utilfeature.DefaultFeatureGate.Enabled(apiextensionsfeatures.CustomResourceFieldSelectors) { strategy.selectableFieldSet = prepareSelectableFields(selectableFields) } return strategy } func prepareSelectableFields(selectableFields []v1.SelectableField) []selectableField { result := make([]selectableField, len(selectableFields))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 28 21:22:34 UTC 2024 - 14.9K bytes - Viewed (0) -
pkg/registry/batch/job/strategy.go
) // jobStrategy implements verification logic for Replication Controllers. type jobStrategy struct { runtime.ObjectTyper names.NameGenerator } // Strategy is the default logic that applies when creating and updating Replication Controller objects. var Strategy = jobStrategy{legacyscheme.Scheme, names.SimpleNameGenerator} // DefaultGarbageCollectionPolicy returns OrphanDependents for batch/v1 for backwards compatibility,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 08 16:43:24 UTC 2024 - 18.4K bytes - Viewed (0) -
pkg/registry/certificates/certificates/strategy.go
// object. func (csrStrategy) AllowUnconditionalUpdate() bool { return true } // Storage strategy for the Status subresource type csrStatusStrategy struct { csrStrategy } var StatusStrategy = csrStatusStrategy{Strategy} // GetResetFields returns the set of fields that get reset by the strategy // and should not be modified by the user.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 18 21:41:43 UTC 2022 - 11.4K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolutionstrategy/DefaultResolutionStrategySpec.groovy
when: strategy.failOnDynamicVersions() then: 1 * validator.validateMutation(STRATEGY) when: strategy.failOnChangingVersions() then: 1 * validator.validateMutation(STRATEGY) when: strategy.failOnNonReproducibleResolution() then: 2 * validator.validateMutation(STRATEGY) when: strategy.force("org.utils:api:1.3")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 05 02:50:41 UTC 2024 - 12.1K bytes - Viewed (0) -
pkg/registry/policy/poddisruptionbudget/strategy_test.go
}, } // Nothing in Spec changes: OK Strategy.PrepareForUpdate(ctx, newPdb, pdb) errs = Strategy.ValidateUpdate(ctx, newPdb, pdb) if len(errs) != 0 { t.Errorf("Unexpected error updating PodDisruptionBudget.") } // Changing the selector? OK newPdb.Spec.Selector = &metav1.LabelSelector{MatchLabels: map[string]string{"a": "bar"}} Strategy.PrepareForUpdate(ctx, newPdb, pdb)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 19.2K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/internal/reflect/validation/ValidationMessageChecker.groovy
MethodShouldNotBeAnnotated config = methodShouldNotBeAnnotatedConfig(spec) config.render() } MethodShouldNotBeAnnotated methodShouldNotBeAnnotatedConfig(@DelegatesTo(value = MethodShouldNotBeAnnotated, strategy = Closure.DELEGATE_FIRST) Closure<?> spec) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 11:49:03 UTC 2024 - 42.1K bytes - Viewed (0)