Documentation ¶
Overview ¶
Package v1beta1 contains API Schema definitions for the k8s-resourcequota-autoscaler v1beta1 API group +kubebuilder:object:generate=true +groupName=k8s-resourcequota-autoscaler.m21r.de
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "k8s-resourcequota-autoscaler.m21r.de", Version: "v1beta1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type ManagedResourceQuota ¶
type ManagedResourceQuota struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ManagedResourceQuotaSpec `json:"spec,omitempty"` Status ManagedResourceQuotaStatus `json:"status,omitempty"` }
ManagedResourceQuota is the Schema for the managedresourcequota API
func (*ManagedResourceQuota) DeepCopy ¶
func (in *ManagedResourceQuota) DeepCopy() *ManagedResourceQuota
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedResourceQuota.
func (*ManagedResourceQuota) DeepCopyInto ¶
func (in *ManagedResourceQuota) DeepCopyInto(out *ManagedResourceQuota)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ManagedResourceQuota) DeepCopyObject ¶
func (in *ManagedResourceQuota) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ManagedResourceQuotaList ¶
type ManagedResourceQuotaList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ManagedResourceQuota `json:"items"` }
ManagedResourceQuotaList contains a list of ManagedResourceQuota
func (*ManagedResourceQuotaList) DeepCopy ¶
func (in *ManagedResourceQuotaList) DeepCopy() *ManagedResourceQuotaList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedResourceQuotaList.
func (*ManagedResourceQuotaList) DeepCopyInto ¶
func (in *ManagedResourceQuotaList) DeepCopyInto(out *ManagedResourceQuotaList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ManagedResourceQuotaList) DeepCopyObject ¶
func (in *ManagedResourceQuotaList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ManagedResourceQuotaSpec ¶
type ManagedResourceQuotaSpec struct {
Template ResourceQuotaTemplateSpec `json:"template,omitempty"`
}
ManagedResourceQuotaSpec defines the desired state of ManagedResourceQuota
func (*ManagedResourceQuotaSpec) DeepCopy ¶
func (in *ManagedResourceQuotaSpec) DeepCopy() *ManagedResourceQuotaSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedResourceQuotaSpec.
func (*ManagedResourceQuotaSpec) DeepCopyInto ¶
func (in *ManagedResourceQuotaSpec) DeepCopyInto(out *ManagedResourceQuotaSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ManagedResourceQuotaStatus ¶
type ManagedResourceQuotaStatus struct { }
ManagedResourceQuotaStatus defines the observed state of ManagedResourceQuota
func (*ManagedResourceQuotaStatus) DeepCopy ¶
func (in *ManagedResourceQuotaStatus) DeepCopy() *ManagedResourceQuotaStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedResourceQuotaStatus.
func (*ManagedResourceQuotaStatus) DeepCopyInto ¶
func (in *ManagedResourceQuotaStatus) DeepCopyInto(out *ManagedResourceQuotaStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourceList ¶
type ResourceList map[corev1.ResourceName]string
func (ResourceList) DeepCopy ¶
func (in ResourceList) DeepCopy() ResourceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceList.
func (ResourceList) DeepCopyInto ¶
func (in ResourceList) DeepCopyInto(out *ResourceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourceQuotaTemplateSpec ¶
type ResourceQuotaTemplateSpec struct { // hard is the set of desired hard limits for each named resource. // More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/ // +optional Hard ResourceList `json:"hard,omitempty"` // A collection of filters that must match each object tracked by a quota. // If not specified, the quota matches all objects. // +optional Scopes []corev1.ResourceQuotaScope `json:"scopes,omitempty"` // scopeSelector is also a collection of filters like scopes that must match each object tracked by a quota // but expressed using ScopeSelectorOperator in combination with possible values. // For a resource to match, both scopes AND scopeSelector (if specified in spec), must be matched. // +optional ScopeSelector *corev1.ScopeSelector `json:"scopeSelector,omitempty"` }
func (*ResourceQuotaTemplateSpec) DeepCopy ¶
func (in *ResourceQuotaTemplateSpec) DeepCopy() *ResourceQuotaTemplateSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceQuotaTemplateSpec.
func (*ResourceQuotaTemplateSpec) DeepCopyInto ¶
func (in *ResourceQuotaTemplateSpec) DeepCopyInto(out *ResourceQuotaTemplateSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.