v1alpha1

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package v1alpha1 contains vlan Equinix Metal resources. +kubebuilder:object:generate=true +groupName=vlan.metal.equinix.com +versionName=v1alpha1

Index

Constants

View Source
const (
	Group   = "vlan.metal.equinix.com"
	Version = "v1alpha1"
)

Equinix Metal type metadata.

Variables

View Source
var (
	// SchemeGroupVersion is group version used to register these objects
	SchemeGroupVersion = schema.GroupVersion{Group: Group, Version: Version}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion}
)
View Source
var (
	VirtualNetworkKind             = reflect.TypeOf(VirtualNetwork{}).Name()
	VirtualNetworkGroupKind        = schema.GroupKind{Group: Group, Kind: VirtualNetworkKind}.String()
	VirtualNetworkKindAPIVersion   = VirtualNetworkKind + "." + SchemeGroupVersion.String()
	VirtualNetworkGroupVersionKind = SchemeGroupVersion.WithKind(VirtualNetworkKind)
)

VirtualNetwork type metadata.

Functions

func VirtualNetworkID

func VirtualNetworkID() reference.ExtractValueFn

VirtualNetworkID extracts the ID of a VirtualNetwork.

Types

type VirtualNetwork

type VirtualNetwork struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   VirtualNetworkSpec   `json:"spec,omitempty"`
	Status VirtualNetworkStatus `json:"status,omitempty"`
}

VirtualNetwork is a managed resource that represents an Equinix Metal VirtualNetwork +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="ID",type="string",JSONPath=".status.atProvider.id" +kubebuilder:printcolumn:name="HOSTNAME",type="string",JSONPath=".spec.forProvider.hostname" +kubebuilder:printcolumn:name="FACILITY",type="string",JSONPath=".status.atProvider.facility" +kubebuilder:printcolumn:name="RECLAIM-POLICY",type="string",JSONPath=".spec.reclaimPolicy" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,equinix}

func (*VirtualNetwork) DeepCopy

func (in *VirtualNetwork) DeepCopy() *VirtualNetwork

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

func (*VirtualNetwork) DeepCopyInto

func (in *VirtualNetwork) DeepCopyInto(out *VirtualNetwork)

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

func (*VirtualNetwork) DeepCopyObject

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

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

func (*VirtualNetwork) GetCondition

func (mg *VirtualNetwork) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this VirtualNetwork.

func (*VirtualNetwork) GetDeletionPolicy

func (mg *VirtualNetwork) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this VirtualNetwork.

func (*VirtualNetwork) GetProviderConfigReference

func (mg *VirtualNetwork) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this VirtualNetwork.

func (*VirtualNetwork) GetProviderReference

func (mg *VirtualNetwork) GetProviderReference() *xpv1.Reference

GetProviderReference of this VirtualNetwork. Deprecated: Use GetProviderConfigReference.

func (*VirtualNetwork) GetWriteConnectionSecretToReference

func (mg *VirtualNetwork) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this VirtualNetwork.

func (*VirtualNetwork) SetConditions

func (mg *VirtualNetwork) SetConditions(c ...xpv1.Condition)

SetConditions of this VirtualNetwork.

func (*VirtualNetwork) SetDeletionPolicy

func (mg *VirtualNetwork) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this VirtualNetwork.

func (*VirtualNetwork) SetProviderConfigReference

func (mg *VirtualNetwork) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this VirtualNetwork.

func (*VirtualNetwork) SetProviderReference

func (mg *VirtualNetwork) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this VirtualNetwork. Deprecated: Use SetProviderConfigReference.

func (*VirtualNetwork) SetWriteConnectionSecretToReference

func (mg *VirtualNetwork) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this VirtualNetwork.

type VirtualNetworkList

type VirtualNetworkList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []VirtualNetwork `json:"items"`
}

VirtualNetworkList contains a list of VirtualNetworks

func (*VirtualNetworkList) DeepCopy

func (in *VirtualNetworkList) DeepCopy() *VirtualNetworkList

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

func (*VirtualNetworkList) DeepCopyInto

func (in *VirtualNetworkList) DeepCopyInto(out *VirtualNetworkList)

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

func (*VirtualNetworkList) DeepCopyObject

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

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

func (*VirtualNetworkList) GetItems

func (l *VirtualNetworkList) GetItems() []resource.Managed

GetItems of this VirtualNetworkList.

type VirtualNetworkObservation

type VirtualNetworkObservation struct {
	ID           string       `json:"id"`
	Href         string       `json:"href,omitempty"`
	VXLAN        int          `json:"vxlan,omitempty"`
	FacilityCode string       `json:"facility_code,omitempty"`
	CreatedAt    *metav1.Time `json:"createdAt,omitempty"`
}

VirtualNetworkObservation is used to reflect in the Kubernetes API, the observed state of the VirtualNetwork resource from the Equinix Metal API.

func (*VirtualNetworkObservation) DeepCopy

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

func (*VirtualNetworkObservation) DeepCopyInto

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

type VirtualNetworkParameters

type VirtualNetworkParameters struct {
	// +immutable
	// +required
	Facility string `json:"facility"`

	// +optional
	Description *string `json:"description,omitempty"`
}

VirtualNetworkParameters define the desired state of an Equinix Metal Virtual Network. https://metal.equinix.com/developers/api/vlans/#create-an-virtual-network

Reference values are used for optional parameters to determine if LateInitialization should update the parameter after creation.

func (*VirtualNetworkParameters) DeepCopy

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

func (*VirtualNetworkParameters) DeepCopyInto

func (in *VirtualNetworkParameters) DeepCopyInto(out *VirtualNetworkParameters)

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

type VirtualNetworkSpec

type VirtualNetworkSpec struct {
	xpv1.ResourceSpec `json:",inline"`
	ForProvider       VirtualNetworkParameters `json:"forProvider"`
}

VirtualNetworkSpec defines the desired state of VirtualNetwork

func (*VirtualNetworkSpec) DeepCopy

func (in *VirtualNetworkSpec) DeepCopy() *VirtualNetworkSpec

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

func (*VirtualNetworkSpec) DeepCopyInto

func (in *VirtualNetworkSpec) DeepCopyInto(out *VirtualNetworkSpec)

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

type VirtualNetworkStatus

type VirtualNetworkStatus struct {
	xpv1.ResourceStatus `json:",inline"`
	AtProvider          VirtualNetworkObservation `json:"atProvider,omitempty"`
}

VirtualNetworkStatus defines the observed state of VirtualNetwork

func (*VirtualNetworkStatus) DeepCopy

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

func (*VirtualNetworkStatus) DeepCopyInto

func (in *VirtualNetworkStatus) DeepCopyInto(out *VirtualNetworkStatus)

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