v1beta1

package
v1.105.0 Latest Latest
Warning

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

Go to latest
Published: May 23, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Generate deepcopy object for vpcaccess/v1beta1 API group

Package v1beta1 contains API Schema definitions for the vpcaccess v1beta1 API group. +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/GoogleCloudPlatform/k8s-config-connector/pkg/clients/generated/pkg/apis/vpcaccess +k8s:defaulter-gen=TypeMeta +groupName=vpcaccess.cnrm.cloud.google.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// SchemeGroupVersion is the group version used to register these objects.
	SchemeGroupVersion = schema.GroupVersion{Group: "vpcaccess.cnrm.cloud.google.com", Version: "v1beta1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme.
	SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion}

	// AddToScheme is a global function that registers this API group & version to a scheme
	AddToScheme = SchemeBuilder.AddToScheme

	VPCAccessConnectorGVK = schema.GroupVersionKind{
		Group:   SchemeGroupVersion.Group,
		Version: SchemeGroupVersion.Version,
		Kind:    reflect.TypeOf(VPCAccessConnector{}).Name(),
	}
)

Functions

This section is empty.

Types

type ConnectorSubnet

type ConnectorSubnet struct {
	/* Immutable. */
	// +optional
	NameRef *v1alpha1.ResourceRef `json:"nameRef,omitempty"`

	/* Immutable. */
	// +optional
	ProjectRef *v1alpha1.ResourceRef `json:"projectRef,omitempty"`
}

func (*ConnectorSubnet) DeepCopy

func (in *ConnectorSubnet) DeepCopy() *ConnectorSubnet

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

func (*ConnectorSubnet) DeepCopyInto

func (in *ConnectorSubnet) DeepCopyInto(out *ConnectorSubnet)

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

type VPCAccessConnector

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

	Spec   VPCAccessConnectorSpec   `json:"spec,omitempty"`
	Status VPCAccessConnectorStatus `json:"status,omitempty"`
}

VPCAccessConnector is the Schema for the vpcaccess API +k8s:openapi-gen=true

func (*VPCAccessConnector) DeepCopy

func (in *VPCAccessConnector) DeepCopy() *VPCAccessConnector

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

func (*VPCAccessConnector) DeepCopyInto

func (in *VPCAccessConnector) DeepCopyInto(out *VPCAccessConnector)

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

func (*VPCAccessConnector) DeepCopyObject

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

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

type VPCAccessConnectorList

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

VPCAccessConnectorList contains a list of VPCAccessConnector

func (*VPCAccessConnectorList) DeepCopy

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

func (*VPCAccessConnectorList) DeepCopyInto

func (in *VPCAccessConnectorList) DeepCopyInto(out *VPCAccessConnectorList)

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

func (*VPCAccessConnectorList) DeepCopyObject

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

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

type VPCAccessConnectorSpec

type VPCAccessConnectorSpec struct {
	/* Immutable. The range of internal addresses that follows RFC 4632 notation. Example: `10.132.0.0/28`. */
	// +optional
	IpCidrRange *string `json:"ipCidrRange,omitempty"`

	/* Immutable. The location for the resource */
	Location string `json:"location"`

	/* Immutable. Machine type of VM Instance underlying connector. Default is e2-micro */
	// +optional
	MachineType *string `json:"machineType,omitempty"`

	/* Immutable. Maximum value of instances in autoscaling group underlying the connector. */
	// +optional
	MaxInstances *int `json:"maxInstances,omitempty"`

	/* Immutable. Maximum throughput of the connector in Mbps. Default is 200, max is 1000. */
	// +optional
	MaxThroughput *int `json:"maxThroughput,omitempty"`

	/* Immutable. Minimum value of instances in autoscaling group underlying the connector. */
	// +optional
	MinInstances *int `json:"minInstances,omitempty"`

	/* Immutable. Minimum throughput of the connector in Mbps. Default and min is 200. */
	// +optional
	MinThroughput *int `json:"minThroughput,omitempty"`

	/* Immutable. */
	// +optional
	NetworkRef *v1alpha1.ResourceRef `json:"networkRef,omitempty"`

	/* Immutable. The Project that this resource belongs to. */
	ProjectRef v1alpha1.ResourceRef `json:"projectRef"`

	/* Immutable. Optional. The name of the resource. Used for creation and acquisition. When unset, the value of `metadata.name` is used as the default. */
	// +optional
	ResourceID *string `json:"resourceID,omitempty"`

	/* Immutable. The subnet in which to house the VPC Access Connector. */
	// +optional
	Subnet *ConnectorSubnet `json:"subnet,omitempty"`
}

func (*VPCAccessConnectorSpec) DeepCopy

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

func (*VPCAccessConnectorSpec) DeepCopyInto

func (in *VPCAccessConnectorSpec) DeepCopyInto(out *VPCAccessConnectorSpec)

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

type VPCAccessConnectorStatus

type VPCAccessConnectorStatus struct {
	/* Conditions represent the latest available observations of the
	   VPCAccessConnector's current state. */
	Conditions []v1alpha1.Condition `json:"conditions,omitempty"`
	/* Output only. List of projects using the connector. */
	// +optional
	ConnectedProjects []string `json:"connectedProjects,omitempty"`

	/* ObservedGeneration is the generation of the resource that was most recently observed by the Config Connector controller. If this is equal to metadata.generation, then that means that the current reported status reflects the most recent desired state of the resource. */
	// +optional
	ObservedGeneration *int `json:"observedGeneration,omitempty"`

	/* Output only. State of the VPC access connector. Possible values: STATE_UNSPECIFIED, READY, CREATING, DELETING, ERROR, UPDATING */
	// +optional
	State *string `json:"state,omitempty"`
}

func (*VPCAccessConnectorStatus) DeepCopy

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

func (*VPCAccessConnectorStatus) DeepCopyInto

func (in *VPCAccessConnectorStatus) DeepCopyInto(out *VPCAccessConnectorStatus)

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