- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 1,073 for 2_spec (0.08 sec)
-
pkg/registry/batch/job/strategy_test.go
wantJob: batch.Job{ ObjectMeta: getValidObjectMeta(0), Spec: batch.JobSpec{ Selector: validSelector, Template: validPodTemplateSpec, }, Status: batch.JobStatus{ Active: 1, }, }, }, "ensure generation doesn't change over non spec updates": { job: batch.Job{ ObjectMeta: getValidObjectMeta(0), Spec: batch.JobSpec{ Selector: validSelector,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 101.5K bytes - Viewed (0) -
pkg/volume/flexvolume/plugin.go
func (plugin *flexVolumePlugin) GetVolumeName(spec *volume.Spec) (string, error) { call := plugin.NewDriverCall(getVolumeNameCmd) call.AppendSpec(spec, plugin.host, nil) _, err := call.Run() if isCmdNotSupportedErr(err) { return (*pluginDefaults)(plugin).GetVolumeName(spec) } else if err != nil { return "", err } name, err := (*pluginDefaults)(plugin).GetVolumeName(spec) if err != nil { return "", err
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 9.7K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/registry/customresource/status_strategy_test.go
}{ { // changes to spec are ignored old: &unstructured.Unstructured{ Object: map[string]interface{}{ "spec": "old", }, }, obj: &unstructured.Unstructured{ Object: map[string]interface{}{ "spec": "new", }, }, expected: &unstructured.Unstructured{ Object: map[string]interface{}{ "spec": "old", }, }, }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Oct 18 22:16:10 UTC 2023 - 6.9K bytes - Viewed (0) -
platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/NativeCompiler.java
protected List<String> maybeGetPCHArgs(final T spec, File sourceFile) { if (spec.getPreCompiledHeader() == null || !spec.getSourceFilesForPch().contains(sourceFile)) { return new ArrayList<>(); } return getPCHArgs(spec); } protected CommandLineToolInvocation createPerFileInvocation(List<String> genericArgs, File sourceFile, File objectDir, T spec) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 5.4K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/configurationcache/ConfigurationCacheFixture.groovy
private final AbstractIntegrationSpec spec final BuildOperationsFixture buildOperations final ConfigurationCacheBuildOperationsFixture configurationCacheBuildOperations final ConfigurationCacheProblemsFixture problems ConfigurationCacheFixture(AbstractIntegrationSpec spec) { this.spec = spec buildOperations = new BuildOperationsFixture(spec.executer, spec.temporaryFolder)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 15.1K bytes - Viewed (0) -
pkg/registry/apps/statefulset/strategy_test.go
expectedSS := makeStatefulSetWithStatefulSetOrdinals(createOrdinalsWithStart(2)) ss.Spec.Replicas = 1 ctx := genericapirequest.NewDefaultContext() Strategy.PrepareForCreate(ctx, ss) if diff := cmp.Diff(expectedSS.Spec.Ordinals, ss.Spec.Ordinals); diff != "" { t.Fatalf("Strategy.PrepareForCreate(%v) unexpected .spec.ordinals change: (-want, +got):\n%v", ss, diff) } errs := Strategy.Validate(ctx, ss)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 22.1K bytes - Viewed (0) -
pkg/apis/coordination/validation/validation.go
// ValidateLeaseSpec validates spec of Lease. func ValidateLeaseSpec(spec *coordination.LeaseSpec, fldPath *field.Path) field.ErrorList { allErrs := field.ErrorList{} if spec.LeaseDurationSeconds != nil && *spec.LeaseDurationSeconds <= 0 { fld := fldPath.Child("leaseDurationSeconds") allErrs = append(allErrs, field.Invalid(fld, spec.LeaseDurationSeconds, "must be greater than 0")) } if spec.LeaseTransitions != nil && *spec.LeaseTransitions < 0 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 03 17:25:43 UTC 2022 - 2K bytes - Viewed (0) -
pkg/config/analysis/analyzers/testdata/deployment-multi-service.yaml
metadata: name: bookinfo labels: istio-injection: "enabled" spec: {} --- # Deployment should generate a warning: two services using that deployment # using the same port but different protocol. apiVersion: apps/v1 kind: Deployment metadata: name: multiple-svc-multiple-prot namespace: bookinfo labels: app: details version: v1 spec: replicas: 1 selector: matchLabels: app: details
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Dec 05 21:52:53 UTC 2023 - 7.9K bytes - Viewed (0) -
subprojects/diagnostics/src/test/groovy/org/gradle/api/tasks/diagnostics/internal/dsl/DependencyResultSpecNotationParserSpec.groovy
when: def spec = parser.parseNotation(new Spec<DependencyResult>() { boolean isSatisfiedBy(DependencyResult element) { return element.requested.module == 'mockito-core' } }) then: spec.isSatisfiedBy(mockito) !spec.isSatisfiedBy(other) } def "fails neatly for unknown notations"() { when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 12 07:56:08 UTC 2021 - 3.4K bytes - Viewed (0) -
pkg/volume/csi/csi_plugin.go
func (p *csiPlugin) CanSupport(spec *volume.Spec) bool { // TODO (vladimirvivien) CanSupport should also take into account // the availability/registration of specified Driver in the volume source if spec == nil { return false } return (spec.PersistentVolume != nil && spec.PersistentVolume.Spec.CSI != nil) || (spec.Volume != nil && spec.Volume.CSI != nil) } func (p *csiPlugin) RequiresRemount(spec *volume.Spec) bool {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 29.2K bytes - Viewed (0)