v1alpha1

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 28, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

+groupName=port.equinixmetal.kubeform.com

Index

Constants

This section is empty.

Variables

View Source
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
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: port.GroupName, Version: "v1alpha1"}

Functions

func GetDecoder

func GetDecoder() map[string]jsoniter.ValDecoder

func GetEncoder

func GetEncoder() map[string]jsoniter.ValEncoder

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns a Group qualified GroupKind

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type VlanAttachment

type VlanAttachment struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              VlanAttachmentSpec   `json:"spec,omitempty"`
	Status            VlanAttachmentStatus `json:"status,omitempty"`
}

func (*VlanAttachment) DeepCopy

func (in *VlanAttachment) DeepCopy() *VlanAttachment

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VlanAttachment.

func (*VlanAttachment) DeepCopyInto

func (in *VlanAttachment) DeepCopyInto(out *VlanAttachment)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*VlanAttachment) DeepCopyObject

func (in *VlanAttachment) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*VlanAttachment) SetupWebhookWithManager

func (r *VlanAttachment) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*VlanAttachment) ValidateCreate

func (r *VlanAttachment) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*VlanAttachment) ValidateDelete

func (r *VlanAttachment) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*VlanAttachment) ValidateUpdate

func (r *VlanAttachment) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type VlanAttachmentList

type VlanAttachmentList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of VlanAttachment CRD objects
	Items []VlanAttachment `json:"items,omitempty"`
}

VlanAttachmentList is a list of VlanAttachments

func (*VlanAttachmentList) DeepCopy

func (in *VlanAttachmentList) DeepCopy() *VlanAttachmentList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VlanAttachmentList.

func (*VlanAttachmentList) DeepCopyInto

func (in *VlanAttachmentList) DeepCopyInto(out *VlanAttachmentList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*VlanAttachmentList) DeepCopyObject

func (in *VlanAttachmentList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type VlanAttachmentSpec

type VlanAttachmentSpec struct {
	State *VlanAttachmentSpecResource `json:"state,omitempty" tf:"-"`

	Resource VlanAttachmentSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`
}

func (*VlanAttachmentSpec) DeepCopy

func (in *VlanAttachmentSpec) DeepCopy() *VlanAttachmentSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VlanAttachmentSpec.

func (*VlanAttachmentSpec) DeepCopyInto

func (in *VlanAttachmentSpec) DeepCopyInto(out *VlanAttachmentSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VlanAttachmentSpecResource

type VlanAttachmentSpecResource struct {
	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// ID of device to be assigned to the VLAN
	DeviceID *string `json:"deviceID" tf:"device_id"`
	// Add port back to the bond when this resource is removed. Default is false
	// +optional
	ForceBond *bool `json:"forceBond,omitempty" tf:"force_bond"`
	// Mark this VLAN a native VLAN on the port. This can be used only if this assignment assigns second or further VLAN to the port. To ensure that this attachment is not first on a port, you can use depends_on pointing to another metal_port_vlan_attachment, just like in the layer2-individual example above
	// +optional
	Native *bool `json:"native,omitempty" tf:"native"`
	// UUID of device port
	// +optional
	PortID *string `json:"portID,omitempty" tf:"port_id"`
	// Name of network port to be assigned to the VLAN
	PortName *string `json:"portName" tf:"port_name"`
	// UUID of VLAN API resource
	// +optional
	VlanID *string `json:"vlanID,omitempty" tf:"vlan_id"`
	// VXLAN Network Identifier, integer
	VlanVnid *int64 `json:"vlanVnid" tf:"vlan_vnid"`
}

func (*VlanAttachmentSpecResource) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VlanAttachmentSpecResource.

func (*VlanAttachmentSpecResource) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VlanAttachmentStatus

type VlanAttachmentStatus 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 (*VlanAttachmentStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VlanAttachmentStatus.

func (*VlanAttachmentStatus) DeepCopyInto

func (in *VlanAttachmentStatus) DeepCopyInto(out *VlanAttachmentStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL