Documentation
¶
Overview ¶
+groupName=quota.kubezoo.io +k8s:openapi-gen=true +k8s:deepcopy-gen=package +k8s:defaulter-gen=TypeMeta
Index ¶
- Constants
- Variables
- func RegisterDefaults(scheme *runtime.Scheme) error
- func Resource(resource string) schema.GroupResource
- func SetDefaults_ClusterResourceQuota(obj *ClusterResourceQuota)
- func SetObjectDefaults_ClusterResourceQuota(in *ClusterResourceQuota)
- func SetObjectDefaults_ClusterResourceQuotaList(in *ClusterResourceQuotaList)
- type ClusterResourceQuota
- func (in *ClusterResourceQuota) DeepCopy() *ClusterResourceQuota
- func (in *ClusterResourceQuota) DeepCopyInto(out *ClusterResourceQuota)
- func (in *ClusterResourceQuota) DeepCopyObject() runtime.Object
- func (*ClusterResourceQuota) Descriptor() ([]byte, []int)
- func (*ClusterResourceQuota) Hub()
- func (m *ClusterResourceQuota) Marshal() (dAtA []byte, err error)
- func (m *ClusterResourceQuota) MarshalTo(dAtA []byte) (int, error)
- func (m *ClusterResourceQuota) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ClusterResourceQuota) ProtoMessage()
- func (m *ClusterResourceQuota) Reset()
- func (m *ClusterResourceQuota) Size() (n int)
- func (this *ClusterResourceQuota) String() string
- func (m *ClusterResourceQuota) Unmarshal(dAtA []byte) error
- func (m *ClusterResourceQuota) XXX_DiscardUnknown()
- func (m *ClusterResourceQuota) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ClusterResourceQuota) XXX_Merge(src proto.Message)
- func (m *ClusterResourceQuota) XXX_Size() int
- func (m *ClusterResourceQuota) XXX_Unmarshal(b []byte) error
- type ClusterResourceQuotaList
- func (in *ClusterResourceQuotaList) DeepCopy() *ClusterResourceQuotaList
- func (in *ClusterResourceQuotaList) DeepCopyInto(out *ClusterResourceQuotaList)
- func (in *ClusterResourceQuotaList) DeepCopyObject() runtime.Object
- func (*ClusterResourceQuotaList) Descriptor() ([]byte, []int)
- func (m *ClusterResourceQuotaList) Marshal() (dAtA []byte, err error)
- func (m *ClusterResourceQuotaList) MarshalTo(dAtA []byte) (int, error)
- func (m *ClusterResourceQuotaList) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ClusterResourceQuotaList) ProtoMessage()
- func (m *ClusterResourceQuotaList) Reset()
- func (m *ClusterResourceQuotaList) Size() (n int)
- func (this *ClusterResourceQuotaList) String() string
- func (m *ClusterResourceQuotaList) Unmarshal(dAtA []byte) error
- func (m *ClusterResourceQuotaList) XXX_DiscardUnknown()
- func (m *ClusterResourceQuotaList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ClusterResourceQuotaList) XXX_Merge(src proto.Message)
- func (m *ClusterResourceQuotaList) XXX_Size() int
- func (m *ClusterResourceQuotaList) XXX_Unmarshal(b []byte) error
- type ClusterResourceQuotaSpec
- func (in *ClusterResourceQuotaSpec) DeepCopy() *ClusterResourceQuotaSpec
- func (in *ClusterResourceQuotaSpec) DeepCopyInto(out *ClusterResourceQuotaSpec)
- func (*ClusterResourceQuotaSpec) Descriptor() ([]byte, []int)
- func (m *ClusterResourceQuotaSpec) Marshal() (dAtA []byte, err error)
- func (m *ClusterResourceQuotaSpec) MarshalTo(dAtA []byte) (int, error)
- func (m *ClusterResourceQuotaSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ClusterResourceQuotaSpec) ProtoMessage()
- func (m *ClusterResourceQuotaSpec) Reset()
- func (m *ClusterResourceQuotaSpec) Size() (n int)
- func (this *ClusterResourceQuotaSpec) String() string
- func (m *ClusterResourceQuotaSpec) Unmarshal(dAtA []byte) error
- func (m *ClusterResourceQuotaSpec) XXX_DiscardUnknown()
- func (m *ClusterResourceQuotaSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ClusterResourceQuotaSpec) XXX_Merge(src proto.Message)
- func (m *ClusterResourceQuotaSpec) XXX_Size() int
- func (m *ClusterResourceQuotaSpec) XXX_Unmarshal(b []byte) error
- type ClusterResourceQuotaStatus
- func (in *ClusterResourceQuotaStatus) DeepCopy() *ClusterResourceQuotaStatus
- func (in *ClusterResourceQuotaStatus) DeepCopyInto(out *ClusterResourceQuotaStatus)
- func (*ClusterResourceQuotaStatus) Descriptor() ([]byte, []int)
- func (m *ClusterResourceQuotaStatus) Marshal() (dAtA []byte, err error)
- func (m *ClusterResourceQuotaStatus) MarshalTo(dAtA []byte) (int, error)
- func (m *ClusterResourceQuotaStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ClusterResourceQuotaStatus) ProtoMessage()
- func (m *ClusterResourceQuotaStatus) Reset()
- func (m *ClusterResourceQuotaStatus) Size() (n int)
- func (this *ClusterResourceQuotaStatus) String() string
- func (m *ClusterResourceQuotaStatus) Unmarshal(dAtA []byte) error
- func (m *ClusterResourceQuotaStatus) XXX_DiscardUnknown()
- func (m *ClusterResourceQuotaStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ClusterResourceQuotaStatus) XXX_Merge(src proto.Message)
- func (m *ClusterResourceQuotaStatus) XXX_Size() int
- func (m *ClusterResourceQuotaStatus) XXX_Unmarshal(b []byte) error
Constants ¶
const (
ClusterResourceQuotaCreatedby = "clusterresourcequota.quota.kubezoo.io/createdby"
)
const GroupName = "quota.kubezoo.io"
GroupName specifies the group name used to register the objects.
Variables ¶
var ( ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenerated = fmt.Errorf("proto: unexpected end of group") )
var ( // localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes. SchemeBuilder runtime.SchemeBuilder // Depreciated: use Install instead AddToScheme = localSchemeBuilder.AddToScheme Install = localSchemeBuilder.AddToScheme )
var GroupVersion = v1.GroupVersion{Group: GroupName, Version: "v1alpha1"}
GroupVersion specifies the group and the version used to register the objects.
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1"}
SchemeGroupVersion is group version used to register these objects Deprecated: use GroupVersion instead.
Functions ¶
func RegisterDefaults ¶
RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
func SetDefaults_ClusterResourceQuota ¶
func SetDefaults_ClusterResourceQuota(obj *ClusterResourceQuota)
SetDefaults_ClusterResourceQuota set additional defaults compared to its counterpart nolint:golint
func SetObjectDefaults_ClusterResourceQuota ¶
func SetObjectDefaults_ClusterResourceQuota(in *ClusterResourceQuota)
func SetObjectDefaults_ClusterResourceQuotaList ¶
func SetObjectDefaults_ClusterResourceQuotaList(in *ClusterResourceQuotaList)
Types ¶
type ClusterResourceQuota ¶
type ClusterResourceQuota struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Spec ClusterResourceQuotaSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` Status ClusterResourceQuotaStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"` }
ClusterResourceQuota is the Schema for the clusterresourcequota API
func (*ClusterResourceQuota) DeepCopy ¶
func (in *ClusterResourceQuota) DeepCopy() *ClusterResourceQuota
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterResourceQuota.
func (*ClusterResourceQuota) DeepCopyInto ¶
func (in *ClusterResourceQuota) DeepCopyInto(out *ClusterResourceQuota)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterResourceQuota) DeepCopyObject ¶
func (in *ClusterResourceQuota) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ClusterResourceQuota) Descriptor ¶
func (*ClusterResourceQuota) Descriptor() ([]byte, []int)
func (*ClusterResourceQuota) Hub ¶
func (*ClusterResourceQuota) Hub()
Hub marks this type as a conversion hub
func (*ClusterResourceQuota) Marshal ¶
func (m *ClusterResourceQuota) Marshal() (dAtA []byte, err error)
func (*ClusterResourceQuota) MarshalTo ¶
func (m *ClusterResourceQuota) MarshalTo(dAtA []byte) (int, error)
func (*ClusterResourceQuota) MarshalToSizedBuffer ¶
func (m *ClusterResourceQuota) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ClusterResourceQuota) ProtoMessage ¶
func (*ClusterResourceQuota) ProtoMessage()
func (*ClusterResourceQuota) Reset ¶
func (m *ClusterResourceQuota) Reset()
func (*ClusterResourceQuota) Size ¶
func (m *ClusterResourceQuota) Size() (n int)
func (*ClusterResourceQuota) String ¶
func (this *ClusterResourceQuota) String() string
func (*ClusterResourceQuota) Unmarshal ¶
func (m *ClusterResourceQuota) Unmarshal(dAtA []byte) error
func (*ClusterResourceQuota) XXX_DiscardUnknown ¶
func (m *ClusterResourceQuota) XXX_DiscardUnknown()
func (*ClusterResourceQuota) XXX_Marshal ¶
func (m *ClusterResourceQuota) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ClusterResourceQuota) XXX_Merge ¶
func (m *ClusterResourceQuota) XXX_Merge(src proto.Message)
func (*ClusterResourceQuota) XXX_Size ¶
func (m *ClusterResourceQuota) XXX_Size() int
func (*ClusterResourceQuota) XXX_Unmarshal ¶
func (m *ClusterResourceQuota) XXX_Unmarshal(b []byte) error
type ClusterResourceQuotaList ¶
type ClusterResourceQuotaList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Items []ClusterResourceQuota `json:"items" protobuf:"bytes,2,rep,name=items"` }
ClusterResourceQuotaList contains a list of ClusterResourceQuota
func (*ClusterResourceQuotaList) DeepCopy ¶
func (in *ClusterResourceQuotaList) DeepCopy() *ClusterResourceQuotaList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterResourceQuotaList.
func (*ClusterResourceQuotaList) DeepCopyInto ¶
func (in *ClusterResourceQuotaList) DeepCopyInto(out *ClusterResourceQuotaList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterResourceQuotaList) DeepCopyObject ¶
func (in *ClusterResourceQuotaList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ClusterResourceQuotaList) Descriptor ¶
func (*ClusterResourceQuotaList) Descriptor() ([]byte, []int)
func (*ClusterResourceQuotaList) Marshal ¶
func (m *ClusterResourceQuotaList) Marshal() (dAtA []byte, err error)
func (*ClusterResourceQuotaList) MarshalTo ¶
func (m *ClusterResourceQuotaList) MarshalTo(dAtA []byte) (int, error)
func (*ClusterResourceQuotaList) MarshalToSizedBuffer ¶
func (m *ClusterResourceQuotaList) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ClusterResourceQuotaList) ProtoMessage ¶
func (*ClusterResourceQuotaList) ProtoMessage()
func (*ClusterResourceQuotaList) Reset ¶
func (m *ClusterResourceQuotaList) Reset()
func (*ClusterResourceQuotaList) Size ¶
func (m *ClusterResourceQuotaList) Size() (n int)
func (*ClusterResourceQuotaList) String ¶
func (this *ClusterResourceQuotaList) String() string
func (*ClusterResourceQuotaList) Unmarshal ¶
func (m *ClusterResourceQuotaList) Unmarshal(dAtA []byte) error
func (*ClusterResourceQuotaList) XXX_DiscardUnknown ¶
func (m *ClusterResourceQuotaList) XXX_DiscardUnknown()
func (*ClusterResourceQuotaList) XXX_Marshal ¶
func (m *ClusterResourceQuotaList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ClusterResourceQuotaList) XXX_Merge ¶
func (m *ClusterResourceQuotaList) XXX_Merge(src proto.Message)
func (*ClusterResourceQuotaList) XXX_Size ¶
func (m *ClusterResourceQuotaList) XXX_Size() int
func (*ClusterResourceQuotaList) XXX_Unmarshal ¶
func (m *ClusterResourceQuotaList) XXX_Unmarshal(b []byte) error
type ClusterResourceQuotaSpec ¶
type ClusterResourceQuotaSpec struct { corev1.ResourceQuotaSpec `json:",inline" protobuf:"bytes,1,opt,name=resourceQuotaSpec"` // A label query over a set of resources, in this case namespaces. // +optional NamepsaceSelector *metav1.LabelSelector `json:"namespaceSelector,omitempty" protobuf:"bytes,2,opt,name=namespaceSelector"` // namespaces specifies which namespaces the cluster resource quota applies to. // +optional Namespaces []string `json:"namespaces,omitempty" protobuf:"bytes,3,rep,name=namespaces"` }
ClusterResourceQuotaSpec defines the desired state of ClusterResourceQuota
func (*ClusterResourceQuotaSpec) DeepCopy ¶
func (in *ClusterResourceQuotaSpec) DeepCopy() *ClusterResourceQuotaSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterResourceQuotaSpec.
func (*ClusterResourceQuotaSpec) DeepCopyInto ¶
func (in *ClusterResourceQuotaSpec) DeepCopyInto(out *ClusterResourceQuotaSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterResourceQuotaSpec) Descriptor ¶
func (*ClusterResourceQuotaSpec) Descriptor() ([]byte, []int)
func (*ClusterResourceQuotaSpec) Marshal ¶
func (m *ClusterResourceQuotaSpec) Marshal() (dAtA []byte, err error)
func (*ClusterResourceQuotaSpec) MarshalTo ¶
func (m *ClusterResourceQuotaSpec) MarshalTo(dAtA []byte) (int, error)
func (*ClusterResourceQuotaSpec) MarshalToSizedBuffer ¶
func (m *ClusterResourceQuotaSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ClusterResourceQuotaSpec) ProtoMessage ¶
func (*ClusterResourceQuotaSpec) ProtoMessage()
func (*ClusterResourceQuotaSpec) Reset ¶
func (m *ClusterResourceQuotaSpec) Reset()
func (*ClusterResourceQuotaSpec) Size ¶
func (m *ClusterResourceQuotaSpec) Size() (n int)
func (*ClusterResourceQuotaSpec) String ¶
func (this *ClusterResourceQuotaSpec) String() string
func (*ClusterResourceQuotaSpec) Unmarshal ¶
func (m *ClusterResourceQuotaSpec) Unmarshal(dAtA []byte) error
func (*ClusterResourceQuotaSpec) XXX_DiscardUnknown ¶
func (m *ClusterResourceQuotaSpec) XXX_DiscardUnknown()
func (*ClusterResourceQuotaSpec) XXX_Marshal ¶
func (m *ClusterResourceQuotaSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ClusterResourceQuotaSpec) XXX_Merge ¶
func (m *ClusterResourceQuotaSpec) XXX_Merge(src proto.Message)
func (*ClusterResourceQuotaSpec) XXX_Size ¶
func (m *ClusterResourceQuotaSpec) XXX_Size() int
func (*ClusterResourceQuotaSpec) XXX_Unmarshal ¶
func (m *ClusterResourceQuotaSpec) XXX_Unmarshal(b []byte) error
type ClusterResourceQuotaStatus ¶
type ClusterResourceQuotaStatus struct {
corev1.ResourceQuotaStatus `json:",inline" protobuf:"bytes,1,opt,name=resourceQuotaStatus"`
}
ClusterResourceQuotaStatus defines the observed state of ClusterResourceQuota
func (*ClusterResourceQuotaStatus) DeepCopy ¶
func (in *ClusterResourceQuotaStatus) DeepCopy() *ClusterResourceQuotaStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterResourceQuotaStatus.
func (*ClusterResourceQuotaStatus) DeepCopyInto ¶
func (in *ClusterResourceQuotaStatus) DeepCopyInto(out *ClusterResourceQuotaStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterResourceQuotaStatus) Descriptor ¶
func (*ClusterResourceQuotaStatus) Descriptor() ([]byte, []int)
func (*ClusterResourceQuotaStatus) Marshal ¶
func (m *ClusterResourceQuotaStatus) Marshal() (dAtA []byte, err error)
func (*ClusterResourceQuotaStatus) MarshalTo ¶
func (m *ClusterResourceQuotaStatus) MarshalTo(dAtA []byte) (int, error)
func (*ClusterResourceQuotaStatus) MarshalToSizedBuffer ¶
func (m *ClusterResourceQuotaStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ClusterResourceQuotaStatus) ProtoMessage ¶
func (*ClusterResourceQuotaStatus) ProtoMessage()
func (*ClusterResourceQuotaStatus) Reset ¶
func (m *ClusterResourceQuotaStatus) Reset()
func (*ClusterResourceQuotaStatus) Size ¶
func (m *ClusterResourceQuotaStatus) Size() (n int)
func (*ClusterResourceQuotaStatus) String ¶
func (this *ClusterResourceQuotaStatus) String() string
func (*ClusterResourceQuotaStatus) Unmarshal ¶
func (m *ClusterResourceQuotaStatus) Unmarshal(dAtA []byte) error
func (*ClusterResourceQuotaStatus) XXX_DiscardUnknown ¶
func (m *ClusterResourceQuotaStatus) XXX_DiscardUnknown()
func (*ClusterResourceQuotaStatus) XXX_Marshal ¶
func (m *ClusterResourceQuotaStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ClusterResourceQuotaStatus) XXX_Merge ¶
func (m *ClusterResourceQuotaStatus) XXX_Merge(src proto.Message)
func (*ClusterResourceQuotaStatus) XXX_Size ¶
func (m *ClusterResourceQuotaStatus) XXX_Size() int
func (*ClusterResourceQuotaStatus) XXX_Unmarshal ¶
func (m *ClusterResourceQuotaStatus) XXX_Unmarshal(b []byte) error