v1alpha1

package
v1.115.0 Latest Latest
Warning

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

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

Documentation

Overview

Generate deepcopy object for bigqueryconnection/v1alpha1 API group

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 {
	/* Connection properties specific to Amazon Web Services. */
	// +optional
	Aws *ConnectionAws `json:"aws,omitempty"`

	/* Container for connection properties specific to Azure. */
	// +optional
	Azure *ConnectionAzure `json:"azure,omitempty"`

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

	/* Connection properties specific to Cloud Spanner. */
	// +optional
	CloudSpanner *ConnectionCloudSpanner `json:"cloudSpanner,omitempty"`

	/* Connection properties specific to the Cloud SQL. */
	// +optional
	CloudSql *ConnectionCloudSql `json:"cloudSql,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 *int `json:"observedGeneration,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 ConnectionAccessRole

type ConnectionAccessRole struct {
	/* The user’s AWS IAM Role that trusts the Google-owned AWS IAM user Connection. */
	IamRoleId string `json:"iamRoleId"`

	/* A unique Google-owned and Google-generated identity for the Connection. This identity will be used to access the user's AWS IAM Role. */
	// +optional
	Identity *string `json:"identity,omitempty"`
}

func (*ConnectionAccessRole) DeepCopy

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

func (*ConnectionAccessRole) DeepCopyInto

func (in *ConnectionAccessRole) DeepCopyInto(out *ConnectionAccessRole)

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

type ConnectionAws

type ConnectionAws struct {
	/* Authentication using Google owned service account to assume into customer's AWS IAM Role. */
	AccessRole ConnectionAccessRole `json:"accessRole"`
}

func (*ConnectionAws) DeepCopy

func (in *ConnectionAws) DeepCopy() *ConnectionAws

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

func (*ConnectionAws) DeepCopyInto

func (in *ConnectionAws) DeepCopyInto(out *ConnectionAws)

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

type ConnectionAzure

type ConnectionAzure struct {
	/* The name of the Azure Active Directory Application. */
	// +optional
	Application *string `json:"application,omitempty"`

	/* The client id of the Azure Active Directory Application. */
	// +optional
	ClientId *string `json:"clientId,omitempty"`

	/* The id of customer's directory that host the data. */
	CustomerTenantId string `json:"customerTenantId"`

	/* The Azure Application (client) ID where the federated credentials will be hosted. */
	// +optional
	FederatedApplicationClientId *string `json:"federatedApplicationClientId,omitempty"`

	/* A unique Google-owned and Google-generated identity for the Connection. This identity will be used to access the user's Azure Active Directory Application. */
	// +optional
	Identity *string `json:"identity,omitempty"`

	/* The object id of the Azure Active Directory Application. */
	// +optional
	ObjectId *string `json:"objectId,omitempty"`

	/* The URL user will be redirected to after granting consent during connection setup. */
	// +optional
	RedirectUri *string `json:"redirectUri,omitempty"`
}

func (*ConnectionAzure) DeepCopy

func (in *ConnectionAzure) DeepCopy() *ConnectionAzure

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

func (*ConnectionAzure) DeepCopyInto

func (in *ConnectionAzure) DeepCopyInto(out *ConnectionAzure)

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 ConnectionCloudSpanner

type ConnectionCloudSpanner struct {
	/* Cloud Spanner database in the form 'project/instance/database'. */
	Database string `json:"database"`

	/* If parallelism should be used when reading from Cloud Spanner. */
	// +optional
	UseParallelism *bool `json:"useParallelism,omitempty"`

	/* If the serverless analytics service should be used to read data from Cloud Spanner. useParallelism must be set when using serverless analytics. */
	// +optional
	UseServerlessAnalytics *bool `json:"useServerlessAnalytics,omitempty"`
}

func (*ConnectionCloudSpanner) DeepCopy

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

func (*ConnectionCloudSpanner) DeepCopyInto

func (in *ConnectionCloudSpanner) DeepCopyInto(out *ConnectionCloudSpanner)

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

type ConnectionCloudSql

type ConnectionCloudSql struct {
	/* Cloud SQL properties. */
	Credential ConnectionCredential `json:"credential"`

	/* Database name. */
	Database string `json:"database"`

	/* Cloud SQL instance ID in the form project:location:instance. */
	InstanceId string `json:"instanceId"`

	/* When the connection is used in the context of an operation in BigQuery, this service account will serve as the identity being used for connecting to the CloudSQL instance specified in this connection. */
	// +optional
	ServiceAccountId *string `json:"serviceAccountId,omitempty"`

	/* Type of the Cloud SQL database. Possible values: ["DATABASE_TYPE_UNSPECIFIED", "POSTGRES", "MYSQL"]. */
	Type string `json:"type"`
}

func (*ConnectionCloudSql) DeepCopy

func (in *ConnectionCloudSql) DeepCopy() *ConnectionCloudSql

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

func (*ConnectionCloudSql) DeepCopyInto

func (in *ConnectionCloudSql) DeepCopyInto(out *ConnectionCloudSql)

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

type ConnectionCredential

type ConnectionCredential struct {
	/* Password for database. */
	Password ConnectionPassword `json:"password"`

	/* Username for database. */
	Username string `json:"username"`
}

func (*ConnectionCredential) DeepCopy

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

func (*ConnectionCredential) DeepCopyInto

func (in *ConnectionCredential) DeepCopyInto(out *ConnectionCredential)

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

type ConnectionPassword

type ConnectionPassword struct {
	/* Value of the field. Cannot be used if 'valueFrom' is specified. */
	// +optional
	Value *string `json:"value,omitempty"`

	/* Source for the field's value. Cannot be used if 'value' is specified. */
	// +optional
	ValueFrom *ConnectionValueFrom `json:"valueFrom,omitempty"`
}

func (*ConnectionPassword) DeepCopy

func (in *ConnectionPassword) DeepCopy() *ConnectionPassword

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

func (*ConnectionPassword) DeepCopyInto

func (in *ConnectionPassword) DeepCopyInto(out *ConnectionPassword)

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

type ConnectionValueFrom

type ConnectionValueFrom struct {
	/* Reference to a value with the given key in the given Secret in the resource's namespace. */
	// +optional
	SecretKeyRef *v1alpha1.SecretKeyRef `json:"secretKeyRef,omitempty"`
}

func (*ConnectionValueFrom) DeepCopy

func (in *ConnectionValueFrom) DeepCopy() *ConnectionValueFrom

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

func (*ConnectionValueFrom) DeepCopyInto

func (in *ConnectionValueFrom) DeepCopyInto(out *ConnectionValueFrom)

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