public static interface V1beta1Admissionregistration.RuleOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getApiGroups(int index)
APIGroups is the API groups the resources belong to.
|
com.google.protobuf.ByteString |
getApiGroupsBytes(int index)
APIGroups is the API groups the resources belong to.
|
int |
getApiGroupsCount()
APIGroups is the API groups the resources belong to.
|
List<String> |
getApiGroupsList()
APIGroups is the API groups the resources belong to.
|
String |
getApiVersions(int index)
APIVersions is the API versions the resources belong to.
|
com.google.protobuf.ByteString |
getApiVersionsBytes(int index)
APIVersions is the API versions the resources belong to.
|
int |
getApiVersionsCount()
APIVersions is the API versions the resources belong to.
|
List<String> |
getApiVersionsList()
APIVersions is the API versions the resources belong to.
|
String |
getResources(int index)
Resources is a list of resources this rule applies to.
|
com.google.protobuf.ByteString |
getResourcesBytes(int index)
Resources is a list of resources this rule applies to.
|
int |
getResourcesCount()
Resources is a list of resources this rule applies to.
|
List<String> |
getResourcesList()
Resources is a list of resources this rule applies to.
|
String |
getScope()
scope specifies the scope of this rule.
|
com.google.protobuf.ByteString |
getScopeBytes()
scope specifies the scope of this rule.
|
boolean |
hasScope()
scope specifies the scope of this rule.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofList<String> getApiGroupsList()
APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
repeated string apiGroups = 1;int getApiGroupsCount()
APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
repeated string apiGroups = 1;String getApiGroups(int index)
APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
repeated string apiGroups = 1;com.google.protobuf.ByteString getApiGroupsBytes(int index)
APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
repeated string apiGroups = 1;List<String> getApiVersionsList()
APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
repeated string apiVersions = 2;int getApiVersionsCount()
APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
repeated string apiVersions = 2;String getApiVersions(int index)
APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
repeated string apiVersions = 2;com.google.protobuf.ByteString getApiVersionsBytes(int index)
APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
repeated string apiVersions = 2;List<String> getResourcesList()
Resources is a list of resources this rule applies to. For example: 'pods' means pods. 'pods/log' means the log subresource of pods. '*' means all resources, but not subresources. 'pods/*' means all subresources of pods. '*/scale' means all scale subresources. '*/*' means all resources and their subresources. If wildcard is present, the validation rule will ensure resources do not overlap with each other. Depending on the enclosing object, subresources might not be allowed. Required.
repeated string resources = 3;int getResourcesCount()
Resources is a list of resources this rule applies to. For example: 'pods' means pods. 'pods/log' means the log subresource of pods. '*' means all resources, but not subresources. 'pods/*' means all subresources of pods. '*/scale' means all scale subresources. '*/*' means all resources and their subresources. If wildcard is present, the validation rule will ensure resources do not overlap with each other. Depending on the enclosing object, subresources might not be allowed. Required.
repeated string resources = 3;String getResources(int index)
Resources is a list of resources this rule applies to. For example: 'pods' means pods. 'pods/log' means the log subresource of pods. '*' means all resources, but not subresources. 'pods/*' means all subresources of pods. '*/scale' means all scale subresources. '*/*' means all resources and their subresources. If wildcard is present, the validation rule will ensure resources do not overlap with each other. Depending on the enclosing object, subresources might not be allowed. Required.
repeated string resources = 3;com.google.protobuf.ByteString getResourcesBytes(int index)
Resources is a list of resources this rule applies to. For example: 'pods' means pods. 'pods/log' means the log subresource of pods. '*' means all resources, but not subresources. 'pods/*' means all subresources of pods. '*/scale' means all scale subresources. '*/*' means all resources and their subresources. If wildcard is present, the validation rule will ensure resources do not overlap with each other. Depending on the enclosing object, subresources might not be allowed. Required.
repeated string resources = 3;boolean hasScope()
scope specifies the scope of this rule. Valid values are "Cluster", "Namespaced", and "*" "Cluster" means that only cluster-scoped resources will match this rule. Namespace API objects are cluster-scoped. "Namespaced" means that only namespaced resources will match this rule. "*" means that there are no scope restrictions. Subresources match the scope of their parent resource. Default is "*". +optional
optional string scope = 4;String getScope()
scope specifies the scope of this rule. Valid values are "Cluster", "Namespaced", and "*" "Cluster" means that only cluster-scoped resources will match this rule. Namespace API objects are cluster-scoped. "Namespaced" means that only namespaced resources will match this rule. "*" means that there are no scope restrictions. Subresources match the scope of their parent resource. Default is "*". +optional
optional string scope = 4;com.google.protobuf.ByteString getScopeBytes()
scope specifies the scope of this rule. Valid values are "Cluster", "Namespaced", and "*" "Cluster" means that only cluster-scoped resources will match this rule. Namespace API objects are cluster-scoped. "Namespaced" means that only namespaced resources will match this rule. "*" means that there are no scope restrictions. Subresources match the scope of their parent resource. Default is "*". +optional
optional string scope = 4;Copyright © 2023. All rights reserved.