v1beta1

package
v1.123.0 Latest Latest
Warning

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

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

Documentation

Overview

Package v1beta1 contains API Schema definitions for the dataform 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/dataform +k8s:defaulter-gen=TypeMeta +groupName=dataform.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: "dataform.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

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

Functions

This section is empty.

Types

type DataformRepository

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

	Spec   DataformRepositorySpec   `json:"spec,omitempty"`
	Status DataformRepositoryStatus `json:"status,omitempty"`
}

DataformRepository is the Schema for the dataform API +k8s:openapi-gen=true

func (*DataformRepository) DeepCopy

func (in *DataformRepository) DeepCopy() *DataformRepository

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

func (*DataformRepository) DeepCopyInto

func (in *DataformRepository) DeepCopyInto(out *DataformRepository)

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

func (*DataformRepository) DeepCopyObject

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

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

type DataformRepositoryList

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

DataformRepositoryList contains a list of DataformRepository

func (*DataformRepositoryList) DeepCopy

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

func (*DataformRepositoryList) DeepCopyInto

func (in *DataformRepositoryList) DeepCopyInto(out *DataformRepositoryList)

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

func (*DataformRepositoryList) DeepCopyObject

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

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

type DataformRepositorySpec

type DataformRepositorySpec struct {
	/* Optional. The repository's user-friendly name. */
	// +optional
	DisplayName *string `json:"displayName,omitempty"`

	/* Optional. If set, configures this repository to be linked to a Git remote. */
	// +optional
	GitRemoteSettings *RepositoryGitRemoteSettings `json:"gitRemoteSettings,omitempty"`

	/* Optional. The name of the Secret Manager secret version to be used to interpolate variables into the .npmrc file for package installation operations. */
	// +optional
	NpmrcEnvironmentVariablesSecretVersionRef *v1alpha1.ResourceRef `json:"npmrcEnvironmentVariablesSecretVersionRef,omitempty"`

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

	/* Immutable. A reference to the region. */
	Region string `json:"region"`

	/* 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"`

	/* Optional. The service account reference to run workflow invocations under. */
	// +optional
	ServiceAccountRef *v1alpha1.ResourceRef `json:"serviceAccountRef,omitempty"`

	/* Optional. Input only. If set to true, the authenticated user will be granted the roles/dataform.admin role on the created repository. */
	// +optional
	SetAuthenticatedUserAdmin *bool `json:"setAuthenticatedUserAdmin,omitempty"`

	/* Optional. If set, fields of workspaceCompilationOverrides override the default compilation settings that are specified in dataform.json when creating workspace-scoped compilation results. */
	// +optional
	WorkspaceCompilationOverrides *RepositoryWorkspaceCompilationOverrides `json:"workspaceCompilationOverrides,omitempty"`
}

func (*DataformRepositorySpec) DeepCopy

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

func (*DataformRepositorySpec) DeepCopyInto

func (in *DataformRepositorySpec) DeepCopyInto(out *DataformRepositorySpec)

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

type DataformRepositoryStatus

type DataformRepositoryStatus struct {
	/* Conditions represent the latest available observations of the
	   DataformRepository's current state. */
	Conditions []v1alpha1.Condition `json:"conditions,omitempty"`
	/* A unique specifier for the DataformReposity resource in GCP. */
	// +optional
	ExternalRef *string `json:"externalRef,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"`

	/* ObservedState is the state of the resource as most recently observed in GCP. */
	// +optional
	ObservedState *RepositoryObservedStateStatus `json:"observedState,omitempty"`
}

func (*DataformRepositoryStatus) DeepCopy

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

func (*DataformRepositoryStatus) DeepCopyInto

func (in *DataformRepositoryStatus) DeepCopyInto(out *DataformRepositoryStatus)

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

type RepositoryGitRemoteSettings

type RepositoryGitRemoteSettings struct {
	/* The name of the Secret Manager secret version to use as an authentication token for Git operations. Must be in the format projects/* /secrets/* /versions/*. */
	// +optional
	AuthenticationTokenSecretVersionRef *v1alpha1.ResourceRef `json:"authenticationTokenSecretVersionRef,omitempty"`

	/* The Git remote's default branch name. */
	DefaultBranch string `json:"defaultBranch"`

	/* Authentication fields for remote uris using SSH protocol. */
	// +optional
	SshAuthenticationConfig *RepositorySshAuthenticationConfig `json:"sshAuthenticationConfig,omitempty"`

	/* The Git remote's URL. */
	Url string `json:"url"`
}

func (*RepositoryGitRemoteSettings) DeepCopy

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

func (*RepositoryGitRemoteSettings) DeepCopyInto

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

type RepositoryObservedStateStatus

type RepositoryObservedStateStatus struct {
}

func (*RepositoryObservedStateStatus) DeepCopy

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

func (*RepositoryObservedStateStatus) DeepCopyInto

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

type RepositorySshAuthenticationConfig

type RepositorySshAuthenticationConfig struct {
	/* Content of a public SSH key to verify an identity of a remote Git host. */
	HostPublicKey string `json:"hostPublicKey"`

	/* The name of the Secret Manager secret version to use as a ssh private key for Git operations. Must be in the format projects/* /secrets/* /versions/* . */
	UserPrivateKeySecretVersionRef v1alpha1.ResourceRef `json:"userPrivateKeySecretVersionRef"`
}

func (*RepositorySshAuthenticationConfig) DeepCopy

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

func (*RepositorySshAuthenticationConfig) DeepCopyInto

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

type RepositoryWorkspaceCompilationOverrides

type RepositoryWorkspaceCompilationOverrides struct {
	/* Optional. The default database (Google Cloud project ID). */
	// +optional
	DefaultDatabase *string `json:"defaultDatabase,omitempty"`

	/* Optional. The suffix that should be appended to all schema (BigQuery dataset ID) names. */
	// +optional
	SchemaSuffix *string `json:"schemaSuffix,omitempty"`

	/* Optional. The prefix that should be prepended to all table names. */
	// +optional
	TablePrefix *string `json:"tablePrefix,omitempty"`
}

func (*RepositoryWorkspaceCompilationOverrides) DeepCopy

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

func (*RepositoryWorkspaceCompilationOverrides) DeepCopyInto

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