config

package
v4.5.3 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCaMaterial

func GetCaMaterial(ctx *pulumi.Context) string

PEM-encoded content of Docker host CA certificate

func GetCertMaterial

func GetCertMaterial(ctx *pulumi.Context) string

PEM-encoded content of Docker client certificate

func GetCertPath

func GetCertPath(ctx *pulumi.Context) string

Path to directory with Docker TLS config

func GetHost

func GetHost(ctx *pulumi.Context) string

The Docker daemon address

func GetKeyMaterial

func GetKeyMaterial(ctx *pulumi.Context) string

PEM-encoded content of Docker client private key

func GetRegistryAuth

func GetRegistryAuth(ctx *pulumi.Context) string

func GetSshOpts

func GetSshOpts(ctx *pulumi.Context) string

Additional SSH option flags to be appended when using `ssh://` protocol

Types

type RegistryAuth

type RegistryAuth struct {
	// Address of the registry
	Address      string `pulumi:"address"`
	AuthDisabled *bool  `pulumi:"authDisabled"`
	// Path to docker json file for registry auth. Defaults to `~/.docker/config.json`. If `DOCKER_CONFIG` is set, the value of `DOCKER_CONFIG` is used as the path. `configFile` has predencen over all other options.
	ConfigFile *string `pulumi:"configFile"`
	// Plain content of the docker json file for registry auth. `configFileContent` has precedence over username/password.
	ConfigFileContent *string `pulumi:"configFileContent"`
	// Password for the registry. Defaults to `DOCKER_REGISTRY_PASS` env variable if set.
	Password *string `pulumi:"password"`
	// Username for the registry. Defaults to `DOCKER_REGISTRY_USER` env variable if set.
	Username *string `pulumi:"username"`
}

type RegistryAuthArgs

type RegistryAuthArgs struct {
	// Address of the registry
	Address      pulumi.StringInput  `pulumi:"address"`
	AuthDisabled pulumi.BoolPtrInput `pulumi:"authDisabled"`
	// Path to docker json file for registry auth. Defaults to `~/.docker/config.json`. If `DOCKER_CONFIG` is set, the value of `DOCKER_CONFIG` is used as the path. `configFile` has predencen over all other options.
	ConfigFile pulumi.StringPtrInput `pulumi:"configFile"`
	// Plain content of the docker json file for registry auth. `configFileContent` has precedence over username/password.
	ConfigFileContent pulumi.StringPtrInput `pulumi:"configFileContent"`
	// Password for the registry. Defaults to `DOCKER_REGISTRY_PASS` env variable if set.
	Password pulumi.StringPtrInput `pulumi:"password"`
	// Username for the registry. Defaults to `DOCKER_REGISTRY_USER` env variable if set.
	Username pulumi.StringPtrInput `pulumi:"username"`
}

func (RegistryAuthArgs) ElementType

func (RegistryAuthArgs) ElementType() reflect.Type

func (RegistryAuthArgs) ToRegistryAuthOutput

func (i RegistryAuthArgs) ToRegistryAuthOutput() RegistryAuthOutput

func (RegistryAuthArgs) ToRegistryAuthOutputWithContext

func (i RegistryAuthArgs) ToRegistryAuthOutputWithContext(ctx context.Context) RegistryAuthOutput

type RegistryAuthArray

type RegistryAuthArray []RegistryAuthInput

func (RegistryAuthArray) ElementType

func (RegistryAuthArray) ElementType() reflect.Type

func (RegistryAuthArray) ToRegistryAuthArrayOutput

func (i RegistryAuthArray) ToRegistryAuthArrayOutput() RegistryAuthArrayOutput

func (RegistryAuthArray) ToRegistryAuthArrayOutputWithContext

func (i RegistryAuthArray) ToRegistryAuthArrayOutputWithContext(ctx context.Context) RegistryAuthArrayOutput

type RegistryAuthArrayInput

type RegistryAuthArrayInput interface {
	pulumi.Input

	ToRegistryAuthArrayOutput() RegistryAuthArrayOutput
	ToRegistryAuthArrayOutputWithContext(context.Context) RegistryAuthArrayOutput
}

RegistryAuthArrayInput is an input type that accepts RegistryAuthArray and RegistryAuthArrayOutput values. You can construct a concrete instance of `RegistryAuthArrayInput` via:

RegistryAuthArray{ RegistryAuthArgs{...} }

type RegistryAuthArrayOutput

type RegistryAuthArrayOutput struct{ *pulumi.OutputState }

func (RegistryAuthArrayOutput) ElementType

func (RegistryAuthArrayOutput) ElementType() reflect.Type

func (RegistryAuthArrayOutput) Index

func (RegistryAuthArrayOutput) ToRegistryAuthArrayOutput

func (o RegistryAuthArrayOutput) ToRegistryAuthArrayOutput() RegistryAuthArrayOutput

func (RegistryAuthArrayOutput) ToRegistryAuthArrayOutputWithContext

func (o RegistryAuthArrayOutput) ToRegistryAuthArrayOutputWithContext(ctx context.Context) RegistryAuthArrayOutput

type RegistryAuthInput

type RegistryAuthInput interface {
	pulumi.Input

	ToRegistryAuthOutput() RegistryAuthOutput
	ToRegistryAuthOutputWithContext(context.Context) RegistryAuthOutput
}

RegistryAuthInput is an input type that accepts RegistryAuthArgs and RegistryAuthOutput values. You can construct a concrete instance of `RegistryAuthInput` via:

RegistryAuthArgs{...}

type RegistryAuthOutput

type RegistryAuthOutput struct{ *pulumi.OutputState }

func (RegistryAuthOutput) Address

Address of the registry

func (RegistryAuthOutput) AuthDisabled added in v4.1.0

func (o RegistryAuthOutput) AuthDisabled() pulumi.BoolPtrOutput

func (RegistryAuthOutput) ConfigFile

func (o RegistryAuthOutput) ConfigFile() pulumi.StringPtrOutput

Path to docker json file for registry auth. Defaults to `~/.docker/config.json`. If `DOCKER_CONFIG` is set, the value of `DOCKER_CONFIG` is used as the path. `configFile` has predencen over all other options.

func (RegistryAuthOutput) ConfigFileContent

func (o RegistryAuthOutput) ConfigFileContent() pulumi.StringPtrOutput

Plain content of the docker json file for registry auth. `configFileContent` has precedence over username/password.

func (RegistryAuthOutput) ElementType

func (RegistryAuthOutput) ElementType() reflect.Type

func (RegistryAuthOutput) Password

Password for the registry. Defaults to `DOCKER_REGISTRY_PASS` env variable if set.

func (RegistryAuthOutput) ToRegistryAuthOutput

func (o RegistryAuthOutput) ToRegistryAuthOutput() RegistryAuthOutput

func (RegistryAuthOutput) ToRegistryAuthOutputWithContext

func (o RegistryAuthOutput) ToRegistryAuthOutputWithContext(ctx context.Context) RegistryAuthOutput

func (RegistryAuthOutput) Username

Username for the registry. Defaults to `DOCKER_REGISTRY_USER` env variable if set.

Jump to

Keyboard shortcuts

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