v1alpha1

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

+groupName=virtual.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: virtual.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 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

func (in *Circuit) DeepCopy() *Circuit

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

func (*Circuit) DeepCopyInto

func (in *Circuit) DeepCopyInto(out *Circuit)

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

func (*Circuit) DeepCopyObject

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

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

func (*Circuit) SetupWebhookWithManager

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

func (*Circuit) ValidateCreate

func (r *Circuit) ValidateCreate() error

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

func (*Circuit) ValidateDelete

func (r *Circuit) ValidateDelete() error

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

func (*Circuit) ValidateUpdate

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

ValidateUpdate 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.

Jump to

Keyboard shortcuts

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