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: 2

Documentation

Overview

+groupName=router.alicloud.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: router.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 Interface

type Interface struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              InterfaceSpec   `json:"spec,omitempty"`
	Status            InterfaceStatus `json:"status,omitempty"`
}

func (*Interface) DeepCopy

func (in *Interface) DeepCopy() *Interface

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

func (*Interface) DeepCopyInto

func (in *Interface) DeepCopyInto(out *Interface)

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

func (*Interface) DeepCopyObject

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

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

func (*Interface) SetupWebhookWithManager

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

func (*Interface) ValidateCreate

func (r *Interface) ValidateCreate() error

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

func (*Interface) ValidateDelete

func (r *Interface) ValidateDelete() error

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

func (*Interface) ValidateUpdate

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

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

type InterfaceConnection

type InterfaceConnection struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              InterfaceConnectionSpec   `json:"spec,omitempty"`
	Status            InterfaceConnectionStatus `json:"status,omitempty"`
}

func (*InterfaceConnection) DeepCopy

func (in *InterfaceConnection) DeepCopy() *InterfaceConnection

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

func (*InterfaceConnection) DeepCopyInto

func (in *InterfaceConnection) DeepCopyInto(out *InterfaceConnection)

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

func (*InterfaceConnection) DeepCopyObject

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

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

func (*InterfaceConnection) SetupWebhookWithManager

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

func (*InterfaceConnection) ValidateCreate

func (r *InterfaceConnection) ValidateCreate() error

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

func (*InterfaceConnection) ValidateDelete

func (r *InterfaceConnection) ValidateDelete() error

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

func (*InterfaceConnection) ValidateUpdate

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

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

type InterfaceConnectionList

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

InterfaceConnectionList is a list of InterfaceConnections

func (*InterfaceConnectionList) DeepCopy

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

func (*InterfaceConnectionList) DeepCopyInto

func (in *InterfaceConnectionList) DeepCopyInto(out *InterfaceConnectionList)

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

func (*InterfaceConnectionList) DeepCopyObject

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

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

type InterfaceConnectionSpec

type InterfaceConnectionSpec struct {
	State *InterfaceConnectionSpecResource `json:"state,omitempty" tf:"-"`

	Resource InterfaceConnectionSpecResource `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 (*InterfaceConnectionSpec) DeepCopy

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

func (*InterfaceConnectionSpec) DeepCopyInto

func (in *InterfaceConnectionSpec) DeepCopyInto(out *InterfaceConnectionSpec)

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

type InterfaceConnectionSpecResource

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

	InterfaceID         *string `json:"interfaceID" tf:"interface_id"`
	OppositeInterfaceID *string `json:"oppositeInterfaceID" tf:"opposite_interface_id"`
	// +optional
	OppositeInterfaceOwnerID *string `json:"oppositeInterfaceOwnerID,omitempty" tf:"opposite_interface_owner_id"`
	// +optional
	OppositeRouterID *string `json:"oppositeRouterID,omitempty" tf:"opposite_router_id"`
	// +optional
	OppositeRouterType *string `json:"oppositeRouterType,omitempty" tf:"opposite_router_type"`
}

func (*InterfaceConnectionSpecResource) DeepCopy

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

func (*InterfaceConnectionSpecResource) DeepCopyInto

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

type InterfaceConnectionStatus

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

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

func (*InterfaceConnectionStatus) DeepCopyInto

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

type InterfaceList

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

InterfaceList is a list of Interfaces

func (*InterfaceList) DeepCopy

func (in *InterfaceList) DeepCopy() *InterfaceList

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

func (*InterfaceList) DeepCopyInto

func (in *InterfaceList) DeepCopyInto(out *InterfaceList)

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

func (*InterfaceList) DeepCopyObject

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

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

type InterfaceSpec

type InterfaceSpec struct {
	State *InterfaceSpecResource `json:"state,omitempty" tf:"-"`

	Resource InterfaceSpecResource `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 (*InterfaceSpec) DeepCopy

func (in *InterfaceSpec) DeepCopy() *InterfaceSpec

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

func (*InterfaceSpec) DeepCopyInto

func (in *InterfaceSpec) DeepCopyInto(out *InterfaceSpec)

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

type InterfaceSpecResource

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

	// +optional
	// Deprecated
	AccessPointID *string `json:"accessPointID,omitempty" tf:"access_point_id"`
	// +optional
	Description *string `json:"description,omitempty" tf:"description"`
	// +optional
	HealthCheckSourceIP *string `json:"healthCheckSourceIP,omitempty" tf:"health_check_source_ip"`
	// +optional
	HealthCheckTargetIP *string `json:"healthCheckTargetIP,omitempty" tf:"health_check_target_ip"`
	// +optional
	InstanceChargeType *string `json:"instanceChargeType,omitempty" tf:"instance_charge_type"`
	// +optional
	Name *string `json:"name,omitempty" tf:"name"`
	// +optional
	// Deprecated
	OppositeAccessPointID *string `json:"oppositeAccessPointID,omitempty" tf:"opposite_access_point_id"`
	// +optional
	// Deprecated
	OppositeInterfaceID *string `json:"oppositeInterfaceID,omitempty" tf:"opposite_interface_id"`
	// +optional
	// Deprecated
	OppositeInterfaceOwnerID *string `json:"oppositeInterfaceOwnerID,omitempty" tf:"opposite_interface_owner_id"`
	OppositeRegion           *string `json:"oppositeRegion" tf:"opposite_region"`
	// +optional
	// Deprecated
	OppositeRouterID *string `json:"oppositeRouterID,omitempty" tf:"opposite_router_id"`
	// +optional
	// Deprecated
	OppositeRouterType *string `json:"oppositeRouterType,omitempty" tf:"opposite_router_type"`
	// +optional
	Period     *int64  `json:"period,omitempty" tf:"period"`
	Role       *string `json:"role" tf:"role"`
	RouterID   *string `json:"routerID" tf:"router_id"`
	RouterType *string `json:"routerType" tf:"router_type"`
	// +optional
	Specification *string `json:"specification,omitempty" tf:"specification"`
}

func (*InterfaceSpecResource) DeepCopy

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

func (*InterfaceSpecResource) DeepCopyInto

func (in *InterfaceSpecResource) DeepCopyInto(out *InterfaceSpecResource)

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

type InterfaceStatus

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

func (in *InterfaceStatus) DeepCopy() *InterfaceStatus

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

func (*InterfaceStatus) DeepCopyInto

func (in *InterfaceStatus) DeepCopyInto(out *InterfaceStatus)

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