Documentation
¶
Overview ¶
Package v2 contains API Schema definitions for the conversion-webhook v2 API group +kubebuilder:object:generate=true +groupName=conversion-webhook.example.zqzten.io
Index ¶
- Variables
- type NetworkAddress
- func (dst *NetworkAddress) ConvertFrom(srcRaw conversion.Hub) error
- func (src *NetworkAddress) ConvertTo(dstRaw conversion.Hub) error
- func (in *NetworkAddress) DeepCopy() *NetworkAddress
- func (in *NetworkAddress) DeepCopyInto(out *NetworkAddress)
- func (in *NetworkAddress) DeepCopyObject() runtime.Object
- type NetworkAddressList
- type NetworkAddressSpec
- type NetworkAddressStatus
Constants ¶
This section is empty.
Variables ¶
var (
// GroupVersion is group version used to register these objects
GroupVersion = schema.GroupVersion{Group: "conversion-webhook.example.zqzten.io", Version: "v2"}
// 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 NetworkAddress ¶
type NetworkAddress struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec NetworkAddressSpec `json:"spec,omitempty"`
Status NetworkAddressStatus `json:"status,omitempty"`
}
NetworkAddress is the Schema for the networkaddresses API
func (*NetworkAddress) ConvertFrom ¶
func (dst *NetworkAddress) ConvertFrom(srcRaw conversion.Hub) error
func (*NetworkAddress) ConvertTo ¶
func (src *NetworkAddress) ConvertTo(dstRaw conversion.Hub) error
func (*NetworkAddress) DeepCopy ¶
func (in *NetworkAddress) DeepCopy() *NetworkAddress
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkAddress.
func (*NetworkAddress) DeepCopyInto ¶
func (in *NetworkAddress) DeepCopyInto(out *NetworkAddress)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NetworkAddress) DeepCopyObject ¶
func (in *NetworkAddress) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NetworkAddressList ¶
type NetworkAddressList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []NetworkAddress `json:"items"`
}
NetworkAddressList contains a list of NetworkAddress
func (*NetworkAddressList) DeepCopy ¶
func (in *NetworkAddressList) DeepCopy() *NetworkAddressList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkAddressList.
func (*NetworkAddressList) DeepCopyInto ¶
func (in *NetworkAddressList) DeepCopyInto(out *NetworkAddressList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NetworkAddressList) DeepCopyObject ¶
func (in *NetworkAddressList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NetworkAddressSpec ¶
type NetworkAddressSpec struct {
//+kubebuilder:validation:Required
Address string `json:"address"`
//+kubebuilder:validation:Required
HostType string `json:"hostType"`
Note string `json:"note,omitempty"`
}
NetworkAddressSpec defines the desired state of NetworkAddress
func (*NetworkAddressSpec) DeepCopy ¶
func (in *NetworkAddressSpec) DeepCopy() *NetworkAddressSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkAddressSpec.
func (*NetworkAddressSpec) DeepCopyInto ¶
func (in *NetworkAddressSpec) DeepCopyInto(out *NetworkAddressSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkAddressStatus ¶
type NetworkAddressStatus struct {
}
NetworkAddressStatus defines the observed state of NetworkAddress
func (*NetworkAddressStatus) DeepCopy ¶
func (in *NetworkAddressStatus) DeepCopy() *NetworkAddressStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkAddressStatus.
func (*NetworkAddressStatus) DeepCopyInto ¶
func (in *NetworkAddressStatus) DeepCopyInto(out *NetworkAddressStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.