v1alpha1

package
v0.1.0 Latest Latest
Warning

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

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

Documentation

Overview

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

type Vlan struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              VlanSpec   `json:"spec,omitempty"`
	Status            VlanStatus `json:"status,omitempty"`
}

func (*Vlan) DeepCopy

func (in *Vlan) DeepCopy() *Vlan

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

func (*Vlan) DeepCopyInto

func (in *Vlan) DeepCopyInto(out *Vlan)

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

func (*Vlan) DeepCopyObject

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

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

func (*Vlan) SetupWebhookWithManager

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

func (*Vlan) ValidateCreate

func (r *Vlan) ValidateCreate() error

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

func (*Vlan) ValidateDelete

func (r *Vlan) ValidateDelete() error

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

func (*Vlan) ValidateUpdate

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

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

type VlanList

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

VlanList is a list of Vlans

func (*VlanList) DeepCopy

func (in *VlanList) DeepCopy() *VlanList

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

func (*VlanList) DeepCopyInto

func (in *VlanList) DeepCopyInto(out *VlanList)

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

func (*VlanList) DeepCopyObject

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

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

type VlanSpec

type VlanSpec struct {
	State *VlanSpecResource `json:"state,omitempty" tf:"-"`

	Resource VlanSpecResource `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 (*VlanSpec) DeepCopy

func (in *VlanSpec) DeepCopy() *VlanSpec

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

func (*VlanSpec) DeepCopyInto

func (in *VlanSpec) DeepCopyInto(out *VlanSpec)

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

type VlanSpecResource

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

	// Description string
	// +optional
	Description *string `json:"description,omitempty" tf:"description"`
	// Facility where to create the VLAN
	// +optional
	Facility *string `json:"facility,omitempty" tf:"facility"`
	// +optional
	Metro *string `json:"metro,omitempty" tf:"metro"`
	// ID of parent project
	ProjectID *string `json:"projectID" tf:"project_id"`
	// VLAN ID, must be unique in metro
	// +optional
	Vxlan *int64 `json:"vxlan,omitempty" tf:"vxlan"`
}

func (*VlanSpecResource) DeepCopy

func (in *VlanSpecResource) DeepCopy() *VlanSpecResource

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

func (*VlanSpecResource) DeepCopyInto

func (in *VlanSpecResource) DeepCopyInto(out *VlanSpecResource)

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

type VlanStatus

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

func (in *VlanStatus) DeepCopy() *VlanStatus

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

func (*VlanStatus) DeepCopyInto

func (in *VlanStatus) DeepCopyInto(out *VlanStatus)

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