v1alpha1

package
v1.106.0 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Generate deepcopy object for dataform/v1alpha1 API group

Package v1alpha1 contains API Schema definitions for the dataform 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/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. If set, configures this repository to be linked to a Git remote. */
	// +optional
	GitRemoteSettings *RepositoryGitRemoteSettings `json:"gitRemoteSettings,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"`
}

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"`
	/* 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 (*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/*. */
	AuthenticationTokenSecretVersion string `json:"authenticationTokenSecretVersion"`

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

	/* Indicates the status of the Git access token. https://cloud.google.com/dataform/reference/rest/v1beta1/projects.locations.repositories#TokenStatus. */
	// +optional
	TokenStatus *string `json:"tokenStatus,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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL