Documentation ¶
Overview ¶
+groupName=vlan.equinixmetal.kubeform.com
Index ¶
- Variables
- func GetDecoder() map[string]jsoniter.ValDecoder
- func GetEncoder() map[string]jsoniter.ValEncoder
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type Vlan
- func (in *Vlan) DeepCopy() *Vlan
- func (in *Vlan) DeepCopyInto(out *Vlan)
- func (in *Vlan) DeepCopyObject() runtime.Object
- func (r *Vlan) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *Vlan) ValidateCreate() error
- func (r *Vlan) ValidateDelete() error
- func (r *Vlan) ValidateUpdate(old runtime.Object) error
- type VlanList
- type VlanSpec
- type VlanSpecResource
- type VlanStatus
Constants ¶
This section is empty.
Variables ¶
var ( // TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api. // localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes. SchemeBuilder runtime.SchemeBuilder AddToScheme = localSchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: vlan.GroupName, Version: "v1alpha1"}
Functions ¶
func GetDecoder ¶
func GetDecoder() map[string]jsoniter.ValDecoder
func GetEncoder ¶
func GetEncoder() map[string]jsoniter.ValEncoder
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type Vlan ¶
type Vlan struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec VlanSpec `json:"spec,omitempty"` Status VlanStatus `json:"status,omitempty"` }
func (*Vlan) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Vlan.
func (*Vlan) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Vlan) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Vlan) SetupWebhookWithManager ¶
func (*Vlan) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Vlan) ValidateDelete ¶
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
type VlanList ¶
type VlanList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of Vlan CRD objects Items []Vlan `json:"items,omitempty"` }
VlanList is a list of Vlans
func (*VlanList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VlanList.
func (*VlanList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VlanList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VlanSpec ¶
type VlanSpec struct { State *VlanSpecResource `json:"state,omitempty" tf:"-"` Resource VlanSpecResource `json:"resource" tf:"resource"` UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"` TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"` ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"` BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"` }
func (*VlanSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VlanSpec.
func (*VlanSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VlanSpecResource ¶
type VlanSpecResource struct { ID string `json:"id,omitempty" tf:"id,omitempty"` // Description string // +optional Description *string `json:"description,omitempty" tf:"description"` // Facility where to create the VLAN // +optional Facility *string `json:"facility,omitempty" tf:"facility"` // +optional Metro *string `json:"metro,omitempty" tf:"metro"` // ID of parent project ProjectID *string `json:"projectID" tf:"project_id"` // VLAN ID, must be unique in metro // +optional Vxlan *int64 `json:"vxlan,omitempty" tf:"vxlan"` }
func (*VlanSpecResource) DeepCopy ¶
func (in *VlanSpecResource) DeepCopy() *VlanSpecResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VlanSpecResource.
func (*VlanSpecResource) DeepCopyInto ¶
func (in *VlanSpecResource) DeepCopyInto(out *VlanSpecResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VlanStatus ¶
type VlanStatus struct { // Resource generation, which is updated on mutation by the API Server. // +optional ObservedGeneration int64 `json:"observedGeneration,omitempty"` // +optional Phase status.Status `json:"phase,omitempty"` // +optional Conditions []kmapi.Condition `json:"conditions,omitempty"` }
func (*VlanStatus) DeepCopy ¶
func (in *VlanStatus) DeepCopy() *VlanStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VlanStatus.
func (*VlanStatus) DeepCopyInto ¶
func (in *VlanStatus) DeepCopyInto(out *VlanStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.