v1beta1

package
v1.125.0 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

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. Subnet name (relative, not fully qualified). E.g. if the full subnet selfLink is
	https://compute.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetName} the correct input for this field would be {subnetName}" */
	// +optional
	NameRef *v1alpha1.ResourceRef `json:"nameRef,omitempty"`

	/* Immutable. Project in which the subnet exists. If not set, this project is assumed to be the project for which the connector create request was issued. */
	// +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"`

	/* Location represents the geographical location of the VPCAccessConnector. Specify a region name. Reference: GCP definition of regions/zones (https://cloud.google.com/compute/docs/regions-zones/) */
	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 *int64 `json:"maxInstances,omitempty"`

	/* Immutable. Maximum throughput of the connector in Mbps, must be greater than 'min_throughput'. Default is 300. */
	// +optional
	MaxThroughput *int64 `json:"maxThroughput,omitempty"`

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

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

	/* Immutable. Name or self_link of the VPC network. Required if 'ip_cidr_range' is set. */
	// +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 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"`
	/* 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 *int64 `json:"observedGeneration,omitempty"`

	/* The fully qualified name of this VPC connector. */
	// +optional
	SelfLink *string `json:"selfLink,omitempty"`

	/* State of the VPC access connector. */
	// +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