v1beta1

package
v1.116.0 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 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 {
	/* Cleanup policies for this repository. Cleanup policies indicate when
	certain package versions can be automatically deleted.
	Map keys are policy IDs supplied by users during policy creation. They must
	unique within a repository and be under 128 characters in length. */
	// +optional
	CleanupPolicies []RepositoryCleanupPolicies `json:"cleanupPolicies,omitempty"`

	/* If true, the cleanup pipeline is prevented from deleting versions in this
	repository. */
	// +optional
	CleanupPolicyDryRun *bool `json:"cleanupPolicyDryRun,omitempty"`

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

	/* Docker repository config contains repository level configuration for the repositories of docker type. */
	// +optional
	DockerConfig *RepositoryDockerConfig `json:"dockerConfig,omitempty"`

	/* Immutable. The format of packages that are stored in the repository. Supported formats
	can be found [here](https://cloud.google.com/artifact-registry/docs/supported-formats).
	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). */
	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. The mode configures the repository to serve artifacts from different sources. Default value: "STANDARD_REPOSITORY" Possible values: ["STANDARD_REPOSITORY", "VIRTUAL_REPOSITORY", "REMOTE_REPOSITORY"]. */
	// +optional
	Mode *string `json:"mode,omitempty"`

	/* Immutable. Configuration specific for a Remote Repository. */
	// +optional
	RemoteRepositoryConfig *RepositoryRemoteRepositoryConfig `json:"remoteRepositoryConfig,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"`

	/* Configuration specific for a Virtual Repository. */
	// +optional
	VirtualRepositoryConfig *RepositoryVirtualRepositoryConfig `json:"virtualRepositoryConfig,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. */
	// +optional
	CreateTime *string `json:"createTime,omitempty"`

	/* The name of the repository, for example:
	"repo1". */
	// +optional
	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. */
	// +optional
	ObservedGeneration *int `json:"observedGeneration,omitempty"`

	/* The time when the repository was last updated. */
	// +optional
	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.

type RepositoryCleanupPolicies added in v1.109.0

type RepositoryCleanupPolicies struct {
	/* Policy action. Possible values: ["DELETE", "KEEP"]. */
	// +optional
	Action *string `json:"action,omitempty"`

	/* Policy condition for matching versions. */
	// +optional
	Condition *RepositoryCondition `json:"condition,omitempty"`

	Id string `json:"id"`

	/* Policy condition for retaining a minimum number of versions. May only be
	specified with a Keep action. */
	// +optional
	MostRecentVersions *RepositoryMostRecentVersions `json:"mostRecentVersions,omitempty"`
}

func (*RepositoryCleanupPolicies) DeepCopy added in v1.109.0

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

func (*RepositoryCleanupPolicies) DeepCopyInto added in v1.109.0

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

type RepositoryCondition added in v1.109.0

type RepositoryCondition struct {
	/* Match versions newer than a duration. */
	// +optional
	NewerThan *string `json:"newerThan,omitempty"`

	/* Match versions older than a duration. */
	// +optional
	OlderThan *string `json:"olderThan,omitempty"`

	/* Match versions by package prefix. Applied on any prefix match. */
	// +optional
	PackageNamePrefixes []string `json:"packageNamePrefixes,omitempty"`

	/* Match versions by tag prefix. Applied on any prefix match. */
	// +optional
	TagPrefixes []string `json:"tagPrefixes,omitempty"`

	/* Match versions by tag status. Default value: "ANY" Possible values: ["TAGGED", "UNTAGGED", "ANY"]. */
	// +optional
	TagState *string `json:"tagState,omitempty"`

	/* Match versions by version name prefix. Applied on any prefix match. */
	// +optional
	VersionNamePrefixes []string `json:"versionNamePrefixes,omitempty"`
}

func (*RepositoryCondition) DeepCopy added in v1.109.0

func (in *RepositoryCondition) DeepCopy() *RepositoryCondition

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

func (*RepositoryCondition) DeepCopyInto added in v1.109.0

func (in *RepositoryCondition) DeepCopyInto(out *RepositoryCondition)

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

type RepositoryDockerConfig added in v1.103.0

type RepositoryDockerConfig struct {
	/* The repository which enabled this flag prevents all tags from being modified, moved or deleted. This does not prevent tags from being created. */
	// +optional
	ImmutableTags *bool `json:"immutableTags,omitempty"`
}

func (*RepositoryDockerConfig) DeepCopy added in v1.103.0

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

func (*RepositoryDockerConfig) DeepCopyInto added in v1.103.0

func (in *RepositoryDockerConfig) DeepCopyInto(out *RepositoryDockerConfig)

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

type RepositoryDockerRepository added in v1.102.0

type RepositoryDockerRepository struct {
	/* Immutable. Address of the remote repository. Default value: "DOCKER_HUB" Possible values: ["DOCKER_HUB"]. */
	// +optional
	PublicRepository *string `json:"publicRepository,omitempty"`
}

func (*RepositoryDockerRepository) DeepCopy added in v1.102.0

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

func (*RepositoryDockerRepository) DeepCopyInto added in v1.102.0

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

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.

type RepositoryMavenRepository added in v1.102.0

type RepositoryMavenRepository struct {
	/* Immutable. Address of the remote repository. Default value: "MAVEN_CENTRAL" Possible values: ["MAVEN_CENTRAL"]. */
	// +optional
	PublicRepository *string `json:"publicRepository,omitempty"`
}

func (*RepositoryMavenRepository) DeepCopy added in v1.102.0

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

func (*RepositoryMavenRepository) DeepCopyInto added in v1.102.0

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

type RepositoryMostRecentVersions added in v1.109.0

type RepositoryMostRecentVersions struct {
	/* Minimum number of versions to keep. */
	// +optional
	KeepCount *int `json:"keepCount,omitempty"`

	/* Match versions by package prefix. Applied on any prefix match. */
	// +optional
	PackageNamePrefixes []string `json:"packageNamePrefixes,omitempty"`
}

func (*RepositoryMostRecentVersions) DeepCopy added in v1.109.0

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

func (*RepositoryMostRecentVersions) DeepCopyInto added in v1.109.0

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

type RepositoryNpmRepository added in v1.102.0

type RepositoryNpmRepository struct {
	/* Immutable. Address of the remote repository. Default value: "NPMJS" Possible values: ["NPMJS"]. */
	// +optional
	PublicRepository *string `json:"publicRepository,omitempty"`
}

func (*RepositoryNpmRepository) DeepCopy added in v1.102.0

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

func (*RepositoryNpmRepository) DeepCopyInto added in v1.102.0

func (in *RepositoryNpmRepository) DeepCopyInto(out *RepositoryNpmRepository)

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

type RepositoryPythonRepository added in v1.102.0

type RepositoryPythonRepository struct {
	/* Immutable. Address of the remote repository. Default value: "PYPI" Possible values: ["PYPI"]. */
	// +optional
	PublicRepository *string `json:"publicRepository,omitempty"`
}

func (*RepositoryPythonRepository) DeepCopy added in v1.102.0

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

func (*RepositoryPythonRepository) DeepCopyInto added in v1.102.0

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

type RepositoryRemoteRepositoryConfig added in v1.102.0

type RepositoryRemoteRepositoryConfig struct {
	/* Immutable. The description of the remote source. */
	// +optional
	Description *string `json:"description,omitempty"`

	/* Immutable. Specific settings for a Docker remote repository. */
	// +optional
	DockerRepository *RepositoryDockerRepository `json:"dockerRepository,omitempty"`

	/* Immutable. Specific settings for a Maven remote repository. */
	// +optional
	MavenRepository *RepositoryMavenRepository `json:"mavenRepository,omitempty"`

	/* Immutable. Specific settings for an Npm remote repository. */
	// +optional
	NpmRepository *RepositoryNpmRepository `json:"npmRepository,omitempty"`

	/* Immutable. Specific settings for a Python remote repository. */
	// +optional
	PythonRepository *RepositoryPythonRepository `json:"pythonRepository,omitempty"`
}

func (*RepositoryRemoteRepositoryConfig) DeepCopy added in v1.102.0

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

func (*RepositoryRemoteRepositoryConfig) DeepCopyInto added in v1.102.0

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

type RepositoryUpstreamPolicies added in v1.102.0

type RepositoryUpstreamPolicies struct {
	/* The user-provided ID of the upstream policy. */
	// +optional
	Id *string `json:"id,omitempty"`

	/* Entries with a greater priority value take precedence in the pull order. */
	// +optional
	Priority *int `json:"priority,omitempty"`

	/* A reference to the repository resource, for example:
	"projects/p1/locations/us-central1/repositories/repo1". */
	// +optional
	RepositoryRef *v1alpha1.ResourceRef `json:"repositoryRef,omitempty"`
}

func (*RepositoryUpstreamPolicies) DeepCopy added in v1.102.0

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

func (*RepositoryUpstreamPolicies) DeepCopyInto added in v1.102.0

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

type RepositoryVirtualRepositoryConfig added in v1.102.0

type RepositoryVirtualRepositoryConfig struct {
	/* Policies that configure the upstream artifacts distributed by the Virtual
	Repository. Upstream policies cannot be set on a standard repository. */
	// +optional
	UpstreamPolicies []RepositoryUpstreamPolicies `json:"upstreamPolicies,omitempty"`
}

func (*RepositoryVirtualRepositoryConfig) DeepCopy added in v1.102.0

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

func (*RepositoryVirtualRepositoryConfig) DeepCopyInto added in v1.102.0

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