Documentation ¶
Index ¶
- Variables
- type CustomItems
- type CustomLimitRange
- func (in *CustomLimitRange) DeepCopy() *CustomLimitRange
- func (in *CustomLimitRange) DeepCopyInto(out *CustomLimitRange)
- func (in *CustomLimitRange) DeepCopyObject() runtime.Object
- func (r *CustomLimitRange) Default()
- func (r *CustomLimitRange) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *CustomLimitRange) ValidateCreate() error
- func (r *CustomLimitRange) ValidateDelete() error
- func (r *CustomLimitRange) ValidateUpdate(old runtime.Object) error
- type CustomLimitRangeList
- type CustomLimitRangeSpec
- type CustomLimitRangeStatus
- type LimitRange
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "custom.cmss.com", Version: "v1"} // 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 CustomItems ¶
type CustomItems struct { Ingress resource.Quantity `json:"ingress-bandwidth,omitempty"` Egress resource.Quantity `json:"egress-bandwidth,omitempty"` }
func (*CustomItems) DeepCopy ¶
func (in *CustomItems) DeepCopy() *CustomItems
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomItems.
func (*CustomItems) DeepCopyInto ¶
func (in *CustomItems) DeepCopyInto(out *CustomItems)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CustomLimitRange ¶
type CustomLimitRange struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec CustomLimitRangeSpec `json:"spec"` Status CustomLimitRangeStatus `json:"status,omitempty"` }
CustomLimitRange is the Schema for the customlimitranges API
func (*CustomLimitRange) DeepCopy ¶
func (in *CustomLimitRange) DeepCopy() *CustomLimitRange
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomLimitRange.
func (*CustomLimitRange) DeepCopyInto ¶
func (in *CustomLimitRange) DeepCopyInto(out *CustomLimitRange)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CustomLimitRange) DeepCopyObject ¶
func (in *CustomLimitRange) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*CustomLimitRange) Default ¶
func (r *CustomLimitRange) Default()
Default implements webhook.Defaulter so a webhook will be registered for the type
func (*CustomLimitRange) SetupWebhookWithManager ¶
func (r *CustomLimitRange) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*CustomLimitRange) ValidateCreate ¶
func (r *CustomLimitRange) ValidateCreate() error
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*CustomLimitRange) ValidateDelete ¶
func (r *CustomLimitRange) ValidateDelete() error
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*CustomLimitRange) ValidateUpdate ¶
func (r *CustomLimitRange) ValidateUpdate(old runtime.Object) error
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type CustomLimitRangeList ¶
type CustomLimitRangeList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []CustomLimitRange `json:"items"` }
CustomLimitRangeList contains a list of CustomLimitRange
func (*CustomLimitRangeList) DeepCopy ¶
func (in *CustomLimitRangeList) DeepCopy() *CustomLimitRangeList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomLimitRangeList.
func (*CustomLimitRangeList) DeepCopyInto ¶
func (in *CustomLimitRangeList) DeepCopyInto(out *CustomLimitRangeList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CustomLimitRangeList) DeepCopyObject ¶
func (in *CustomLimitRangeList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CustomLimitRangeSpec ¶
type CustomLimitRangeSpec struct {
LRange LimitRange `json:"limitrange"`
}
CustomLimitRangeSpec defines the desired state of CustomLimitRange
func (*CustomLimitRangeSpec) DeepCopy ¶
func (in *CustomLimitRangeSpec) DeepCopy() *CustomLimitRangeSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomLimitRangeSpec.
func (*CustomLimitRangeSpec) DeepCopyInto ¶
func (in *CustomLimitRangeSpec) DeepCopyInto(out *CustomLimitRangeSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CustomLimitRangeStatus ¶
type CustomLimitRangeStatus struct { }
CustomLimitRangeStatus defines the observed state of CustomLimitRange
func (*CustomLimitRangeStatus) DeepCopy ¶
func (in *CustomLimitRangeStatus) DeepCopy() *CustomLimitRangeStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomLimitRangeStatus.
func (*CustomLimitRangeStatus) DeepCopyInto ¶
func (in *CustomLimitRangeStatus) DeepCopyInto(out *CustomLimitRangeStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LimitRange ¶
type LimitRange struct { Type string `json:"type"` Max CustomItems `json:"max,omitempty"` Min CustomItems `json:"min,omitempty"` Default CustomItems `json:"default,omitempty"` }
func (*LimitRange) DeepCopy ¶
func (in *LimitRange) DeepCopy() *LimitRange
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LimitRange.
func (*LimitRange) DeepCopyInto ¶
func (in *LimitRange) DeepCopyInto(out *LimitRange)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.