Documentation
¶
Index ¶
- func GetCaMaterial(ctx *pulumi.Context) string
- func GetCertMaterial(ctx *pulumi.Context) string
- func GetCertPath(ctx *pulumi.Context) string
- func GetContext(ctx *pulumi.Context) string
- func GetDisableDockerDaemonCheck(ctx *pulumi.Context) bool
- func GetHost(ctx *pulumi.Context) string
- func GetKeyMaterial(ctx *pulumi.Context) string
- func GetRegistryAuth(ctx *pulumi.Context) string
- func GetSshOpts(ctx *pulumi.Context) string
- type RegistryAuth
- type RegistryAuthArgs
- type RegistryAuthArray
- type RegistryAuthArrayInput
- type RegistryAuthArrayOutput
- func (RegistryAuthArrayOutput) ElementType() reflect.Type
- func (o RegistryAuthArrayOutput) Index(i pulumi.IntInput) RegistryAuthOutput
- func (o RegistryAuthArrayOutput) ToRegistryAuthArrayOutput() RegistryAuthArrayOutput
- func (o RegistryAuthArrayOutput) ToRegistryAuthArrayOutputWithContext(ctx context.Context) RegistryAuthArrayOutput
- type RegistryAuthInput
- type RegistryAuthOutput
- func (o RegistryAuthOutput) Address() pulumi.StringOutput
- func (o RegistryAuthOutput) AuthDisabled() pulumi.BoolPtrOutput
- func (o RegistryAuthOutput) ConfigFile() pulumi.StringPtrOutput
- func (o RegistryAuthOutput) ConfigFileContent() pulumi.StringPtrOutput
- func (RegistryAuthOutput) ElementType() reflect.Type
- func (o RegistryAuthOutput) Password() pulumi.StringPtrOutput
- func (o RegistryAuthOutput) ToRegistryAuthOutput() RegistryAuthOutput
- func (o RegistryAuthOutput) ToRegistryAuthOutputWithContext(ctx context.Context) RegistryAuthOutput
- func (o RegistryAuthOutput) Username() pulumi.StringPtrOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCaMaterial ¶
PEM-encoded content of Docker host CA certificate
func GetCertMaterial ¶
PEM-encoded content of Docker client certificate
func GetCertPath ¶
Path to directory with Docker TLS config
func GetContext ¶ added in v4.7.0
The name of the Docker context to use. Can also be set via `DOCKER_CONTEXT` environment variable. Overrides the `host` if set.
func GetDisableDockerDaemonCheck ¶ added in v4.7.0
If set to `true`, the provider will not check if the Docker daemon is running. This is useful for resources/data_sourcess that do not require a running Docker daemon, such as the data source `RegistryImage`.
func GetKeyMaterial ¶
PEM-encoded content of Docker client private key
func GetRegistryAuth ¶
func GetSshOpts ¶
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 (o RegistryAuthArrayOutput) Index(i pulumi.IntInput) RegistryAuthOutput
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 ¶
func (o RegistryAuthOutput) Address() pulumi.StringOutput
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 ¶
func (o RegistryAuthOutput) Password() pulumi.StringPtrOutput
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 ¶
func (o RegistryAuthOutput) Username() pulumi.StringPtrOutput
Username for the registry. Defaults to `DOCKER_REGISTRY_USER` env variable if set.