Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for APIGroups (0.41 sec)

  1. staging/src/k8s.io/api/admissionregistration/v1/generated.proto

    }
    
    // Rule is a tuple of APIGroups, APIVersion, and Resources.It is recommended
    // to make sure that all the tuple expansions are valid.
    message Rule {
      // APIGroups is the API groups the resources belong to. '*' is all groups.
      // If '*' is present, the length of the slice must be one.
      // Required.
      // +listType=atomic
      repeated string apiGroups = 1;
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/admissionregistration/v1/types.go

    )
    
    // Rule is a tuple of APIGroups, APIVersion, and Resources.It is recommended
    // to make sure that all the tuple expansions are valid.
    type Rule struct {
    	// APIGroups is the API groups the resources belong to. '*' is all groups.
    	// If '*' is present, the length of the slice must be one.
    	// Required.
    	// +listType=atomic
    	APIGroups []string `json:"apiGroups,omitempty" protobuf:"bytes,1,rep,name=apiGroups"`
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 61.6K bytes
    - Viewed (0)
  3. pkg/apis/admissionregistration/validation/validation.go

    	var allErrors field.ErrorList
    	if len(rule.APIGroups) == 0 {
    		allErrors = append(allErrors, field.Required(fldPath.Child("apiGroups"), ""))
    	}
    	if len(rule.APIGroups) > 1 && hasWildcard(rule.APIGroups) {
    		allErrors = append(allErrors, field.Invalid(fldPath.Child("apiGroups"), rule.APIGroups, "if '*' is present, must not specify other API groups"))
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 56.6K bytes
    - Viewed (0)
Back to top