Documentation
¶
Overview ¶
+groupName=virtual.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 Circuit
- func (in *Circuit) DeepCopy() *Circuit
- func (in *Circuit) DeepCopyInto(out *Circuit)
- func (in *Circuit) DeepCopyObject() runtime.Object
- func (r *Circuit) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *Circuit) ValidateCreate() error
- func (r *Circuit) ValidateDelete() error
- func (r *Circuit) ValidateUpdate(old runtime.Object) error
- type CircuitList
- type CircuitSpec
- type CircuitSpecResource
- type CircuitStatus
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: virtual.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 Circuit ¶
type Circuit struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec CircuitSpec `json:"spec,omitempty"` Status CircuitStatus `json:"status,omitempty"` }
func (*Circuit) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Circuit.
func (*Circuit) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Circuit) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Circuit) SetupWebhookWithManager ¶
func (*Circuit) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Circuit) ValidateDelete ¶
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
type CircuitList ¶
type CircuitList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of Circuit CRD objects Items []Circuit `json:"items,omitempty"` }
CircuitList is a list of Circuits
func (*CircuitList) DeepCopy ¶
func (in *CircuitList) DeepCopy() *CircuitList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CircuitList.
func (*CircuitList) DeepCopyInto ¶
func (in *CircuitList) DeepCopyInto(out *CircuitList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CircuitList) DeepCopyObject ¶
func (in *CircuitList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CircuitSpec ¶
type CircuitSpec struct { State *CircuitSpecResource `json:"state,omitempty" tf:"-"` Resource CircuitSpecResource `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 (*CircuitSpec) DeepCopy ¶
func (in *CircuitSpec) DeepCopy() *CircuitSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CircuitSpec.
func (*CircuitSpec) DeepCopyInto ¶
func (in *CircuitSpec) DeepCopyInto(out *CircuitSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CircuitSpecResource ¶
type CircuitSpecResource struct { ID string `json:"id,omitempty" tf:"id,omitempty"` // UUID of Connection where the VC is scoped to ConnectionID *string `json:"connectionID" tf:"connection_id"` // Description of the Virtual Circuit resource // +optional Description *string `json:"description,omitempty" tf:"description"` // Name of the Virtual Circuit resource // +optional Name *string `json:"name,omitempty" tf:"name"` // Equinix Metal network-to-network VLAN ID (optional when the connection has mode=tunnel) // +optional NniVLAN *int64 `json:"nniVLAN,omitempty" tf:"nni_vlan"` // Nni VLAN ID parameter, see https://metal.equinix.com/developers/docs/networking/fabric/ // +optional NniVnid *int64 `json:"nniVnid,omitempty" tf:"nni_vnid"` // UUID of the Connection Port where the VC is scoped to PortID *string `json:"portID" tf:"port_id"` // UUID of the Project where the VC is scoped to ProjectID *string `json:"projectID" tf:"project_id"` // Description of the Virtual Circuit speed. This is for information purposes and is computed when the connection type is shared. // +optional Speed *string `json:"speed,omitempty" tf:"speed"` // Status of the virtual circuit resource // +optional Status *string `json:"status,omitempty" tf:"status"` // Tags attached to the virtual circuit // +optional Tags []string `json:"tags,omitempty" tf:"tags"` // UUID of the VLAN to associate VlanID *string `json:"vlanID" tf:"vlan_id"` // VNID VLAN parameter, see https://metal.equinix.com/developers/docs/networking/fabric/ // +optional Vnid *int64 `json:"vnid,omitempty" tf:"vnid"` }
func (*CircuitSpecResource) DeepCopy ¶
func (in *CircuitSpecResource) DeepCopy() *CircuitSpecResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CircuitSpecResource.
func (*CircuitSpecResource) DeepCopyInto ¶
func (in *CircuitSpecResource) DeepCopyInto(out *CircuitSpecResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CircuitStatus ¶
type CircuitStatus 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 (*CircuitStatus) DeepCopy ¶
func (in *CircuitStatus) DeepCopy() *CircuitStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CircuitStatus.
func (*CircuitStatus) DeepCopyInto ¶
func (in *CircuitStatus) DeepCopyInto(out *CircuitStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.