v1alpha1

package
v0.0.11 Latest Latest
Warning

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

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

Documentation

Overview

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

Index

Constants

View Source
const (
	Group   = "ports.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 (
	AssignmentKind             = reflect.TypeOf(Assignment{}).Name()
	AssignmentGroupKind        = schema.GroupKind{Group: Group, Kind: AssignmentKind}.String()
	AssignmentKindAPIVersion   = AssignmentKind + "." + SchemeGroupVersion.String()
	AssignmentGroupVersionKind = SchemeGroupVersion.WithKind(AssignmentKind)
)

Assignment type metadata.

Functions

This section is empty.

Types

type Assignment

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

	Spec   AssignmentSpec   `json:"spec"`
	Status AssignmentStatus `json:"status,omitempty"`
}

Assignment is a managed resource that represents an Equinix Metal Assignment +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=".metadata.annotations.crossplane\\.io/external-name" +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 (*Assignment) DeepCopy

func (in *Assignment) DeepCopy() *Assignment

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

func (*Assignment) DeepCopyInto

func (in *Assignment) DeepCopyInto(out *Assignment)

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

func (*Assignment) DeepCopyObject

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

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

func (*Assignment) GetCondition

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

GetCondition of this Assignment.

func (*Assignment) GetDeletionPolicy

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

GetDeletionPolicy of this Assignment.

func (*Assignment) GetProviderConfigReference

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

GetProviderConfigReference of this Assignment.

func (*Assignment) GetProviderReference

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

GetProviderReference of this Assignment. Deprecated: Use GetProviderConfigReference.

func (*Assignment) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Assignment.

func (*Assignment) ResolveReferences

func (mg *Assignment) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this Assignment

func (*Assignment) SetConditions

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

SetConditions of this Assignment.

func (*Assignment) SetDeletionPolicy

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

SetDeletionPolicy of this Assignment.

func (*Assignment) SetProviderConfigReference

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

SetProviderConfigReference of this Assignment.

func (*Assignment) SetProviderReference

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

SetProviderReference of this Assignment. Deprecated: Use SetProviderConfigReference.

func (*Assignment) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Assignment.

type AssignmentList

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

AssignmentList contains a list of Assignments

func (*AssignmentList) DeepCopy

func (in *AssignmentList) DeepCopy() *AssignmentList

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

func (*AssignmentList) DeepCopyInto

func (in *AssignmentList) DeepCopyInto(out *AssignmentList)

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

func (*AssignmentList) DeepCopyObject

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

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

func (*AssignmentList) GetItems

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

GetItems of this AssignmentList.

type AssignmentParameters

type AssignmentParameters struct {
	// +immutable
	DeviceID string `json:"deviceId,omitempty"`

	// +optional
	// +immutable
	DeviceIDRef *xpv1.Reference `json:"deviceIdRef,omitempty"`

	// +optional
	DeviceIDSelector *xpv1.Selector `json:"deviceIdSelector,omitempty"`

	// +immutable
	Name string `json:"name"`

	// +immutable
	VirtualNetworkID string `json:"virtualNetworkId,omitempty"`

	// +optional
	// +immutable
	VirtualNetworkIDRef *xpv1.Reference `json:"virtualNetworkIdRef,omitempty"`

	// +optional
	VirtualNetworkIDSelector *xpv1.Selector `json:"virtualNetworkIdSelector,omitempty"`
}

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

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

func (*AssignmentParameters) DeepCopyInto

func (in *AssignmentParameters) DeepCopyInto(out *AssignmentParameters)

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

type AssignmentSpec

type AssignmentSpec struct {
	xpv1.ResourceSpec `json:",inline"`
	ForProvider       AssignmentParameters `json:"forProvider"`
}

AssignmentSpec defines the desired state of Assignment

func (*AssignmentSpec) DeepCopy

func (in *AssignmentSpec) DeepCopy() *AssignmentSpec

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

func (*AssignmentSpec) DeepCopyInto

func (in *AssignmentSpec) DeepCopyInto(out *AssignmentSpec)

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

type AssignmentStatus

type AssignmentStatus struct {
	xpv1.ResourceStatus `json:",inline"`
}

AssignmentStatus defines the observed state of Assignment

func (*AssignmentStatus) DeepCopy

func (in *AssignmentStatus) DeepCopy() *AssignmentStatus

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

func (*AssignmentStatus) DeepCopyInto

func (in *AssignmentStatus) DeepCopyInto(out *AssignmentStatus)

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