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 ¶
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 ¶
func (in *ArtifactRegistryRepository) DeepCopy() *ArtifactRegistryRepository
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArtifactRegistryRepository.
func (*ArtifactRegistryRepository) DeepCopyInto ¶
func (in *ArtifactRegistryRepository) DeepCopyInto(out *ArtifactRegistryRepository)
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 ¶
func (in *ArtifactRegistryRepositoryList) DeepCopy() *ArtifactRegistryRepositoryList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArtifactRegistryRepositoryList.
func (*ArtifactRegistryRepositoryList) DeepCopyInto ¶
func (in *ArtifactRegistryRepositoryList) DeepCopyInto(out *ArtifactRegistryRepositoryList)
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"` /* MavenRepositoryConfig is maven related repository details. Provides additional configuration details for repositories of the maven format type. */ // +optional MavenConfig *RepositoryMavenConfig `json:"mavenConfig,omitempty"` /* 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 ¶
func (in *ArtifactRegistryRepositorySpec) DeepCopy() *ArtifactRegistryRepositorySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArtifactRegistryRepositorySpec.
func (*ArtifactRegistryRepositorySpec) DeepCopyInto ¶
func (in *ArtifactRegistryRepositorySpec) DeepCopyInto(out *ArtifactRegistryRepositorySpec)
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 ¶
func (in *ArtifactRegistryRepositoryStatus) DeepCopy() *ArtifactRegistryRepositoryStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArtifactRegistryRepositoryStatus.
func (*ArtifactRegistryRepositoryStatus) DeepCopyInto ¶
func (in *ArtifactRegistryRepositoryStatus) DeepCopyInto(out *ArtifactRegistryRepositoryStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RepositoryMavenConfig ¶ added in v1.79.0
type RepositoryMavenConfig struct { /* Immutable. The repository with this flag will allow publishing the same snapshot versions. */ // +optional AllowSnapshotOverwrites *bool `json:"allowSnapshotOverwrites,omitempty"` /* Immutable. Version policy defines the versions that the registry will accept. Default value: "VERSION_POLICY_UNSPECIFIED" Possible values: ["VERSION_POLICY_UNSPECIFIED", "RELEASE", "SNAPSHOT"]. */ // +optional VersionPolicy *string `json:"versionPolicy,omitempty"` }
func (*RepositoryMavenConfig) DeepCopy ¶ added in v1.79.0
func (in *RepositoryMavenConfig) DeepCopy() *RepositoryMavenConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryMavenConfig.
func (*RepositoryMavenConfig) DeepCopyInto ¶ added in v1.79.0
func (in *RepositoryMavenConfig) DeepCopyInto(out *RepositoryMavenConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.