Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for completion_mode (0.23 sec)

  1. pkg/registry/batch/job/strategy_test.go

    				ObjectMeta: validObjectMeta,
    				Spec: batch.JobSpec{
    					Completions:    ptr.To[int32](5),
    					CompletionMode: completionModePtr(batch.NonIndexedCompletion),
    				},
    			},
    			newJob: &batch.Job{
    				ObjectMeta: validObjectMeta,
    				Spec: batch.JobSpec{
    					Completions:    ptr.To[int32](5),
    					CompletionMode: completionModePtr(batch.NonIndexedCompletion),
    				},
    				Status: batch.JobStatus{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 101.5K bytes
    - Viewed (0)
  2. pkg/apis/batch/validation/validation_test.go

    					CompletionMode: completionModePtr(batch.IndexedCompletion),
    					Completions:    pointer.Int32(2),
    				},
    			},
    			update: func(job *batch.Job) {
    				job.Spec.CompletionMode = completionModePtr(batch.NonIndexedCompletion)
    			},
    			err: &field.Error{
    				Type:  field.ErrorTypeInvalid,
    				Field: "spec.completionMode",
    			},
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 20:49:09 UTC 2024
    - 124.3K bytes
    - Viewed (0)
  3. pkg/controller/job/job_controller_test.go

    						"foo": "bar",
    					},
    				},
    				Spec: v1.PodSpec{
    					Containers: []v1.Container{
    						{Image: "foo/bar"},
    					},
    				},
    			},
    		},
    	}
    	if completionMode != "" {
    		j.Spec.CompletionMode = &completionMode
    	}
    	// Special case: -1 for either completions or parallelism means leave nil (negative is not allowed
    	// in practice by validation.
    	if completions >= 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 15:36:36 UTC 2024
    - 229.2K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/batch/v1/generated.pb.go

    		i--
    		if *m.Suspend {
    			dAtA[i] = 1
    		} else {
    			dAtA[i] = 0
    		}
    		i--
    		dAtA[i] = 0x50
    	}
    	if m.CompletionMode != nil {
    		i -= len(*m.CompletionMode)
    		copy(dAtA[i:], *m.CompletionMode)
    		i = encodeVarintGenerated(dAtA, i, uint64(len(*m.CompletionMode)))
    		i--
    		dAtA[i] = 0x4a
    	}
    	if m.TTLSecondsAfterFinished != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 20:49:09 UTC 2024
    - 133K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/windows/zsyscall_windows.go

    	}
    	return
    }
    
    func NtCreateNamedPipeFile(pipe *Handle, access uint32, oa *OBJECT_ATTRIBUTES, iosb *IO_STATUS_BLOCK, share uint32, disposition uint32, options uint32, typ uint32, readMode uint32, completionMode uint32, maxInstances uint32, inboundQuota uint32, outputQuota uint32, timeout *int64) (ntstatus error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 195.8K bytes
    - Viewed (0)
Back to top