Documentation ¶
Overview ¶
Package v1alpha1 is a generated protocol buffer package.
It is generated from these files:
k8s.io/api/admissionregistration/v1alpha1/generated.proto
It has these top-level messages:
Initializer InitializerConfiguration InitializerConfigurationList Rule
Index ¶
- Variables
- type Initializer
- func (*Initializer) Descriptor() ([]byte, []int)
- func (m *Initializer) GetName() string
- func (m *Initializer) GetRules() []*Rule
- func (m *Initializer) Marshal() (dAtA []byte, err error)
- func (m *Initializer) MarshalTo(dAtA []byte) (int, error)
- func (*Initializer) ProtoMessage()
- func (m *Initializer) Reset()
- func (m *Initializer) Size() (n int)
- func (m *Initializer) String() string
- func (m *Initializer) Unmarshal(dAtA []byte) error
- type InitializerConfiguration
- func (*InitializerConfiguration) Descriptor() ([]byte, []int)
- func (m *InitializerConfiguration) GetInitializers() []*Initializer
- func (m *InitializerConfiguration) GetMetadata() *k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta
- func (m *InitializerConfiguration) Marshal() (dAtA []byte, err error)
- func (m *InitializerConfiguration) MarshalTo(dAtA []byte) (int, error)
- func (*InitializerConfiguration) ProtoMessage()
- func (m *InitializerConfiguration) Reset()
- func (m *InitializerConfiguration) Size() (n int)
- func (m *InitializerConfiguration) String() string
- func (m *InitializerConfiguration) Unmarshal(dAtA []byte) error
- type InitializerConfigurationList
- func (*InitializerConfigurationList) Descriptor() ([]byte, []int)
- func (m *InitializerConfigurationList) GetItems() []*InitializerConfiguration
- func (m *InitializerConfigurationList) GetMetadata() *k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta
- func (m *InitializerConfigurationList) Marshal() (dAtA []byte, err error)
- func (m *InitializerConfigurationList) MarshalTo(dAtA []byte) (int, error)
- func (*InitializerConfigurationList) ProtoMessage()
- func (m *InitializerConfigurationList) Reset()
- func (m *InitializerConfigurationList) Size() (n int)
- func (m *InitializerConfigurationList) String() string
- func (m *InitializerConfigurationList) Unmarshal(dAtA []byte) error
- type Rule
- func (*Rule) Descriptor() ([]byte, []int)
- func (m *Rule) GetApiGroups() []string
- func (m *Rule) GetApiVersions() []string
- func (m *Rule) GetResources() []string
- func (m *Rule) Marshal() (dAtA []byte, err error)
- func (m *Rule) MarshalTo(dAtA []byte) (int, error)
- func (*Rule) ProtoMessage()
- func (m *Rule) Reset()
- func (m *Rule) Size() (n int)
- func (m *Rule) String() string
- func (m *Rule) Unmarshal(dAtA []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow") )
Functions ¶
This section is empty.
Types ¶
type Initializer ¶
type Initializer struct { // Name is the identifier of the initializer. It will be added to the // object that needs to be initialized. // Name should be fully qualified, e.g., alwayspullimages.kubernetes.io, where // "alwayspullimages" is the name of the webhook, and kubernetes.io is the name // of the organization. // Required Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` // Rules describes what resources/subresources the initializer cares about. // The initializer cares about an operation if it matches _any_ Rule. // Rule.Resources must not include subresources. Rules []*Rule `protobuf:"bytes,2,rep,name=rules" json:"rules,omitempty"` XXX_unrecognized []byte `json:"-"` }
Initializer describes the name and the failure policy of an initializer, and what resources it applies to.
func (*Initializer) Descriptor ¶
func (*Initializer) Descriptor() ([]byte, []int)
func (*Initializer) GetName ¶
func (m *Initializer) GetName() string
func (*Initializer) GetRules ¶
func (m *Initializer) GetRules() []*Rule
func (*Initializer) Marshal ¶
func (m *Initializer) Marshal() (dAtA []byte, err error)
func (*Initializer) ProtoMessage ¶
func (*Initializer) ProtoMessage()
func (*Initializer) Reset ¶
func (m *Initializer) Reset()
func (*Initializer) Size ¶
func (m *Initializer) Size() (n int)
func (*Initializer) String ¶
func (m *Initializer) String() string
func (*Initializer) Unmarshal ¶
func (m *Initializer) Unmarshal(dAtA []byte) error
type InitializerConfiguration ¶
type InitializerConfiguration struct { // Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata. // +optional Metadata *k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"` // Initializers is a list of resources and their default initializers // Order-sensitive. // When merging multiple InitializerConfigurations, we sort the initializers // from different InitializerConfigurations by the name of the // InitializerConfigurations; the order of the initializers from the same // InitializerConfiguration is preserved. // +patchMergeKey=name // +patchStrategy=merge // +optional Initializers []*Initializer `protobuf:"bytes,2,rep,name=initializers" json:"initializers,omitempty"` XXX_unrecognized []byte `json:"-"` }
InitializerConfiguration describes the configuration of initializers.
func (*InitializerConfiguration) Descriptor ¶
func (*InitializerConfiguration) Descriptor() ([]byte, []int)
func (*InitializerConfiguration) GetInitializers ¶
func (m *InitializerConfiguration) GetInitializers() []*Initializer
func (*InitializerConfiguration) GetMetadata ¶
func (m *InitializerConfiguration) GetMetadata() *k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta
func (*InitializerConfiguration) Marshal ¶
func (m *InitializerConfiguration) Marshal() (dAtA []byte, err error)
func (*InitializerConfiguration) MarshalTo ¶
func (m *InitializerConfiguration) MarshalTo(dAtA []byte) (int, error)
func (*InitializerConfiguration) ProtoMessage ¶
func (*InitializerConfiguration) ProtoMessage()
func (*InitializerConfiguration) Reset ¶
func (m *InitializerConfiguration) Reset()
func (*InitializerConfiguration) Size ¶
func (m *InitializerConfiguration) Size() (n int)
func (*InitializerConfiguration) String ¶
func (m *InitializerConfiguration) String() string
func (*InitializerConfiguration) Unmarshal ¶
func (m *InitializerConfiguration) Unmarshal(dAtA []byte) error
type InitializerConfigurationList ¶
type InitializerConfigurationList struct { // Standard list metadata. // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds // +optional Metadata *k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"` // List of InitializerConfiguration. Items []*InitializerConfiguration `protobuf:"bytes,2,rep,name=items" json:"items,omitempty"` XXX_unrecognized []byte `json:"-"` }
InitializerConfigurationList is a list of InitializerConfiguration.
func (*InitializerConfigurationList) Descriptor ¶
func (*InitializerConfigurationList) Descriptor() ([]byte, []int)
func (*InitializerConfigurationList) GetItems ¶
func (m *InitializerConfigurationList) GetItems() []*InitializerConfiguration
func (*InitializerConfigurationList) GetMetadata ¶
func (m *InitializerConfigurationList) GetMetadata() *k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta
func (*InitializerConfigurationList) Marshal ¶
func (m *InitializerConfigurationList) Marshal() (dAtA []byte, err error)
func (*InitializerConfigurationList) MarshalTo ¶
func (m *InitializerConfigurationList) MarshalTo(dAtA []byte) (int, error)
func (*InitializerConfigurationList) ProtoMessage ¶
func (*InitializerConfigurationList) ProtoMessage()
func (*InitializerConfigurationList) Reset ¶
func (m *InitializerConfigurationList) Reset()
func (*InitializerConfigurationList) Size ¶
func (m *InitializerConfigurationList) Size() (n int)
func (*InitializerConfigurationList) String ¶
func (m *InitializerConfigurationList) String() string
func (*InitializerConfigurationList) Unmarshal ¶
func (m *InitializerConfigurationList) Unmarshal(dAtA []byte) error
type Rule ¶
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. ApiGroups []string `protobuf:"bytes,1,rep,name=apiGroups" json:"apiGroups,omitempty"` // APIVersions is the API versions the resources belong to. '*' is all versions. // If '*' is present, the length of the slice must be one. // Required. ApiVersions []string `protobuf:"bytes,2,rep,name=apiVersions" json:"apiVersions,omitempty"` // 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. Resources []string `protobuf:"bytes,3,rep,name=resources" json:"resources,omitempty"` XXX_unrecognized []byte `json:"-"` }
Rule is a tuple of APIGroups, APIVersion, and Resources.It is recommended to make sure that all the tuple expansions are valid.
func (*Rule) Descriptor ¶
func (*Rule) GetApiGroups ¶
func (*Rule) GetApiVersions ¶
func (*Rule) GetResources ¶
func (*Rule) ProtoMessage ¶
func (*Rule) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.