Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 142 for ReadinessGates (0.34 sec)

  1. pkg/apis/core/zz_generated.deepcopy.go

    		**out = **in
    	}
    	if in.DNSConfig != nil {
    		in, out := &in.DNSConfig, &out.DNSConfig
    		*out = new(PodDNSConfig)
    		(*in).DeepCopyInto(*out)
    	}
    	if in.ReadinessGates != nil {
    		in, out := &in.ReadinessGates, &out.ReadinessGates
    		*out = make([]PodReadinessGate, len(*in))
    		copy(*out, *in)
    	}
    	if in.RuntimeClassName != nil {
    		in, out := &in.RuntimeClassName, &out.RuntimeClassName
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 181.5K bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/core/v1/zz_generated.deepcopy.go

    		**out = **in
    	}
    	if in.DNSConfig != nil {
    		in, out := &in.DNSConfig, &out.DNSConfig
    		*out = new(PodDNSConfig)
    		(*in).DeepCopyInto(*out)
    	}
    	if in.ReadinessGates != nil {
    		in, out := &in.ReadinessGates, &out.ReadinessGates
    		*out = make([]PodReadinessGate, len(*in))
    		copy(*out, *in)
    	}
    	if in.RuntimeClassName != nil {
    		in, out := &in.RuntimeClassName, &out.RuntimeClassName
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 181.9K bytes
    - Viewed (0)
  3. pkg/apis/core/validation/validation.go

    	MaxDNSSearchPaths = 32
    	// Max number of characters in the search path.
    	MaxDNSSearchListChars = 2048
    )
    
    func validateReadinessGates(readinessGates []core.PodReadinessGate, fldPath *field.Path) field.ErrorList {
    	allErrs := field.ErrorList{}
    	for i, value := range readinessGates {
    		allErrs = append(allErrs, ValidateQualifiedName(string(value.ConditionType), fldPath.Index(i).Child("conditionType"))...)
    	}
    	return allErrs
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 349.5K bytes
    - Viewed (1)
  4. pkg/apis/core/v1/zz_generated.conversion.go

    	out.PriorityClassName = in.PriorityClassName
    	out.Priority = (*int32)(unsafe.Pointer(in.Priority))
    	out.DNSConfig = (*core.PodDNSConfig)(unsafe.Pointer(in.DNSConfig))
    	out.ReadinessGates = *(*[]core.PodReadinessGate)(unsafe.Pointer(&in.ReadinessGates))
    	out.RuntimeClassName = (*string)(unsafe.Pointer(in.RuntimeClassName))
    	out.EnableServiceLinks = (*bool)(unsafe.Pointer(in.EnableServiceLinks))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 472.1K bytes
    - Viewed (0)
  5. pkg/printers/internalversion/printers_test.go

    			api.Pod{
    				ObjectMeta: metav1.ObjectMeta{Name: "test1"},
    				Spec: api.PodSpec{
    					Containers: make([]api.Container, 2),
    					NodeName:   "test1",
    					ReadinessGates: []api.PodReadinessGate{
    						{
    							ConditionType: api.PodConditionType(condition1),
    						},
    						{
    							ConditionType: api.PodConditionType(condition2),
    						},
    						{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 218.6K bytes
    - Viewed (0)
  6. pkg/apis/core/validation/validation_test.go

    		}},
    	},
    	}
    	for _, tc := range successCases {
    		if errs := validateReadinessGates(tc.readinessGates, field.NewPath("field")); len(errs) != 0 {
    			t.Errorf("expect tc %q to success: %v", tc.desc, errs)
    		}
    	}
    
    	errorCases := []struct {
    		desc           string
    		readinessGates []core.PodReadinessGate
    	}{{
    		"invalid condition type",
    		[]core.PodReadinessGate{{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 857.7K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/core/v1/types.go

    	// More info: https://git.k8s.io/enhancements/keps/sig-network/580-pod-readiness-gates
    	// +optional
    	// +listType=atomic
    	ReadinessGates []PodReadinessGate `json:"readinessGates,omitempty" protobuf:"bytes,28,opt,name=readinessGates"`
    	// RuntimeClassName refers to a RuntimeClass object in the node.k8s.io group, which should be used
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 390.8K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/core/v1/generated.pb.go

    			if postIndex < 0 {
    				return ErrInvalidLengthGenerated
    			}
    			if postIndex > l {
    				return io.ErrUnexpectedEOF
    			}
    			m.ReadinessGates = append(m.ReadinessGates, PodReadinessGate{})
    			if err := m.ReadinessGates[len(m.ReadinessGates)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
    				return err
    			}
    			iNdEx = postIndex
    		case 29:
    			if wireType != 2 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 1.8M bytes
    - Viewed (0)
  9. CHANGELOG/CHANGELOG-1.27.md

    - The Pod API field `.spec.schedulingGates[*].name` now requires qualified names (like `example.com/mygate`), matching validation for names of `.spec.readinessGates[*].name`. Any uses of the alpha scheduling gate feature prior to 1.27 that do not match that validation must be renamed or deleted before upgrading to 1.27. ([#115821](https://github.com/kubernetes/kubernetes/pull/115821), [@lianghao208](http...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 23:01:06 UTC 2024
    - 455.3K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/testdata/swagger.json

              "type": "string"
            },
            "readinessGates": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 20 15:45:02 UTC 2024
    - 229.4K bytes
    - Viewed (0)
Back to top