v1beta1

package
v1.78.0 Latest Latest
Warning

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

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

Documentation

Overview

Generate deepcopy object for artifactregistry/v1beta1 API group

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

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

Functions

This section is empty.

Types

type ArtifactRegistryRepository

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

	Spec   ArtifactRegistryRepositorySpec   `json:"spec,omitempty"`
	Status ArtifactRegistryRepositoryStatus `json:"status,omitempty"`
}

ArtifactRegistryRepository is the Schema for the artifactregistry API +k8s:openapi-gen=true

func (*ArtifactRegistryRepository) DeepCopy

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

func (*ArtifactRegistryRepository) DeepCopyInto

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

func (*ArtifactRegistryRepository) DeepCopyObject

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

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

type ArtifactRegistryRepositoryList

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

ArtifactRegistryRepositoryList contains a list of ArtifactRegistryRepository

func (*ArtifactRegistryRepositoryList) DeepCopy

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

func (*ArtifactRegistryRepositoryList) DeepCopyInto

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

func (*ArtifactRegistryRepositoryList) DeepCopyObject

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

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

type ArtifactRegistryRepositorySpec

type ArtifactRegistryRepositorySpec struct {
	/* The user-provided description of the repository. */
	// +optional
	Description *string `json:"description,omitempty"`

	/* Immutable. The format of packages that are stored in the repository. You can only create
	alpha formats if you are a member of the [alpha user group](https://cloud.google.com/artifact-registry/docs/supported-formats#alpha-access).

	- DOCKER
	- MAVEN ([Preview](https://cloud.google.com/products#product-launch-stages))
	- NPM ([Preview](https://cloud.google.com/products#product-launch-stages))
	- PYTHON ([Preview](https://cloud.google.com/products#product-launch-stages))
	- APT ([alpha](https://cloud.google.com/products#product-launch-stages))
	- YUM ([alpha](https://cloud.google.com/products#product-launch-stages))
	- HELM ([alpha](https://cloud.google.com/products#product-launch-stages)). */
	Format string `json:"format"`

	/* The customer managed encryption key that’s used to encrypt the
	contents of the Repository. */
	// +optional
	KmsKeyRef *v1alpha1.ResourceRef `json:"kmsKeyRef,omitempty"`

	/* Immutable. The name of the location this repository is located in. */
	Location string `json:"location"`

	/* Immutable. Optional. The repositoryId 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 (*ArtifactRegistryRepositorySpec) DeepCopy

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

func (*ArtifactRegistryRepositorySpec) DeepCopyInto

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

type ArtifactRegistryRepositoryStatus

type ArtifactRegistryRepositoryStatus struct {
	/* Conditions represent the latest available observations of the
	   ArtifactRegistryRepository's current state. */
	Conditions []v1alpha1.Condition `json:"conditions,omitempty"`
	/* The time when the repository was created. */
	CreateTime string `json:"createTime,omitempty"`
	/* The name of the repository, for example:
	"projects/p1/locations/us-central1/repositories/repo1". */
	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. */
	ObservedGeneration int `json:"observedGeneration,omitempty"`
	/* The time when the repository was last updated. */
	UpdateTime string `json:"updateTime,omitempty"`
}

func (*ArtifactRegistryRepositoryStatus) DeepCopy

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

func (*ArtifactRegistryRepositoryStatus) 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