v1alpha1

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2021 License: Apache-2.0 Imports: 12 Imported by: 2

Documentation

Overview

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

type FlowLog struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              FlowLogSpec   `json:"spec,omitempty"`
	Status            FlowLogStatus `json:"status,omitempty"`
}

func (*FlowLog) DeepCopy

func (in *FlowLog) DeepCopy() *FlowLog

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

func (*FlowLog) DeepCopyInto

func (in *FlowLog) DeepCopyInto(out *FlowLog)

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

func (*FlowLog) DeepCopyObject

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

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

func (*FlowLog) SetupWebhookWithManager

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

func (*FlowLog) ValidateCreate

func (r *FlowLog) ValidateCreate() error

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

func (*FlowLog) ValidateDelete

func (r *FlowLog) ValidateDelete() error

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

func (*FlowLog) ValidateUpdate

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

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

type FlowLogList

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

FlowLogList is a list of FlowLogs

func (*FlowLogList) DeepCopy

func (in *FlowLogList) DeepCopy() *FlowLogList

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

func (*FlowLogList) DeepCopyInto

func (in *FlowLogList) DeepCopyInto(out *FlowLogList)

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

func (*FlowLogList) DeepCopyObject

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

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

type FlowLogSpec

type FlowLogSpec struct {
	State *FlowLogSpecResource `json:"state,omitempty" tf:"-"`

	Resource FlowLogSpecResource `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 (*FlowLogSpec) DeepCopy

func (in *FlowLogSpec) DeepCopy() *FlowLogSpec

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

func (*FlowLogSpec) DeepCopyInto

func (in *FlowLogSpec) DeepCopyInto(out *FlowLogSpec)

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

type FlowLogSpecResource

type FlowLogSpecResource struct {
	Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"`

	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// +optional
	Description *string `json:"description,omitempty" tf:"description"`
	// +optional
	FlowLogName  *string `json:"flowLogName,omitempty" tf:"flow_log_name"`
	LogStoreName *string `json:"logStoreName" tf:"log_store_name"`
	ProjectName  *string `json:"projectName" tf:"project_name"`
	ResourceID   *string `json:"resourceID" tf:"resource_id"`
	ResourceType *string `json:"resourceType" tf:"resource_type"`
	// +optional
	Status      *string `json:"status,omitempty" tf:"status"`
	TrafficType *string `json:"trafficType" tf:"traffic_type"`
}

func (*FlowLogSpecResource) DeepCopy

func (in *FlowLogSpecResource) DeepCopy() *FlowLogSpecResource

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

func (*FlowLogSpecResource) DeepCopyInto

func (in *FlowLogSpecResource) DeepCopyInto(out *FlowLogSpecResource)

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

type FlowLogStatus

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

func (in *FlowLogStatus) DeepCopy() *FlowLogStatus

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

func (*FlowLogStatus) DeepCopyInto

func (in *FlowLogStatus) DeepCopyInto(out *FlowLogStatus)

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

type Vpc

type Vpc struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              VpcSpec   `json:"spec,omitempty"`
	Status            VpcStatus `json:"status,omitempty"`
}

func (*Vpc) DeepCopy

func (in *Vpc) DeepCopy() *Vpc

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

func (*Vpc) DeepCopyInto

func (in *Vpc) DeepCopyInto(out *Vpc)

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

func (*Vpc) DeepCopyObject

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

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

func (*Vpc) SetupWebhookWithManager

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

func (*Vpc) ValidateCreate

func (r *Vpc) ValidateCreate() error

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

func (*Vpc) ValidateDelete

func (r *Vpc) ValidateDelete() error

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

func (*Vpc) ValidateUpdate

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

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

type VpcList

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

VpcList is a list of Vpcs

func (*VpcList) DeepCopy

func (in *VpcList) DeepCopy() *VpcList

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

func (*VpcList) DeepCopyInto

func (in *VpcList) DeepCopyInto(out *VpcList)

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

func (*VpcList) DeepCopyObject

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

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

type VpcSpec

type VpcSpec struct {
	State *VpcSpecResource `json:"state,omitempty" tf:"-"`

	Resource VpcSpecResource `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 (*VpcSpec) DeepCopy

func (in *VpcSpec) DeepCopy() *VpcSpec

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

func (*VpcSpec) DeepCopyInto

func (in *VpcSpec) DeepCopyInto(out *VpcSpec)

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

type VpcSpecResource

type VpcSpecResource struct {
	Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"`

	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// +optional
	CidrBlock *string `json:"cidrBlock,omitempty" tf:"cidr_block"`
	// +optional
	Description *string `json:"description,omitempty" tf:"description"`
	// +optional
	DryRun *bool `json:"dryRun,omitempty" tf:"dry_run"`
	// +optional
	EnableIpv6 *bool `json:"enableIpv6,omitempty" tf:"enable_ipv6"`
	// +optional
	Ipv6CIDRBlock *string `json:"ipv6CIDRBlock,omitempty" tf:"ipv6_cidr_block"`
	// +optional
	// Deprecated
	Name *string `json:"name,omitempty" tf:"name"`
	// +optional
	ResourceGroupID *string `json:"resourceGroupID,omitempty" tf:"resource_group_id"`
	// +optional
	RouteTableID *string `json:"routeTableID,omitempty" tf:"route_table_id"`
	// +optional
	RouterID *string `json:"routerID,omitempty" tf:"router_id"`
	// +optional
	// Deprecated
	RouterTableID *string `json:"routerTableID,omitempty" tf:"router_table_id"`
	// +optional
	SecondaryCIDRBlocks []string `json:"secondaryCIDRBlocks,omitempty" tf:"secondary_cidr_blocks"`
	// +optional
	Status *string `json:"status,omitempty" tf:"status"`
	// +optional
	Tags map[string]string `json:"tags,omitempty" tf:"tags"`
	// +optional
	UserCidrs []string `json:"userCidrs,omitempty" tf:"user_cidrs"`
	// +optional
	VpcName *string `json:"vpcName,omitempty" tf:"vpc_name"`
}

func (*VpcSpecResource) DeepCopy

func (in *VpcSpecResource) DeepCopy() *VpcSpecResource

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

func (*VpcSpecResource) DeepCopyInto

func (in *VpcSpecResource) DeepCopyInto(out *VpcSpecResource)

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

type VpcStatus

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

func (in *VpcStatus) DeepCopy() *VpcStatus

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

func (*VpcStatus) DeepCopyInto

func (in *VpcStatus) DeepCopyInto(out *VpcStatus)

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