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

Documentation

Overview

+groupName=vpc.google.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 AccessConnector

type AccessConnector struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              AccessConnectorSpec   `json:"spec,omitempty"`
	Status            AccessConnectorStatus `json:"status,omitempty"`
}

func (*AccessConnector) DeepCopy

func (in *AccessConnector) DeepCopy() *AccessConnector

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

func (*AccessConnector) DeepCopyInto

func (in *AccessConnector) DeepCopyInto(out *AccessConnector)

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

func (*AccessConnector) DeepCopyObject

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

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

func (*AccessConnector) SetupWebhookWithManager

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

func (*AccessConnector) ValidateCreate

func (r *AccessConnector) ValidateCreate() error

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

func (*AccessConnector) ValidateDelete

func (r *AccessConnector) ValidateDelete() error

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

func (*AccessConnector) ValidateUpdate

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

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

type AccessConnectorList

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

AccessConnectorList is a list of AccessConnectors

func (*AccessConnectorList) DeepCopy

func (in *AccessConnectorList) DeepCopy() *AccessConnectorList

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

func (*AccessConnectorList) DeepCopyInto

func (in *AccessConnectorList) DeepCopyInto(out *AccessConnectorList)

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

func (*AccessConnectorList) DeepCopyObject

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

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

type AccessConnectorSpec

type AccessConnectorSpec struct {
	State *AccessConnectorSpecResource `json:"state,omitempty" tf:"-"`

	Resource AccessConnectorSpecResource `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 (*AccessConnectorSpec) DeepCopy

func (in *AccessConnectorSpec) DeepCopy() *AccessConnectorSpec

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

func (*AccessConnectorSpec) DeepCopyInto

func (in *AccessConnectorSpec) DeepCopyInto(out *AccessConnectorSpec)

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

type AccessConnectorSpecResource

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

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

	// The range of internal addresses that follows RFC 4632 notation. Example: '10.132.0.0/28'.
	// +optional
	IpCIDRRange *string `json:"ipCIDRRange,omitempty" tf:"ip_cidr_range"`
	// Maximum throughput of the connector in Mbps, must be greater than 'min_throughput'. Default is 300.
	// +optional
	MaxThroughput *int64 `json:"maxThroughput,omitempty" tf:"max_throughput"`
	// Minimum throughput of the connector in Mbps. Default and min is 200.
	// +optional
	MinThroughput *int64 `json:"minThroughput,omitempty" tf:"min_throughput"`
	// The name of the resource (Max 25 characters).
	Name *string `json:"name" tf:"name"`
	// Name or self_link of the VPC network. Required if 'ip_cidr_range' is set.
	// +optional
	Network *string `json:"network,omitempty" tf:"network"`
	// +optional
	Project *string `json:"project,omitempty" tf:"project"`
	// Region where the VPC Access connector resides. If it is not provided, the provider region is used.
	// +optional
	Region *string `json:"region,omitempty" tf:"region"`
	// The fully qualified name of this VPC connector
	// +optional
	SelfLink *string `json:"selfLink,omitempty" tf:"self_link"`
	// State of the VPC access connector.
	// +optional
	State *string `json:"state,omitempty" tf:"state"`
}

func (*AccessConnectorSpecResource) DeepCopy

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

func (*AccessConnectorSpecResource) DeepCopyInto

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

type AccessConnectorStatus

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

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

func (*AccessConnectorStatus) DeepCopyInto

func (in *AccessConnectorStatus) DeepCopyInto(out *AccessConnectorStatus)

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