dockercredentialv1

package
v0.0.30 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DockerRepoProvider_name = map[int32]string{
		0: "docker_repo_provider_unspecified",
		1: "gcp_artifact_registry",
		2: "aws_elastic_container_registry",
		3: "azure_container_registry",
		4: "jfrog_artifactory",
	}
	DockerRepoProvider_value = map[string]int32{
		"docker_repo_provider_unspecified": 0,
		"gcp_artifact_registry":            1,
		"aws_elastic_container_registry":   2,
		"azure_container_registry":         3,
		"jfrog_artifactory":                4,
	}
)

Enum value maps for DockerRepoProvider.

View Source
var File_project_planton_credential_dockercredential_v1_api_proto protoreflect.FileDescriptor
View Source
var File_project_planton_credential_dockercredential_v1_spec_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type DockerCredential

type DockerCredential struct {

	// api-version
	ApiVersion string `protobuf:"bytes,1,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"`
	// resource-kind
	Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
	// metadata for the resource
	// id format "<id-prefix>-<org-id>-<normalized-resource-name>"
	Metadata *shared.ApiResourceMetadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// spec
	Spec *DockerCredentialSpec `protobuf:"bytes,4,opt,name=spec,proto3" json:"spec,omitempty"`
	// status
	Status *shared.ApiResourceLifecycleAndAuditStatus `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

docker-credential

func (*DockerCredential) Descriptor deprecated

func (*DockerCredential) Descriptor() ([]byte, []int)

Deprecated: Use DockerCredential.ProtoReflect.Descriptor instead.

func (*DockerCredential) GetApiVersion

func (x *DockerCredential) GetApiVersion() string

func (*DockerCredential) GetKind

func (x *DockerCredential) GetKind() string

func (*DockerCredential) GetMetadata

func (x *DockerCredential) GetMetadata() *shared.ApiResourceMetadata

func (*DockerCredential) GetSpec

func (x *DockerCredential) GetSpec() *DockerCredentialSpec

func (*DockerCredential) GetStatus

func (*DockerCredential) ProtoMessage

func (*DockerCredential) ProtoMessage()

func (*DockerCredential) ProtoReflect

func (x *DockerCredential) ProtoReflect() protoreflect.Message

func (*DockerCredential) Reset

func (x *DockerCredential) Reset()

func (*DockerCredential) String

func (x *DockerCredential) String() string

type DockerCredentialAwsElasticContainerRegistry added in v0.0.22

type DockerCredentialAwsElasticContainerRegistry struct {
	// contains filtered or unexported fields
}

DockerCredentialAwsElasticContainerRegistry message represents the specification required to connect to a Docker repository hosted on AWS. This message consolidates the necessary input parameters for establishing a secure connection with a AWS Elastic Container Registry.

func (*DockerCredentialAwsElasticContainerRegistry) Descriptor deprecated added in v0.0.22

Deprecated: Use DockerCredentialAwsElasticContainerRegistry.ProtoReflect.Descriptor instead.

func (*DockerCredentialAwsElasticContainerRegistry) ProtoMessage added in v0.0.22

func (*DockerCredentialAwsElasticContainerRegistry) ProtoReflect added in v0.0.22

func (*DockerCredentialAwsElasticContainerRegistry) Reset added in v0.0.22

func (*DockerCredentialAwsElasticContainerRegistry) String added in v0.0.22

type DockerCredentialAzureContainerRegistry added in v0.0.22

type DockerCredentialAzureContainerRegistry struct {
	// contains filtered or unexported fields
}

DockerCredentialAzureContainerRegistry message represents the specification required to connect to a Docker repository hosted on Azure. This message consolidates the necessary input parameters for establishing a secure connection with a Azure Container Registry.

func (*DockerCredentialAzureContainerRegistry) Descriptor deprecated added in v0.0.22

func (*DockerCredentialAzureContainerRegistry) Descriptor() ([]byte, []int)

Deprecated: Use DockerCredentialAzureContainerRegistry.ProtoReflect.Descriptor instead.

func (*DockerCredentialAzureContainerRegistry) ProtoMessage added in v0.0.22

func (*DockerCredentialAzureContainerRegistry) ProtoReflect added in v0.0.22

func (*DockerCredentialAzureContainerRegistry) Reset added in v0.0.22

func (*DockerCredentialAzureContainerRegistry) String added in v0.0.22

type DockerCredentialGcpArtifactRegistry

type DockerCredentialGcpArtifactRegistry struct {

	// The ID of the GCP project in which the Docker repository is created.
	// This field is used to identify the specific GCP project hosting the Docker repository.
	GcpProjectId string `protobuf:"bytes,1,opt,name=gcp_project_id,json=gcpProjectId,proto3" json:"gcp_project_id,omitempty"`
	// The GCP region in which the Docker repository is created.
	// This field is required for constructing the registry hostname.
	GcpRegion string `protobuf:"bytes,2,opt,name=gcp_region,json=gcpRegion,proto3" json:"gcp_region,omitempty"`
	// The Google Service Account Base64 key that has the required permissions for downloading Docker images from the repository.
	// This field must contain a valid base64 encoded service account key.
	ServiceAccountKeyBase64 string `` /* 134-byte string literal not displayed */
	// contains filtered or unexported fields
}

DockerCredentialGcpArtifactRegistry message represents the specification required to connect to a Docker repository hosted on GCP Artifact Registry. This message consolidates the necessary input parameters for establishing a secure connection with a GCP Artifact Registry.

func (*DockerCredentialGcpArtifactRegistry) Descriptor deprecated

func (*DockerCredentialGcpArtifactRegistry) Descriptor() ([]byte, []int)

Deprecated: Use DockerCredentialGcpArtifactRegistry.ProtoReflect.Descriptor instead.

func (*DockerCredentialGcpArtifactRegistry) GetGcpProjectId

func (x *DockerCredentialGcpArtifactRegistry) GetGcpProjectId() string

func (*DockerCredentialGcpArtifactRegistry) GetGcpRegion

func (x *DockerCredentialGcpArtifactRegistry) GetGcpRegion() string

func (*DockerCredentialGcpArtifactRegistry) GetServiceAccountKeyBase64 added in v0.0.22

func (x *DockerCredentialGcpArtifactRegistry) GetServiceAccountKeyBase64() string

func (*DockerCredentialGcpArtifactRegistry) ProtoMessage

func (*DockerCredentialGcpArtifactRegistry) ProtoMessage()

func (*DockerCredentialGcpArtifactRegistry) ProtoReflect

func (*DockerCredentialGcpArtifactRegistry) Reset

func (*DockerCredentialGcpArtifactRegistry) String

type DockerCredentialJfrogArtifactory added in v0.0.22

type DockerCredentialJfrogArtifactory struct {
	// contains filtered or unexported fields
}

DockerCredentialJfrogArtifactory message represents the specification required to connect to a Docker repository hosted on JFrog Artifactory. This message consolidates the necessary input parameters for establishing a secure connection with a JFrog Artifactory.

func (*DockerCredentialJfrogArtifactory) Descriptor deprecated added in v0.0.22

func (*DockerCredentialJfrogArtifactory) Descriptor() ([]byte, []int)

Deprecated: Use DockerCredentialJfrogArtifactory.ProtoReflect.Descriptor instead.

func (*DockerCredentialJfrogArtifactory) ProtoMessage added in v0.0.22

func (*DockerCredentialJfrogArtifactory) ProtoMessage()

func (*DockerCredentialJfrogArtifactory) ProtoReflect added in v0.0.22

func (*DockerCredentialJfrogArtifactory) Reset added in v0.0.22

func (*DockerCredentialJfrogArtifactory) String added in v0.0.22

type DockerCredentialSpec

type DockerCredentialSpec struct {

	// The Docker repository provider, specifying the type of Docker repository (e.g., GCP Artifact Registry, AWS CodeArtifact, Azure Artifacts, JFrog Artifactory).
	Provider DockerRepoProvider `` /* 141-byte string literal not displayed */
	// Credential specification for GCP Artifact Registry provider.
	// This field contains detailed information for connecting to a Docker repository hosted on GCP Artifact Registry.
	GcpArtifactRegistry *DockerCredentialGcpArtifactRegistry `protobuf:"bytes,2,opt,name=gcp_artifact_registry,json=gcpArtifactRegistry,proto3" json:"gcp_artifact_registry,omitempty"`
	// Credential specification for AWS Elastic Container Registry.
	// This field contains detailed information for connecting to a Docker repository hosted on AWS.
	AwsElasticContainerRegistry *DockerCredentialAwsElasticContainerRegistry `` /* 146-byte string literal not displayed */
	// Credential specification for GCP Artifact Registry provider.
	// This field contains detailed information for connecting to a Docker repository hosted on Azure.
	AzureContainerRegistry *DockerCredentialAzureContainerRegistry `` /* 129-byte string literal not displayed */
	// Credential specification for GCP Artifact Registry provider.
	// This field contains detailed information for connecting to a Docker repository hosted on Jfrog Artifactory.
	JfrogArtifactory *DockerCredentialJfrogArtifactory `protobuf:"bytes,5,opt,name=jfrog_artifactory,json=jfrogArtifactory,proto3" json:"jfrog_artifactory,omitempty"`
	// contains filtered or unexported fields
}

DockerCredentialSpec message represents the specification required to connect to a Docker repository. This message consolidates all necessary input parameters to establish a connection with a Docker repository, ensuring accurate configuration and validation of credentials. Fields include environment information, Docker repository provider, and credentials for GCP Artifact Registry.

func (*DockerCredentialSpec) Descriptor deprecated

func (*DockerCredentialSpec) Descriptor() ([]byte, []int)

Deprecated: Use DockerCredentialSpec.ProtoReflect.Descriptor instead.

func (*DockerCredentialSpec) GetAwsElasticContainerRegistry added in v0.0.22

func (x *DockerCredentialSpec) GetAwsElasticContainerRegistry() *DockerCredentialAwsElasticContainerRegistry

func (*DockerCredentialSpec) GetAzureContainerRegistry added in v0.0.22

func (x *DockerCredentialSpec) GetAzureContainerRegistry() *DockerCredentialAzureContainerRegistry

func (*DockerCredentialSpec) GetGcpArtifactRegistry

func (x *DockerCredentialSpec) GetGcpArtifactRegistry() *DockerCredentialGcpArtifactRegistry

func (*DockerCredentialSpec) GetJfrogArtifactory added in v0.0.22

func (x *DockerCredentialSpec) GetJfrogArtifactory() *DockerCredentialJfrogArtifactory

func (*DockerCredentialSpec) GetProvider added in v0.0.22

func (x *DockerCredentialSpec) GetProvider() DockerRepoProvider

func (*DockerCredentialSpec) ProtoMessage

func (*DockerCredentialSpec) ProtoMessage()

func (*DockerCredentialSpec) ProtoReflect

func (x *DockerCredentialSpec) ProtoReflect() protoreflect.Message

func (*DockerCredentialSpec) Reset

func (x *DockerCredentialSpec) Reset()

func (*DockerCredentialSpec) String

func (x *DockerCredentialSpec) String() string

type DockerRepoProvider

type DockerRepoProvider int32

DockerRepoProvider enum represents the various Docker repository providers. This enumeration allows specifying the type of Docker repository being used, such as GCP Artifact Registry, AWS CodeArtifact, Azure Artifacts, or JFrog Artifactory etc.

const (
	DockerRepoProvider_docker_repo_provider_unspecified DockerRepoProvider = 0
	DockerRepoProvider_gcp_artifact_registry            DockerRepoProvider = 1
	DockerRepoProvider_aws_elastic_container_registry   DockerRepoProvider = 2
	DockerRepoProvider_azure_container_registry         DockerRepoProvider = 3
	DockerRepoProvider_jfrog_artifactory                DockerRepoProvider = 4
)

func (DockerRepoProvider) Descriptor

func (DockerRepoProvider) Enum

func (DockerRepoProvider) EnumDescriptor deprecated

func (DockerRepoProvider) EnumDescriptor() ([]byte, []int)

Deprecated: Use DockerRepoProvider.Descriptor instead.

func (DockerRepoProvider) Number

func (DockerRepoProvider) String

func (x DockerRepoProvider) String() string

func (DockerRepoProvider) Type

Jump to

Keyboard shortcuts

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