Documentation
¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the dataform v1alpha1 API group +kubebuilder:object:generate=true +groupName=dataform.cnrm.cloud.google.com
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "dataform.cnrm.cloud.google.com", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme DataformRepositoryGVK = schema.GroupVersionKind{ Group: GroupVersion.Group, Version: GroupVersion.Version, Kind: "DataformRepository", } )
Functions ¶
This section is empty.
Types ¶
type DataformRepository ¶
type DataformRepository struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
// +required
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 ¶
func (in *DataformRepositoryList) DeepCopy() *DataformRepositoryList
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 DataformRepositoryObservedState ¶ added in v1.122.0
type DataformRepositoryObservedState struct {
}
+kcc:observedstate:proto=google.cloud.dataform.v1beta1.Repository
func (*DataformRepositoryObservedState) DeepCopy ¶ added in v1.122.0
func (in *DataformRepositoryObservedState) DeepCopy() *DataformRepositoryObservedState
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataformRepositoryObservedState.
func (*DataformRepositoryObservedState) DeepCopyInto ¶ added in v1.122.0
func (in *DataformRepositoryObservedState) DeepCopyInto(out *DataformRepositoryObservedState)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DataformRepositorySpec ¶
type DataformRepositorySpec struct {
/* Optional. If set, configures this repository to be linked to a Git remote. */
// +optional
GitRemoteSettings *RepositoryGitRemoteSettings `json:"gitRemoteSettings,omitempty"`
// Optional. The repository's user-friendly name.
// +optional
DisplayName *string `json:"displayName,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 *refv1beta1.SecretManagerSecretVersionRef `json:"npmrcEnvironmentVariablesSecretVersionRef,omitempty"`
/* The project that this resource belongs to. */
// +required
ProjectRef *refv1beta1.ProjectRef `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. 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"`
// Optional. The service account reference to run workflow invocations under.
ServiceAccountRef *refv1beta1.IAMServiceAccountRef `json:"serviceAccountRef,omitempty"`
}
+kcc:spec:proto=google.cloud.dataform.v1beta1.Repository
func (*DataformRepositorySpec) DeepCopy ¶
func (in *DataformRepositorySpec) DeepCopy() *DataformRepositorySpec
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"`
/* 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"`
// A unique specifier for the DataformReposity resource in GCP.
// +optional
ExternalRef *string `json:"externalRef,omitempty"`
// ObservedState is the state of the resource as most recently observed in GCP.
// +optional
ObservedState *DataformRepositoryObservedState `json:"observedState,omitempty"`
}
func (*DataformRepositoryStatus) DeepCopy ¶
func (in *DataformRepositoryStatus) DeepCopy() *DataformRepositoryStatus
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/*. */
AuthenticationTokenSecretVersionRef *refv1beta1.SecretManagerSecretVersionRef `json:"authenticationTokenSecretVersionRef,omitempty"`
/* The Git remote's default branch name. */
// +required
DefaultBranch string `json:"defaultBranch"`
// Authentication fields for remote uris using SSH protocol.
// +optional
SSHAuthenticationConfig *SSHAuthenticationConfig `json:"sshAuthenticationConfig,omitempty"`
/* The Git remote's URL. */
// +required
Url string `json:"url"`
}
+kcc:proto=google.cloud.dataform.v1beta1.Repository.GitRemoteSettings
func (*RepositoryGitRemoteSettings) DeepCopy ¶
func (in *RepositoryGitRemoteSettings) DeepCopy() *RepositoryGitRemoteSettings
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryGitRemoteSettings.
func (*RepositoryGitRemoteSettings) DeepCopyInto ¶
func (in *RepositoryGitRemoteSettings) DeepCopyInto(out *RepositoryGitRemoteSettings)
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"`
}
+kcc:proto=google.cloud.dataform.v1beta1.Repository.WorkspaceCompilationOverrides
func (*RepositoryWorkspaceCompilationOverrides) DeepCopy ¶
func (in *RepositoryWorkspaceCompilationOverrides) DeepCopy() *RepositoryWorkspaceCompilationOverrides
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryWorkspaceCompilationOverrides.
func (*RepositoryWorkspaceCompilationOverrides) DeepCopyInto ¶
func (in *RepositoryWorkspaceCompilationOverrides) DeepCopyInto(out *RepositoryWorkspaceCompilationOverrides)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SSHAuthenticationConfig ¶ added in v1.122.0
type SSHAuthenticationConfig struct {
// 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/* .
// +required
UserPrivateKeySecretVersionRef *refv1beta1.SecretManagerSecretVersionRef `json:"userPrivateKeySecretVersionRef,omitempty"`
// Content of a public SSH key to verify an identity of a remote Git host.
// +required
HostPublicKey string `json:"hostPublicKey,omitempty"`
}
func (*SSHAuthenticationConfig) DeepCopy ¶ added in v1.122.0
func (in *SSHAuthenticationConfig) DeepCopy() *SSHAuthenticationConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SSHAuthenticationConfig.
func (*SSHAuthenticationConfig) DeepCopyInto ¶ added in v1.122.0
func (in *SSHAuthenticationConfig) DeepCopyInto(out *SSHAuthenticationConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.