registrycredentials

package
v0.3.8 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RegistryGithub         = Registry("GITHUB")
	RegistryGitlab         = Registry("GITLAB")
	RegistryDocker         = Registry("DOCKER")
	RegistryGoogleArtifact = Registry("GOOGLE_ARTIFACT")
)
View Source
const (
	RegistryCredentialRegistryGithub         = RegistryCredentialRegistry("GITHUB")
	RegistryCredentialRegistryGitlab         = RegistryCredentialRegistry("GITLAB")
	RegistryCredentialRegistryDocker         = RegistryCredentialRegistry("DOCKER")
	RegistryCredentialRegistryGoogleArtifact = RegistryCredentialRegistry("GOOGLE_ARTIFACT")
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ListRegistryCredentialsArgs

type ListRegistryCredentialsArgs struct {
}

type ListRegistryCredentialsOutputArgs

type ListRegistryCredentialsOutputArgs struct {
}

func (ListRegistryCredentialsOutputArgs) ElementType

type ListRegistryCredentialsResult

type ListRegistryCredentialsResult struct {
	Items []RegistryCredentialType `pulumi:"items"`
}

type ListRegistryCredentialsResultOutput

type ListRegistryCredentialsResultOutput struct{ *pulumi.OutputState }

func (ListRegistryCredentialsResultOutput) ElementType

func (ListRegistryCredentialsResultOutput) Items

func (ListRegistryCredentialsResultOutput) ToListRegistryCredentialsResultOutput

func (o ListRegistryCredentialsResultOutput) ToListRegistryCredentialsResultOutput() ListRegistryCredentialsResultOutput

func (ListRegistryCredentialsResultOutput) ToListRegistryCredentialsResultOutputWithContext

func (o ListRegistryCredentialsResultOutput) ToListRegistryCredentialsResultOutputWithContext(ctx context.Context) ListRegistryCredentialsResultOutput

type LookupRegistryCredentialArgs

type LookupRegistryCredentialArgs struct {
	// The ID of the registry credential
	RegistryCredentialId string `pulumi:"registryCredentialId"`
}

type LookupRegistryCredentialOutputArgs

type LookupRegistryCredentialOutputArgs struct {
	// The ID of the registry credential
	RegistryCredentialId pulumi.StringInput `pulumi:"registryCredentialId"`
}

func (LookupRegistryCredentialOutputArgs) ElementType

type LookupRegistryCredentialResult

type LookupRegistryCredentialResult struct {
	// Unique identifier for this credential
	Id string `pulumi:"id"`
	// Descriptive name for this credential
	Name string `pulumi:"name"`
	// The registry to use this credential with
	Registry RegistryCredentialRegistry `pulumi:"registry"`
	// The username associated with the credential
	Username string `pulumi:"username"`
}

type LookupRegistryCredentialResultArrayOutput added in v0.3.5

type LookupRegistryCredentialResultArrayOutput struct{ *pulumi.OutputState }

func (LookupRegistryCredentialResultArrayOutput) ElementType added in v0.3.5

func (LookupRegistryCredentialResultArrayOutput) Index added in v0.3.5

func (LookupRegistryCredentialResultArrayOutput) ToLookupRegistryCredentialResultArrayOutput added in v0.3.5

func (o LookupRegistryCredentialResultArrayOutput) ToLookupRegistryCredentialResultArrayOutput() LookupRegistryCredentialResultArrayOutput

func (LookupRegistryCredentialResultArrayOutput) ToLookupRegistryCredentialResultArrayOutputWithContext added in v0.3.5

func (o LookupRegistryCredentialResultArrayOutput) ToLookupRegistryCredentialResultArrayOutputWithContext(ctx context.Context) LookupRegistryCredentialResultArrayOutput

type LookupRegistryCredentialResultOutput

type LookupRegistryCredentialResultOutput struct{ *pulumi.OutputState }

func (LookupRegistryCredentialResultOutput) ElementType

func (LookupRegistryCredentialResultOutput) Id added in v0.3.5

Unique identifier for this credential

func (LookupRegistryCredentialResultOutput) Name added in v0.3.5

Descriptive name for this credential

func (LookupRegistryCredentialResultOutput) Registry added in v0.3.5

The registry to use this credential with

func (LookupRegistryCredentialResultOutput) ToLookupRegistryCredentialResultOutput

func (o LookupRegistryCredentialResultOutput) ToLookupRegistryCredentialResultOutput() LookupRegistryCredentialResultOutput

func (LookupRegistryCredentialResultOutput) ToLookupRegistryCredentialResultOutputWithContext

func (o LookupRegistryCredentialResultOutput) ToLookupRegistryCredentialResultOutputWithContext(ctx context.Context) LookupRegistryCredentialResultOutput

func (LookupRegistryCredentialResultOutput) Username added in v0.3.5

The username associated with the credential

type Registry added in v0.2.0

type Registry string

The registry to use this credential with

func (Registry) ElementType added in v0.2.0

func (Registry) ElementType() reflect.Type

func (Registry) ToRegistryOutput added in v0.2.0

func (e Registry) ToRegistryOutput() RegistryOutput

func (Registry) ToRegistryOutputWithContext added in v0.2.0

func (e Registry) ToRegistryOutputWithContext(ctx context.Context) RegistryOutput

func (Registry) ToRegistryPtrOutput added in v0.2.0

func (e Registry) ToRegistryPtrOutput() RegistryPtrOutput

func (Registry) ToRegistryPtrOutputWithContext added in v0.2.0

func (e Registry) ToRegistryPtrOutputWithContext(ctx context.Context) RegistryPtrOutput

func (Registry) ToStringOutput added in v0.2.0

func (e Registry) ToStringOutput() pulumi.StringOutput

func (Registry) ToStringOutputWithContext added in v0.2.0

func (e Registry) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (Registry) ToStringPtrOutput added in v0.2.0

func (e Registry) ToStringPtrOutput() pulumi.StringPtrOutput

func (Registry) ToStringPtrOutputWithContext added in v0.2.0

func (e Registry) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type RegistryCredential

type RegistryCredential struct {
	pulumi.CustomResourceState

	AuthToken pulumi.StringOutput `pulumi:"authToken"`
	// Descriptive name for this credential
	Name    pulumi.StringOutput `pulumi:"name"`
	OwnerId pulumi.StringOutput `pulumi:"ownerId"`
	// The registry to use this credential with
	Registry RegistryOutput `pulumi:"registry"`
	// The username associated with the credential
	Username pulumi.StringOutput `pulumi:"username"`
}

func GetRegistryCredential

func GetRegistryCredential(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RegistryCredentialState, opts ...pulumi.ResourceOption) (*RegistryCredential, error)

GetRegistryCredential gets an existing RegistryCredential resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewRegistryCredential

func NewRegistryCredential(ctx *pulumi.Context,
	name string, args *RegistryCredentialArgs, opts ...pulumi.ResourceOption) (*RegistryCredential, error)

NewRegistryCredential registers a new resource with the given unique name, arguments, and options.

func (*RegistryCredential) ElementType

func (*RegistryCredential) ElementType() reflect.Type

func (*RegistryCredential) ToRegistryCredentialOutput

func (i *RegistryCredential) ToRegistryCredentialOutput() RegistryCredentialOutput

func (*RegistryCredential) ToRegistryCredentialOutputWithContext

func (i *RegistryCredential) ToRegistryCredentialOutputWithContext(ctx context.Context) RegistryCredentialOutput

type RegistryCredentialArgs

type RegistryCredentialArgs struct {
	AuthToken pulumi.StringInput
	Name      pulumi.StringPtrInput
	OwnerId   pulumi.StringInput
	// The registry to use this credential with
	Registry RegistryInput
	Username pulumi.StringInput
}

The set of arguments for constructing a RegistryCredential resource.

func (RegistryCredentialArgs) ElementType

func (RegistryCredentialArgs) ElementType() reflect.Type

type RegistryCredentialInput

type RegistryCredentialInput interface {
	pulumi.Input

	ToRegistryCredentialOutput() RegistryCredentialOutput
	ToRegistryCredentialOutputWithContext(ctx context.Context) RegistryCredentialOutput
}

type RegistryCredentialOutput

type RegistryCredentialOutput struct{ *pulumi.OutputState }

func (RegistryCredentialOutput) AuthToken

func (RegistryCredentialOutput) ElementType

func (RegistryCredentialOutput) ElementType() reflect.Type

func (RegistryCredentialOutput) Name

Descriptive name for this credential

func (RegistryCredentialOutput) OwnerId

func (RegistryCredentialOutput) Registry

The registry to use this credential with

func (RegistryCredentialOutput) ToRegistryCredentialOutput

func (o RegistryCredentialOutput) ToRegistryCredentialOutput() RegistryCredentialOutput

func (RegistryCredentialOutput) ToRegistryCredentialOutputWithContext

func (o RegistryCredentialOutput) ToRegistryCredentialOutputWithContext(ctx context.Context) RegistryCredentialOutput

func (RegistryCredentialOutput) Username

The username associated with the credential

type RegistryCredentialRegistry added in v0.2.0

type RegistryCredentialRegistry string

The registry to use this credential with

type RegistryCredentialRegistryOutput added in v0.2.0

type RegistryCredentialRegistryOutput struct{ *pulumi.OutputState }

func (RegistryCredentialRegistryOutput) ElementType added in v0.2.0

func (RegistryCredentialRegistryOutput) ToRegistryCredentialRegistryOutput added in v0.2.0

func (o RegistryCredentialRegistryOutput) ToRegistryCredentialRegistryOutput() RegistryCredentialRegistryOutput

func (RegistryCredentialRegistryOutput) ToRegistryCredentialRegistryOutputWithContext added in v0.2.0

func (o RegistryCredentialRegistryOutput) ToRegistryCredentialRegistryOutputWithContext(ctx context.Context) RegistryCredentialRegistryOutput

func (RegistryCredentialRegistryOutput) ToRegistryCredentialRegistryPtrOutput added in v0.2.0

func (o RegistryCredentialRegistryOutput) ToRegistryCredentialRegistryPtrOutput() RegistryCredentialRegistryPtrOutput

func (RegistryCredentialRegistryOutput) ToRegistryCredentialRegistryPtrOutputWithContext added in v0.2.0

func (o RegistryCredentialRegistryOutput) ToRegistryCredentialRegistryPtrOutputWithContext(ctx context.Context) RegistryCredentialRegistryPtrOutput

func (RegistryCredentialRegistryOutput) ToStringOutput added in v0.2.0

func (RegistryCredentialRegistryOutput) ToStringOutputWithContext added in v0.2.0

func (o RegistryCredentialRegistryOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (RegistryCredentialRegistryOutput) ToStringPtrOutput added in v0.2.0

func (RegistryCredentialRegistryOutput) ToStringPtrOutputWithContext added in v0.2.0

func (o RegistryCredentialRegistryOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type RegistryCredentialRegistryPtrOutput added in v0.2.0

type RegistryCredentialRegistryPtrOutput struct{ *pulumi.OutputState }

func (RegistryCredentialRegistryPtrOutput) Elem added in v0.2.0

func (RegistryCredentialRegistryPtrOutput) ElementType added in v0.2.0

func (RegistryCredentialRegistryPtrOutput) ToRegistryCredentialRegistryPtrOutput added in v0.2.0

func (o RegistryCredentialRegistryPtrOutput) ToRegistryCredentialRegistryPtrOutput() RegistryCredentialRegistryPtrOutput

func (RegistryCredentialRegistryPtrOutput) ToRegistryCredentialRegistryPtrOutputWithContext added in v0.2.0

func (o RegistryCredentialRegistryPtrOutput) ToRegistryCredentialRegistryPtrOutputWithContext(ctx context.Context) RegistryCredentialRegistryPtrOutput

func (RegistryCredentialRegistryPtrOutput) ToStringPtrOutput added in v0.2.0

func (RegistryCredentialRegistryPtrOutput) ToStringPtrOutputWithContext added in v0.2.0

func (o RegistryCredentialRegistryPtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type RegistryCredentialState

type RegistryCredentialState struct {
}

func (RegistryCredentialState) ElementType

func (RegistryCredentialState) ElementType() reflect.Type

type RegistryCredentialType added in v0.2.0

type RegistryCredentialType struct {
	// Unique identifier for this credential
	Id string `pulumi:"id"`
	// Descriptive name for this credential
	Name string `pulumi:"name"`
	// The registry to use this credential with
	Registry RegistryCredentialRegistry `pulumi:"registry"`
	// The username associated with the credential
	Username string `pulumi:"username"`
}

type RegistryCredentialTypeArrayOutput added in v0.2.0

type RegistryCredentialTypeArrayOutput struct{ *pulumi.OutputState }

func (RegistryCredentialTypeArrayOutput) ElementType added in v0.2.0

func (RegistryCredentialTypeArrayOutput) Index added in v0.2.0

func (RegistryCredentialTypeArrayOutput) ToRegistryCredentialTypeArrayOutput added in v0.2.0

func (o RegistryCredentialTypeArrayOutput) ToRegistryCredentialTypeArrayOutput() RegistryCredentialTypeArrayOutput

func (RegistryCredentialTypeArrayOutput) ToRegistryCredentialTypeArrayOutputWithContext added in v0.2.0

func (o RegistryCredentialTypeArrayOutput) ToRegistryCredentialTypeArrayOutputWithContext(ctx context.Context) RegistryCredentialTypeArrayOutput

type RegistryCredentialTypeOutput added in v0.2.0

type RegistryCredentialTypeOutput struct{ *pulumi.OutputState }

func (RegistryCredentialTypeOutput) ElementType added in v0.2.0

func (RegistryCredentialTypeOutput) Id added in v0.2.0

Unique identifier for this credential

func (RegistryCredentialTypeOutput) Name added in v0.2.0

Descriptive name for this credential

func (RegistryCredentialTypeOutput) Registry added in v0.2.0

The registry to use this credential with

func (RegistryCredentialTypeOutput) ToRegistryCredentialTypeOutput added in v0.2.0

func (o RegistryCredentialTypeOutput) ToRegistryCredentialTypeOutput() RegistryCredentialTypeOutput

func (RegistryCredentialTypeOutput) ToRegistryCredentialTypeOutputWithContext added in v0.2.0

func (o RegistryCredentialTypeOutput) ToRegistryCredentialTypeOutputWithContext(ctx context.Context) RegistryCredentialTypeOutput

func (RegistryCredentialTypeOutput) Username added in v0.2.0

The username associated with the credential

type RegistryInput added in v0.2.0

type RegistryInput interface {
	pulumi.Input

	ToRegistryOutput() RegistryOutput
	ToRegistryOutputWithContext(context.Context) RegistryOutput
}

RegistryInput is an input type that accepts values of the Registry enum A concrete instance of `RegistryInput` can be one of the following:

RegistryGithub
RegistryGitlab
RegistryDocker
RegistryGoogleArtifact

type RegistryOutput added in v0.2.0

type RegistryOutput struct{ *pulumi.OutputState }

func (RegistryOutput) ElementType added in v0.2.0

func (RegistryOutput) ElementType() reflect.Type

func (RegistryOutput) ToRegistryOutput added in v0.2.0

func (o RegistryOutput) ToRegistryOutput() RegistryOutput

func (RegistryOutput) ToRegistryOutputWithContext added in v0.2.0

func (o RegistryOutput) ToRegistryOutputWithContext(ctx context.Context) RegistryOutput

func (RegistryOutput) ToRegistryPtrOutput added in v0.2.0

func (o RegistryOutput) ToRegistryPtrOutput() RegistryPtrOutput

func (RegistryOutput) ToRegistryPtrOutputWithContext added in v0.2.0

func (o RegistryOutput) ToRegistryPtrOutputWithContext(ctx context.Context) RegistryPtrOutput

func (RegistryOutput) ToStringOutput added in v0.2.0

func (o RegistryOutput) ToStringOutput() pulumi.StringOutput

func (RegistryOutput) ToStringOutputWithContext added in v0.2.0

func (o RegistryOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (RegistryOutput) ToStringPtrOutput added in v0.2.0

func (o RegistryOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (RegistryOutput) ToStringPtrOutputWithContext added in v0.2.0

func (o RegistryOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type RegistryPtrInput added in v0.2.0

type RegistryPtrInput interface {
	pulumi.Input

	ToRegistryPtrOutput() RegistryPtrOutput
	ToRegistryPtrOutputWithContext(context.Context) RegistryPtrOutput
}

func RegistryPtr added in v0.2.0

func RegistryPtr(v string) RegistryPtrInput

type RegistryPtrOutput added in v0.2.0

type RegistryPtrOutput struct{ *pulumi.OutputState }

func (RegistryPtrOutput) Elem added in v0.2.0

func (RegistryPtrOutput) ElementType added in v0.2.0

func (RegistryPtrOutput) ElementType() reflect.Type

func (RegistryPtrOutput) ToRegistryPtrOutput added in v0.2.0

func (o RegistryPtrOutput) ToRegistryPtrOutput() RegistryPtrOutput

func (RegistryPtrOutput) ToRegistryPtrOutputWithContext added in v0.2.0

func (o RegistryPtrOutput) ToRegistryPtrOutputWithContext(ctx context.Context) RegistryPtrOutput

func (RegistryPtrOutput) ToStringPtrOutput added in v0.2.0

func (o RegistryPtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (RegistryPtrOutput) ToStringPtrOutputWithContext added in v0.2.0

func (o RegistryPtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

Jump to

Keyboard shortcuts

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