Documentation ¶
Overview ¶
Package v1 contains API Schema definitions for the app v1 API group +kubebuilder:object:generate=true +groupName=app.metallb.com
Index ¶
- Variables
- type AddressPool
- func (in *AddressPool) DeepCopy() *AddressPool
- func (in *AddressPool) DeepCopyInto(out *AddressPool)
- func (in *AddressPool) DeepCopyObject() runtime.Object
- func (r *AddressPool) Default()
- func (r *AddressPool) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *AddressPool) ValidateCreate() error
- func (r *AddressPool) ValidateDelete() error
- func (r *AddressPool) ValidateUpdate(old runtime.Object) error
- type AddressPoolList
- type AddressPoolSpec
- type AddressPoolStatus
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "app.metallb.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 AddressPool ¶
type AddressPool struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec AddressPoolSpec `json:"spec,omitempty"` Status AddressPoolStatus `json:"status,omitempty"` }
AddressPool is the Schema for the addresspools API
func (*AddressPool) DeepCopy ¶
func (in *AddressPool) DeepCopy() *AddressPool
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AddressPool.
func (*AddressPool) DeepCopyInto ¶
func (in *AddressPool) DeepCopyInto(out *AddressPool)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AddressPool) DeepCopyObject ¶
func (in *AddressPool) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*AddressPool) Default ¶
func (r *AddressPool) Default()
Default implements webhook.Defaulter so a webhook will be registered for the type
func (*AddressPool) SetupWebhookWithManager ¶
func (r *AddressPool) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*AddressPool) ValidateCreate ¶
func (r *AddressPool) ValidateCreate() error
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*AddressPool) ValidateDelete ¶
func (r *AddressPool) ValidateDelete() error
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*AddressPool) ValidateUpdate ¶
func (r *AddressPool) ValidateUpdate(old runtime.Object) error
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type AddressPoolList ¶
type AddressPoolList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []AddressPool `json:"items"` }
AddressPoolList contains a list of AddressPool
func (*AddressPoolList) DeepCopy ¶
func (in *AddressPoolList) DeepCopy() *AddressPoolList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AddressPoolList.
func (*AddressPoolList) DeepCopyInto ¶
func (in *AddressPoolList) DeepCopyInto(out *AddressPoolList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AddressPoolList) DeepCopyObject ¶
func (in *AddressPoolList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AddressPoolSpec ¶
type AddressPoolSpec struct { Protocol string `json:"protocol"` Addresses []string `json:"addresses"` }
AddressPoolSpec defines the desired state of AddressPool
func (*AddressPoolSpec) DeepCopy ¶
func (in *AddressPoolSpec) DeepCopy() *AddressPoolSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AddressPoolSpec.
func (*AddressPoolSpec) DeepCopyInto ¶
func (in *AddressPoolSpec) DeepCopyInto(out *AddressPoolSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AddressPoolStatus ¶
type AddressPoolStatus struct { }
AddressPoolStatus defines the observed state of AddressPool
func (*AddressPoolStatus) DeepCopy ¶
func (in *AddressPoolStatus) DeepCopy() *AddressPoolStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AddressPoolStatus.
func (*AddressPoolStatus) DeepCopyInto ¶
func (in *AddressPoolStatus) DeepCopyInto(out *AddressPoolStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.