v1alpha1

package
v1.121.0 Latest Latest
Warning

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

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

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the bigqueryconnection v1alpha1 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/bigqueryconnection +k8s:defaulter-gen=TypeMeta +groupName=bigqueryconnection.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: "bigqueryconnection.cnrm.cloud.google.com", Version: "v1alpha1"}

	// 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

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

Functions

This section is empty.

Types

type BigQueryConnectionConnection

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

	Spec   BigQueryConnectionConnectionSpec   `json:"spec,omitempty"`
	Status BigQueryConnectionConnectionStatus `json:"status,omitempty"`
}

BigQueryConnectionConnection is the Schema for the bigqueryconnection API +k8s:openapi-gen=true

func (*BigQueryConnectionConnection) DeepCopy

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

func (*BigQueryConnectionConnection) DeepCopyInto

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

func (*BigQueryConnectionConnection) DeepCopyObject

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

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

type BigQueryConnectionConnectionList

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

BigQueryConnectionConnectionList contains a list of BigQueryConnectionConnection

func (*BigQueryConnectionConnectionList) DeepCopy

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

func (*BigQueryConnectionConnectionList) DeepCopyInto

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

func (*BigQueryConnectionConnectionList) DeepCopyObject

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

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

type BigQueryConnectionConnectionSpec

type BigQueryConnectionConnectionSpec struct {
	/* Container for connection properties for delegation of access to GCP resources. */
	// +optional
	CloudResource *ConnectionCloudResource `json:"cloudResource,omitempty"`

	/* A descriptive description for the connection. */
	// +optional
	Description *string `json:"description,omitempty"`

	/* A descriptive name for the connection. */
	// +optional
	FriendlyName *string `json:"friendlyName,omitempty"`

	/* Immutable. The geographic location where the connection should reside.
	Cloud SQL instance must be in the same location as the connection
	with following exceptions: Cloud SQL us-central1 maps to BigQuery US, Cloud SQL europe-west1 maps to BigQuery EU.
	Examples: US, EU, asia-northeast1, us-central1, europe-west1.
	Spanner Connections same as spanner region
	AWS allowed regions are aws-us-east-1
	Azure allowed regions are azure-eastus2. */
	Location string `json:"location"`

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

	/* Immutable. Optional. The connectionId 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"`
}

func (*BigQueryConnectionConnectionSpec) DeepCopy

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

func (*BigQueryConnectionConnectionSpec) DeepCopyInto

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

type BigQueryConnectionConnectionStatus

type BigQueryConnectionConnectionStatus struct {
	/* Conditions represent the latest available observations of the
	   BigQueryConnectionConnection's current state. */
	Conditions []v1alpha1.Condition `json:"conditions,omitempty"`
	/* True if the connection has credential assigned. */
	// +optional
	HasCredential *bool `json:"hasCredential,omitempty"`

	/* The resource name of the connection in the form of:
	"projects/{project_id}/locations/{location_id}/connections/{connectionId}". */
	// +optional
	Name *string `json:"name,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 observed state of the underlying GCP resource. */
	// +optional
	ObservedState *ConnectionObservedStateStatus `json:"observedState,omitempty"`
}

func (*BigQueryConnectionConnectionStatus) DeepCopy

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

func (*BigQueryConnectionConnectionStatus) DeepCopyInto

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

type ConnectionCloudResource

type ConnectionCloudResource struct {
	/* The account ID of the service created for the purpose of this connection. */
	// +optional
	ServiceAccountId *string `json:"serviceAccountId,omitempty"`
}

func (*ConnectionCloudResource) DeepCopy

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

func (*ConnectionCloudResource) DeepCopyInto

func (in *ConnectionCloudResource) DeepCopyInto(out *ConnectionCloudResource)

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

type ConnectionCloudResourceStatus added in v1.121.0

type ConnectionCloudResourceStatus struct {
	/* The account ID of the service created for the purpose of this connection. */
	// +optional
	ServiceAccountId *string `json:"serviceAccountId,omitempty"`
}

func (*ConnectionCloudResourceStatus) DeepCopy added in v1.121.0

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

func (*ConnectionCloudResourceStatus) DeepCopyInto added in v1.121.0

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

type ConnectionObservedStateStatus added in v1.121.0

type ConnectionObservedStateStatus struct {
	/* Container for connection properties for delegation of access to GCP resources. */
	// +optional
	CloudResource *ConnectionCloudResourceStatus `json:"cloudResource,omitempty"`
}

func (*ConnectionObservedStateStatus) DeepCopy added in v1.121.0

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

func (*ConnectionObservedStateStatus) DeepCopyInto added in v1.121.0

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