buildx

package
v4.6.0-beta.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// Only layers that are exported into the resulting image are cached.
	CacheModeMin = CacheMode("min")
	// All layers are cached, even those of intermediate steps.
	CacheModeMax = CacheMode("max")
)
View Source
const (
	// Use `gzip` for compression.
	CompressionTypeGzip = CompressionType("gzip")
	// Use `estargz` for compression.
	CompressionTypeEstargz = CompressionType("estargz")
	// Use `zstd` for compression.
	CompressionTypeZstd = CompressionType("zstd")
)
View Source
const (
	// The default sandbox network mode.
	NetworkModeDefault = NetworkMode("default")
	// Host network mode.
	NetworkModeHost = NetworkMode("host")
	// Disable network access.
	NetworkModeNone = NetworkMode("none")
)
View Source
const (
	Platform_Darwin_386      = Platform("darwin/386")
	Platform_Darwin_amd64    = Platform("darwin/amd64")
	Platform_Darwin_arm      = Platform("darwin/arm")
	Platform_Darwin_arm64    = Platform("darwin/arm64")
	Platform_Dragonfly_amd64 = Platform("dragonfly/amd64")
	Platform_Freebsd_386     = Platform("freebsd/386")
	Platform_Freebsd_amd64   = Platform("freebsd/amd64")
	Platform_Freebsd_arm     = Platform("freebsd/arm")
	Platform_Linux_386       = Platform("linux/386")
	Platform_Linux_amd64     = Platform("linux/amd64")
	Platform_Linux_arm       = Platform("linux/arm")
	Platform_Linux_arm64     = Platform("linux/arm64")
	Platform_Linux_mips64    = Platform("linux/mips64")
	Platform_Linux_mips64le  = Platform("linux/mips64le")
	Platform_Linux_ppc64le   = Platform("linux/ppc64le")
	Platform_Linux_riscv64   = Platform("linux/riscv64")
	Platform_Linux_s390x     = Platform("linux/s390x")
	Platform_Netbsd_386      = Platform("netbsd/386")
	Platform_Netbsd_amd64    = Platform("netbsd/amd64")
	Platform_Netbsd_arm      = Platform("netbsd/arm")
	Platform_Openbsd_386     = Platform("openbsd/386")
	Platform_Openbsd_amd64   = Platform("openbsd/amd64")
	Platform_Openbsd_arm     = Platform("openbsd/arm")
	Platform_Plan9_386       = Platform("plan9/386")
	Platform_Plan9_amd64     = Platform("plan9/amd64")
	Platform_Solaris_amd64   = Platform("solaris/amd64")
	Platform_Windows_386     = Platform("windows/386")
	Platform_Windows_amd64   = Platform("windows/amd64")
)

Variables

This section is empty.

Functions

This section is empty.

Types

type BuildContext

type BuildContext struct {
	// Resources to use for build context.
	//
	// The location can be:
	// * A relative or absolute path to a local directory (`.`, `./app`,
	//   `/app`, etc.).
	// * A remote URL of a Git repository, tarball, or plain text file
	//   (`https://github.com/user/myrepo.git`, `http://server/context.tar.gz`,
	//   etc.).
	Location string `pulumi:"location"`
	// Additional build contexts to use.
	//
	// These contexts are accessed with `FROM name` or `--from=name`
	// statements when using Dockerfile 1.4+ syntax.
	//
	// Values can be local paths, HTTP URLs, or  `docker-image://` images.
	Named map[string]Context `pulumi:"named"`
}

type BuildContextArgs

type BuildContextArgs struct {
	// Resources to use for build context.
	//
	// The location can be:
	// * A relative or absolute path to a local directory (`.`, `./app`,
	//   `/app`, etc.).
	// * A remote URL of a Git repository, tarball, or plain text file
	//   (`https://github.com/user/myrepo.git`, `http://server/context.tar.gz`,
	//   etc.).
	Location pulumi.StringInput `pulumi:"location"`
	// Additional build contexts to use.
	//
	// These contexts are accessed with `FROM name` or `--from=name`
	// statements when using Dockerfile 1.4+ syntax.
	//
	// Values can be local paths, HTTP URLs, or  `docker-image://` images.
	Named ContextMapInput `pulumi:"named"`
}

func (BuildContextArgs) ElementType

func (BuildContextArgs) ElementType() reflect.Type

func (BuildContextArgs) ToBuildContextOutput

func (i BuildContextArgs) ToBuildContextOutput() BuildContextOutput

func (BuildContextArgs) ToBuildContextOutputWithContext

func (i BuildContextArgs) ToBuildContextOutputWithContext(ctx context.Context) BuildContextOutput

func (BuildContextArgs) ToBuildContextPtrOutput

func (i BuildContextArgs) ToBuildContextPtrOutput() BuildContextPtrOutput

func (BuildContextArgs) ToBuildContextPtrOutputWithContext

func (i BuildContextArgs) ToBuildContextPtrOutputWithContext(ctx context.Context) BuildContextPtrOutput

type BuildContextInput

type BuildContextInput interface {
	pulumi.Input

	ToBuildContextOutput() BuildContextOutput
	ToBuildContextOutputWithContext(context.Context) BuildContextOutput
}

BuildContextInput is an input type that accepts BuildContextArgs and BuildContextOutput values. You can construct a concrete instance of `BuildContextInput` via:

BuildContextArgs{...}

type BuildContextOutput

type BuildContextOutput struct{ *pulumi.OutputState }

func (BuildContextOutput) ElementType

func (BuildContextOutput) ElementType() reflect.Type

func (BuildContextOutput) Location

func (o BuildContextOutput) Location() pulumi.StringOutput

Resources to use for build context.

The location can be:

func (BuildContextOutput) Named

Additional build contexts to use.

These contexts are accessed with `FROM name` or `--from=name` statements when using Dockerfile 1.4+ syntax.

Values can be local paths, HTTP URLs, or `docker-image://` images.

func (BuildContextOutput) ToBuildContextOutput

func (o BuildContextOutput) ToBuildContextOutput() BuildContextOutput

func (BuildContextOutput) ToBuildContextOutputWithContext

func (o BuildContextOutput) ToBuildContextOutputWithContext(ctx context.Context) BuildContextOutput

func (BuildContextOutput) ToBuildContextPtrOutput

func (o BuildContextOutput) ToBuildContextPtrOutput() BuildContextPtrOutput

func (BuildContextOutput) ToBuildContextPtrOutputWithContext

func (o BuildContextOutput) ToBuildContextPtrOutputWithContext(ctx context.Context) BuildContextPtrOutput

type BuildContextPtrInput

type BuildContextPtrInput interface {
	pulumi.Input

	ToBuildContextPtrOutput() BuildContextPtrOutput
	ToBuildContextPtrOutputWithContext(context.Context) BuildContextPtrOutput
}

BuildContextPtrInput is an input type that accepts BuildContextArgs, BuildContextPtr and BuildContextPtrOutput values. You can construct a concrete instance of `BuildContextPtrInput` via:

        BuildContextArgs{...}

or:

        nil

type BuildContextPtrOutput

type BuildContextPtrOutput struct{ *pulumi.OutputState }

func (BuildContextPtrOutput) Elem

func (BuildContextPtrOutput) ElementType

func (BuildContextPtrOutput) ElementType() reflect.Type

func (BuildContextPtrOutput) Location

Resources to use for build context.

The location can be:

func (BuildContextPtrOutput) Named

Additional build contexts to use.

These contexts are accessed with `FROM name` or `--from=name` statements when using Dockerfile 1.4+ syntax.

Values can be local paths, HTTP URLs, or `docker-image://` images.

func (BuildContextPtrOutput) ToBuildContextPtrOutput

func (o BuildContextPtrOutput) ToBuildContextPtrOutput() BuildContextPtrOutput

func (BuildContextPtrOutput) ToBuildContextPtrOutputWithContext

func (o BuildContextPtrOutput) ToBuildContextPtrOutputWithContext(ctx context.Context) BuildContextPtrOutput

type BuilderConfig

type BuilderConfig struct {
	// Name of an existing buildx builder to use.
	//
	// Only `docker-container`, `kubernetes`, or `remote` drivers are
	// supported. The legacy `docker` driver is not supported.
	//
	// Equivalent to Docker's `--builder` flag.
	Name *string `pulumi:"name"`
}

type BuilderConfigArgs

type BuilderConfigArgs struct {
	// Name of an existing buildx builder to use.
	//
	// Only `docker-container`, `kubernetes`, or `remote` drivers are
	// supported. The legacy `docker` driver is not supported.
	//
	// Equivalent to Docker's `--builder` flag.
	Name pulumi.StringPtrInput `pulumi:"name"`
}

func (BuilderConfigArgs) ElementType

func (BuilderConfigArgs) ElementType() reflect.Type

func (BuilderConfigArgs) ToBuilderConfigOutput

func (i BuilderConfigArgs) ToBuilderConfigOutput() BuilderConfigOutput

func (BuilderConfigArgs) ToBuilderConfigOutputWithContext

func (i BuilderConfigArgs) ToBuilderConfigOutputWithContext(ctx context.Context) BuilderConfigOutput

func (BuilderConfigArgs) ToBuilderConfigPtrOutput

func (i BuilderConfigArgs) ToBuilderConfigPtrOutput() BuilderConfigPtrOutput

func (BuilderConfigArgs) ToBuilderConfigPtrOutputWithContext

func (i BuilderConfigArgs) ToBuilderConfigPtrOutputWithContext(ctx context.Context) BuilderConfigPtrOutput

type BuilderConfigInput

type BuilderConfigInput interface {
	pulumi.Input

	ToBuilderConfigOutput() BuilderConfigOutput
	ToBuilderConfigOutputWithContext(context.Context) BuilderConfigOutput
}

BuilderConfigInput is an input type that accepts BuilderConfigArgs and BuilderConfigOutput values. You can construct a concrete instance of `BuilderConfigInput` via:

BuilderConfigArgs{...}

type BuilderConfigOutput

type BuilderConfigOutput struct{ *pulumi.OutputState }

func (BuilderConfigOutput) ElementType

func (BuilderConfigOutput) ElementType() reflect.Type

func (BuilderConfigOutput) Name

Name of an existing buildx builder to use.

Only `docker-container`, `kubernetes`, or `remote` drivers are supported. The legacy `docker` driver is not supported.

Equivalent to Docker's `--builder` flag.

func (BuilderConfigOutput) ToBuilderConfigOutput

func (o BuilderConfigOutput) ToBuilderConfigOutput() BuilderConfigOutput

func (BuilderConfigOutput) ToBuilderConfigOutputWithContext

func (o BuilderConfigOutput) ToBuilderConfigOutputWithContext(ctx context.Context) BuilderConfigOutput

func (BuilderConfigOutput) ToBuilderConfigPtrOutput

func (o BuilderConfigOutput) ToBuilderConfigPtrOutput() BuilderConfigPtrOutput

func (BuilderConfigOutput) ToBuilderConfigPtrOutputWithContext

func (o BuilderConfigOutput) ToBuilderConfigPtrOutputWithContext(ctx context.Context) BuilderConfigPtrOutput

type BuilderConfigPtrInput

type BuilderConfigPtrInput interface {
	pulumi.Input

	ToBuilderConfigPtrOutput() BuilderConfigPtrOutput
	ToBuilderConfigPtrOutputWithContext(context.Context) BuilderConfigPtrOutput
}

BuilderConfigPtrInput is an input type that accepts BuilderConfigArgs, BuilderConfigPtr and BuilderConfigPtrOutput values. You can construct a concrete instance of `BuilderConfigPtrInput` via:

        BuilderConfigArgs{...}

or:

        nil

type BuilderConfigPtrOutput

type BuilderConfigPtrOutput struct{ *pulumi.OutputState }

func (BuilderConfigPtrOutput) Elem

func (BuilderConfigPtrOutput) ElementType

func (BuilderConfigPtrOutput) ElementType() reflect.Type

func (BuilderConfigPtrOutput) Name

Name of an existing buildx builder to use.

Only `docker-container`, `kubernetes`, or `remote` drivers are supported. The legacy `docker` driver is not supported.

Equivalent to Docker's `--builder` flag.

func (BuilderConfigPtrOutput) ToBuilderConfigPtrOutput

func (o BuilderConfigPtrOutput) ToBuilderConfigPtrOutput() BuilderConfigPtrOutput

func (BuilderConfigPtrOutput) ToBuilderConfigPtrOutputWithContext

func (o BuilderConfigPtrOutput) ToBuilderConfigPtrOutputWithContext(ctx context.Context) BuilderConfigPtrOutput

type CacheFromAzureBlob

type CacheFromAzureBlob struct {
	// Base URL of the storage account.
	AccountUrl *string `pulumi:"accountUrl"`
	// The name of the cache image.
	Name string `pulumi:"name"`
	// Blob storage account key.
	SecretAccessKey *string `pulumi:"secretAccessKey"`
}

type CacheFromAzureBlobArgs

type CacheFromAzureBlobArgs struct {
	// Base URL of the storage account.
	AccountUrl pulumi.StringPtrInput `pulumi:"accountUrl"`
	// The name of the cache image.
	Name pulumi.StringInput `pulumi:"name"`
	// Blob storage account key.
	SecretAccessKey pulumi.StringPtrInput `pulumi:"secretAccessKey"`
}

func (CacheFromAzureBlobArgs) ElementType

func (CacheFromAzureBlobArgs) ElementType() reflect.Type

func (CacheFromAzureBlobArgs) ToCacheFromAzureBlobOutput

func (i CacheFromAzureBlobArgs) ToCacheFromAzureBlobOutput() CacheFromAzureBlobOutput

func (CacheFromAzureBlobArgs) ToCacheFromAzureBlobOutputWithContext

func (i CacheFromAzureBlobArgs) ToCacheFromAzureBlobOutputWithContext(ctx context.Context) CacheFromAzureBlobOutput

func (CacheFromAzureBlobArgs) ToCacheFromAzureBlobPtrOutput

func (i CacheFromAzureBlobArgs) ToCacheFromAzureBlobPtrOutput() CacheFromAzureBlobPtrOutput

func (CacheFromAzureBlobArgs) ToCacheFromAzureBlobPtrOutputWithContext

func (i CacheFromAzureBlobArgs) ToCacheFromAzureBlobPtrOutputWithContext(ctx context.Context) CacheFromAzureBlobPtrOutput

type CacheFromAzureBlobInput

type CacheFromAzureBlobInput interface {
	pulumi.Input

	ToCacheFromAzureBlobOutput() CacheFromAzureBlobOutput
	ToCacheFromAzureBlobOutputWithContext(context.Context) CacheFromAzureBlobOutput
}

CacheFromAzureBlobInput is an input type that accepts CacheFromAzureBlobArgs and CacheFromAzureBlobOutput values. You can construct a concrete instance of `CacheFromAzureBlobInput` via:

CacheFromAzureBlobArgs{...}

type CacheFromAzureBlobOutput

type CacheFromAzureBlobOutput struct{ *pulumi.OutputState }

func (CacheFromAzureBlobOutput) AccountUrl

Base URL of the storage account.

func (CacheFromAzureBlobOutput) ElementType

func (CacheFromAzureBlobOutput) ElementType() reflect.Type

func (CacheFromAzureBlobOutput) Name

The name of the cache image.

func (CacheFromAzureBlobOutput) SecretAccessKey

func (o CacheFromAzureBlobOutput) SecretAccessKey() pulumi.StringPtrOutput

Blob storage account key.

func (CacheFromAzureBlobOutput) ToCacheFromAzureBlobOutput

func (o CacheFromAzureBlobOutput) ToCacheFromAzureBlobOutput() CacheFromAzureBlobOutput

func (CacheFromAzureBlobOutput) ToCacheFromAzureBlobOutputWithContext

func (o CacheFromAzureBlobOutput) ToCacheFromAzureBlobOutputWithContext(ctx context.Context) CacheFromAzureBlobOutput

func (CacheFromAzureBlobOutput) ToCacheFromAzureBlobPtrOutput

func (o CacheFromAzureBlobOutput) ToCacheFromAzureBlobPtrOutput() CacheFromAzureBlobPtrOutput

func (CacheFromAzureBlobOutput) ToCacheFromAzureBlobPtrOutputWithContext

func (o CacheFromAzureBlobOutput) ToCacheFromAzureBlobPtrOutputWithContext(ctx context.Context) CacheFromAzureBlobPtrOutput

type CacheFromAzureBlobPtrInput

type CacheFromAzureBlobPtrInput interface {
	pulumi.Input

	ToCacheFromAzureBlobPtrOutput() CacheFromAzureBlobPtrOutput
	ToCacheFromAzureBlobPtrOutputWithContext(context.Context) CacheFromAzureBlobPtrOutput
}

CacheFromAzureBlobPtrInput is an input type that accepts CacheFromAzureBlobArgs, CacheFromAzureBlobPtr and CacheFromAzureBlobPtrOutput values. You can construct a concrete instance of `CacheFromAzureBlobPtrInput` via:

        CacheFromAzureBlobArgs{...}

or:

        nil

type CacheFromAzureBlobPtrOutput

type CacheFromAzureBlobPtrOutput struct{ *pulumi.OutputState }

func (CacheFromAzureBlobPtrOutput) AccountUrl

Base URL of the storage account.

func (CacheFromAzureBlobPtrOutput) Elem

func (CacheFromAzureBlobPtrOutput) ElementType

func (CacheFromAzureBlobPtrOutput) Name

The name of the cache image.

func (CacheFromAzureBlobPtrOutput) SecretAccessKey

Blob storage account key.

func (CacheFromAzureBlobPtrOutput) ToCacheFromAzureBlobPtrOutput

func (o CacheFromAzureBlobPtrOutput) ToCacheFromAzureBlobPtrOutput() CacheFromAzureBlobPtrOutput

func (CacheFromAzureBlobPtrOutput) ToCacheFromAzureBlobPtrOutputWithContext

func (o CacheFromAzureBlobPtrOutput) ToCacheFromAzureBlobPtrOutputWithContext(ctx context.Context) CacheFromAzureBlobPtrOutput

type CacheFromEntry

type CacheFromEntry struct {
	// Upload build caches to Azure's blob storage service.
	Azblob *CacheFromAzureBlob `pulumi:"azblob"`
	// When `true` this entry will be excluded. Defaults to `false`.
	Disabled *bool `pulumi:"disabled"`
	// Recommended for use with GitHub Actions workflows.
	//
	// An action like `crazy-max/ghaction-github-runtime` is recommended to
	// expose appropriate credentials to your GitHub workflow.
	Gha *CacheFromGitHubActions `pulumi:"gha"`
	// A simple backend which caches images on your local filesystem.
	Local *CacheFromLocal `pulumi:"local"`
	// A raw string as you would provide it to the Docker CLI (e.g.,
	// `type=inline`).
	Raw *string `pulumi:"raw"`
	// Upload build caches to remote registries.
	Registry *CacheFromRegistry `pulumi:"registry"`
	// Upload build caches to AWS S3 or an S3-compatible services such as
	// MinIO.
	S3 *CacheFromS3 `pulumi:"s3"`
}

func (*CacheFromEntry) Defaults

func (val *CacheFromEntry) Defaults() *CacheFromEntry

Defaults sets the appropriate defaults for CacheFromEntry

type CacheFromEntryArgs

type CacheFromEntryArgs struct {
	// Upload build caches to Azure's blob storage service.
	Azblob CacheFromAzureBlobPtrInput `pulumi:"azblob"`
	// When `true` this entry will be excluded. Defaults to `false`.
	Disabled pulumi.BoolPtrInput `pulumi:"disabled"`
	// Recommended for use with GitHub Actions workflows.
	//
	// An action like `crazy-max/ghaction-github-runtime` is recommended to
	// expose appropriate credentials to your GitHub workflow.
	Gha CacheFromGitHubActionsPtrInput `pulumi:"gha"`
	// A simple backend which caches images on your local filesystem.
	Local CacheFromLocalPtrInput `pulumi:"local"`
	// A raw string as you would provide it to the Docker CLI (e.g.,
	// `type=inline`).
	Raw pulumi.StringPtrInput `pulumi:"raw"`
	// Upload build caches to remote registries.
	Registry CacheFromRegistryPtrInput `pulumi:"registry"`
	// Upload build caches to AWS S3 or an S3-compatible services such as
	// MinIO.
	S3 CacheFromS3PtrInput `pulumi:"s3"`
}

func (*CacheFromEntryArgs) Defaults

func (val *CacheFromEntryArgs) Defaults() *CacheFromEntryArgs

Defaults sets the appropriate defaults for CacheFromEntryArgs

func (CacheFromEntryArgs) ElementType

func (CacheFromEntryArgs) ElementType() reflect.Type

func (CacheFromEntryArgs) ToCacheFromEntryOutput

func (i CacheFromEntryArgs) ToCacheFromEntryOutput() CacheFromEntryOutput

func (CacheFromEntryArgs) ToCacheFromEntryOutputWithContext

func (i CacheFromEntryArgs) ToCacheFromEntryOutputWithContext(ctx context.Context) CacheFromEntryOutput

type CacheFromEntryArray

type CacheFromEntryArray []CacheFromEntryInput

func (CacheFromEntryArray) ElementType

func (CacheFromEntryArray) ElementType() reflect.Type

func (CacheFromEntryArray) ToCacheFromEntryArrayOutput

func (i CacheFromEntryArray) ToCacheFromEntryArrayOutput() CacheFromEntryArrayOutput

func (CacheFromEntryArray) ToCacheFromEntryArrayOutputWithContext

func (i CacheFromEntryArray) ToCacheFromEntryArrayOutputWithContext(ctx context.Context) CacheFromEntryArrayOutput

type CacheFromEntryArrayInput

type CacheFromEntryArrayInput interface {
	pulumi.Input

	ToCacheFromEntryArrayOutput() CacheFromEntryArrayOutput
	ToCacheFromEntryArrayOutputWithContext(context.Context) CacheFromEntryArrayOutput
}

CacheFromEntryArrayInput is an input type that accepts CacheFromEntryArray and CacheFromEntryArrayOutput values. You can construct a concrete instance of `CacheFromEntryArrayInput` via:

CacheFromEntryArray{ CacheFromEntryArgs{...} }

type CacheFromEntryArrayOutput

type CacheFromEntryArrayOutput struct{ *pulumi.OutputState }

func (CacheFromEntryArrayOutput) ElementType

func (CacheFromEntryArrayOutput) ElementType() reflect.Type

func (CacheFromEntryArrayOutput) Index

func (CacheFromEntryArrayOutput) ToCacheFromEntryArrayOutput

func (o CacheFromEntryArrayOutput) ToCacheFromEntryArrayOutput() CacheFromEntryArrayOutput

func (CacheFromEntryArrayOutput) ToCacheFromEntryArrayOutputWithContext

func (o CacheFromEntryArrayOutput) ToCacheFromEntryArrayOutputWithContext(ctx context.Context) CacheFromEntryArrayOutput

type CacheFromEntryInput

type CacheFromEntryInput interface {
	pulumi.Input

	ToCacheFromEntryOutput() CacheFromEntryOutput
	ToCacheFromEntryOutputWithContext(context.Context) CacheFromEntryOutput
}

CacheFromEntryInput is an input type that accepts CacheFromEntryArgs and CacheFromEntryOutput values. You can construct a concrete instance of `CacheFromEntryInput` via:

CacheFromEntryArgs{...}

type CacheFromEntryOutput

type CacheFromEntryOutput struct{ *pulumi.OutputState }

func (CacheFromEntryOutput) Azblob

Upload build caches to Azure's blob storage service.

func (CacheFromEntryOutput) Disabled

When `true` this entry will be excluded. Defaults to `false`.

func (CacheFromEntryOutput) ElementType

func (CacheFromEntryOutput) ElementType() reflect.Type

func (CacheFromEntryOutput) Gha

Recommended for use with GitHub Actions workflows.

An action like `crazy-max/ghaction-github-runtime` is recommended to expose appropriate credentials to your GitHub workflow.

func (CacheFromEntryOutput) Local

A simple backend which caches images on your local filesystem.

func (CacheFromEntryOutput) Raw

A raw string as you would provide it to the Docker CLI (e.g., `type=inline`).

func (CacheFromEntryOutput) Registry

Upload build caches to remote registries.

func (CacheFromEntryOutput) S3

Upload build caches to AWS S3 or an S3-compatible services such as MinIO.

func (CacheFromEntryOutput) ToCacheFromEntryOutput

func (o CacheFromEntryOutput) ToCacheFromEntryOutput() CacheFromEntryOutput

func (CacheFromEntryOutput) ToCacheFromEntryOutputWithContext

func (o CacheFromEntryOutput) ToCacheFromEntryOutputWithContext(ctx context.Context) CacheFromEntryOutput

type CacheFromGitHubActions

type CacheFromGitHubActions struct {
	// The scope to use for cache keys. Defaults to `buildkit`.
	//
	// This should be set if building and caching multiple images in one
	// workflow, otherwise caches will overwrite each other.
	Scope *string `pulumi:"scope"`
	// The GitHub Actions token to use. This is not a personal access tokens
	// and is typically generated automatically as part of each job.
	//
	// Defaults to `$ACTIONS_RUNTIME_TOKEN`, although a separate action like
	// `crazy-max/ghaction-github-runtime` is recommended to expose this
	// environment variable to your jobs.
	Token *string `pulumi:"token"`
	// The cache server URL to use for artifacts.
	//
	// Defaults to `$ACTIONS_RUNTIME_URL`, although a separate action like
	// `crazy-max/ghaction-github-runtime` is recommended to expose this
	// environment variable to your jobs.
	Url *string `pulumi:"url"`
}

func (*CacheFromGitHubActions) Defaults

Defaults sets the appropriate defaults for CacheFromGitHubActions

type CacheFromGitHubActionsArgs

type CacheFromGitHubActionsArgs struct {
	// The scope to use for cache keys. Defaults to `buildkit`.
	//
	// This should be set if building and caching multiple images in one
	// workflow, otherwise caches will overwrite each other.
	Scope pulumi.StringPtrInput `pulumi:"scope"`
	// The GitHub Actions token to use. This is not a personal access tokens
	// and is typically generated automatically as part of each job.
	//
	// Defaults to `$ACTIONS_RUNTIME_TOKEN`, although a separate action like
	// `crazy-max/ghaction-github-runtime` is recommended to expose this
	// environment variable to your jobs.
	Token pulumi.StringPtrInput `pulumi:"token"`
	// The cache server URL to use for artifacts.
	//
	// Defaults to `$ACTIONS_RUNTIME_URL`, although a separate action like
	// `crazy-max/ghaction-github-runtime` is recommended to expose this
	// environment variable to your jobs.
	Url pulumi.StringPtrInput `pulumi:"url"`
}

func (*CacheFromGitHubActionsArgs) Defaults

Defaults sets the appropriate defaults for CacheFromGitHubActionsArgs

func (CacheFromGitHubActionsArgs) ElementType

func (CacheFromGitHubActionsArgs) ElementType() reflect.Type

func (CacheFromGitHubActionsArgs) ToCacheFromGitHubActionsOutput

func (i CacheFromGitHubActionsArgs) ToCacheFromGitHubActionsOutput() CacheFromGitHubActionsOutput

func (CacheFromGitHubActionsArgs) ToCacheFromGitHubActionsOutputWithContext

func (i CacheFromGitHubActionsArgs) ToCacheFromGitHubActionsOutputWithContext(ctx context.Context) CacheFromGitHubActionsOutput

func (CacheFromGitHubActionsArgs) ToCacheFromGitHubActionsPtrOutput

func (i CacheFromGitHubActionsArgs) ToCacheFromGitHubActionsPtrOutput() CacheFromGitHubActionsPtrOutput

func (CacheFromGitHubActionsArgs) ToCacheFromGitHubActionsPtrOutputWithContext

func (i CacheFromGitHubActionsArgs) ToCacheFromGitHubActionsPtrOutputWithContext(ctx context.Context) CacheFromGitHubActionsPtrOutput

type CacheFromGitHubActionsInput

type CacheFromGitHubActionsInput interface {
	pulumi.Input

	ToCacheFromGitHubActionsOutput() CacheFromGitHubActionsOutput
	ToCacheFromGitHubActionsOutputWithContext(context.Context) CacheFromGitHubActionsOutput
}

CacheFromGitHubActionsInput is an input type that accepts CacheFromGitHubActionsArgs and CacheFromGitHubActionsOutput values. You can construct a concrete instance of `CacheFromGitHubActionsInput` via:

CacheFromGitHubActionsArgs{...}

type CacheFromGitHubActionsOutput

type CacheFromGitHubActionsOutput struct{ *pulumi.OutputState }

func (CacheFromGitHubActionsOutput) ElementType

func (CacheFromGitHubActionsOutput) Scope

The scope to use for cache keys. Defaults to `buildkit`.

This should be set if building and caching multiple images in one workflow, otherwise caches will overwrite each other.

func (CacheFromGitHubActionsOutput) ToCacheFromGitHubActionsOutput

func (o CacheFromGitHubActionsOutput) ToCacheFromGitHubActionsOutput() CacheFromGitHubActionsOutput

func (CacheFromGitHubActionsOutput) ToCacheFromGitHubActionsOutputWithContext

func (o CacheFromGitHubActionsOutput) ToCacheFromGitHubActionsOutputWithContext(ctx context.Context) CacheFromGitHubActionsOutput

func (CacheFromGitHubActionsOutput) ToCacheFromGitHubActionsPtrOutput

func (o CacheFromGitHubActionsOutput) ToCacheFromGitHubActionsPtrOutput() CacheFromGitHubActionsPtrOutput

func (CacheFromGitHubActionsOutput) ToCacheFromGitHubActionsPtrOutputWithContext

func (o CacheFromGitHubActionsOutput) ToCacheFromGitHubActionsPtrOutputWithContext(ctx context.Context) CacheFromGitHubActionsPtrOutput

func (CacheFromGitHubActionsOutput) Token

The GitHub Actions token to use. This is not a personal access tokens and is typically generated automatically as part of each job.

Defaults to `$ACTIONS_RUNTIME_TOKEN`, although a separate action like `crazy-max/ghaction-github-runtime` is recommended to expose this environment variable to your jobs.

func (CacheFromGitHubActionsOutput) Url

The cache server URL to use for artifacts.

Defaults to `$ACTIONS_RUNTIME_URL`, although a separate action like `crazy-max/ghaction-github-runtime` is recommended to expose this environment variable to your jobs.

type CacheFromGitHubActionsPtrInput

type CacheFromGitHubActionsPtrInput interface {
	pulumi.Input

	ToCacheFromGitHubActionsPtrOutput() CacheFromGitHubActionsPtrOutput
	ToCacheFromGitHubActionsPtrOutputWithContext(context.Context) CacheFromGitHubActionsPtrOutput
}

CacheFromGitHubActionsPtrInput is an input type that accepts CacheFromGitHubActionsArgs, CacheFromGitHubActionsPtr and CacheFromGitHubActionsPtrOutput values. You can construct a concrete instance of `CacheFromGitHubActionsPtrInput` via:

        CacheFromGitHubActionsArgs{...}

or:

        nil

type CacheFromGitHubActionsPtrOutput

type CacheFromGitHubActionsPtrOutput struct{ *pulumi.OutputState }

func (CacheFromGitHubActionsPtrOutput) Elem

func (CacheFromGitHubActionsPtrOutput) ElementType

func (CacheFromGitHubActionsPtrOutput) Scope

The scope to use for cache keys. Defaults to `buildkit`.

This should be set if building and caching multiple images in one workflow, otherwise caches will overwrite each other.

func (CacheFromGitHubActionsPtrOutput) ToCacheFromGitHubActionsPtrOutput

func (o CacheFromGitHubActionsPtrOutput) ToCacheFromGitHubActionsPtrOutput() CacheFromGitHubActionsPtrOutput

func (CacheFromGitHubActionsPtrOutput) ToCacheFromGitHubActionsPtrOutputWithContext

func (o CacheFromGitHubActionsPtrOutput) ToCacheFromGitHubActionsPtrOutputWithContext(ctx context.Context) CacheFromGitHubActionsPtrOutput

func (CacheFromGitHubActionsPtrOutput) Token

The GitHub Actions token to use. This is not a personal access tokens and is typically generated automatically as part of each job.

Defaults to `$ACTIONS_RUNTIME_TOKEN`, although a separate action like `crazy-max/ghaction-github-runtime` is recommended to expose this environment variable to your jobs.

func (CacheFromGitHubActionsPtrOutput) Url

The cache server URL to use for artifacts.

Defaults to `$ACTIONS_RUNTIME_URL`, although a separate action like `crazy-max/ghaction-github-runtime` is recommended to expose this environment variable to your jobs.

type CacheFromLocal

type CacheFromLocal struct {
	// Digest of manifest to import.
	Digest *string `pulumi:"digest"`
	// Path of the local directory where cache gets imported from.
	Src string `pulumi:"src"`
}

type CacheFromLocalArgs

type CacheFromLocalArgs struct {
	// Digest of manifest to import.
	Digest pulumi.StringPtrInput `pulumi:"digest"`
	// Path of the local directory where cache gets imported from.
	Src pulumi.StringInput `pulumi:"src"`
}

func (CacheFromLocalArgs) ElementType

func (CacheFromLocalArgs) ElementType() reflect.Type

func (CacheFromLocalArgs) ToCacheFromLocalOutput

func (i CacheFromLocalArgs) ToCacheFromLocalOutput() CacheFromLocalOutput

func (CacheFromLocalArgs) ToCacheFromLocalOutputWithContext

func (i CacheFromLocalArgs) ToCacheFromLocalOutputWithContext(ctx context.Context) CacheFromLocalOutput

func (CacheFromLocalArgs) ToCacheFromLocalPtrOutput

func (i CacheFromLocalArgs) ToCacheFromLocalPtrOutput() CacheFromLocalPtrOutput

func (CacheFromLocalArgs) ToCacheFromLocalPtrOutputWithContext

func (i CacheFromLocalArgs) ToCacheFromLocalPtrOutputWithContext(ctx context.Context) CacheFromLocalPtrOutput

type CacheFromLocalInput

type CacheFromLocalInput interface {
	pulumi.Input

	ToCacheFromLocalOutput() CacheFromLocalOutput
	ToCacheFromLocalOutputWithContext(context.Context) CacheFromLocalOutput
}

CacheFromLocalInput is an input type that accepts CacheFromLocalArgs and CacheFromLocalOutput values. You can construct a concrete instance of `CacheFromLocalInput` via:

CacheFromLocalArgs{...}

type CacheFromLocalOutput

type CacheFromLocalOutput struct{ *pulumi.OutputState }

func (CacheFromLocalOutput) Digest

Digest of manifest to import.

func (CacheFromLocalOutput) ElementType

func (CacheFromLocalOutput) ElementType() reflect.Type

func (CacheFromLocalOutput) Src

Path of the local directory where cache gets imported from.

func (CacheFromLocalOutput) ToCacheFromLocalOutput

func (o CacheFromLocalOutput) ToCacheFromLocalOutput() CacheFromLocalOutput

func (CacheFromLocalOutput) ToCacheFromLocalOutputWithContext

func (o CacheFromLocalOutput) ToCacheFromLocalOutputWithContext(ctx context.Context) CacheFromLocalOutput

func (CacheFromLocalOutput) ToCacheFromLocalPtrOutput

func (o CacheFromLocalOutput) ToCacheFromLocalPtrOutput() CacheFromLocalPtrOutput

func (CacheFromLocalOutput) ToCacheFromLocalPtrOutputWithContext

func (o CacheFromLocalOutput) ToCacheFromLocalPtrOutputWithContext(ctx context.Context) CacheFromLocalPtrOutput

type CacheFromLocalPtrInput

type CacheFromLocalPtrInput interface {
	pulumi.Input

	ToCacheFromLocalPtrOutput() CacheFromLocalPtrOutput
	ToCacheFromLocalPtrOutputWithContext(context.Context) CacheFromLocalPtrOutput
}

CacheFromLocalPtrInput is an input type that accepts CacheFromLocalArgs, CacheFromLocalPtr and CacheFromLocalPtrOutput values. You can construct a concrete instance of `CacheFromLocalPtrInput` via:

        CacheFromLocalArgs{...}

or:

        nil

type CacheFromLocalPtrOutput

type CacheFromLocalPtrOutput struct{ *pulumi.OutputState }

func (CacheFromLocalPtrOutput) Digest

Digest of manifest to import.

func (CacheFromLocalPtrOutput) Elem

func (CacheFromLocalPtrOutput) ElementType

func (CacheFromLocalPtrOutput) ElementType() reflect.Type

func (CacheFromLocalPtrOutput) Src

Path of the local directory where cache gets imported from.

func (CacheFromLocalPtrOutput) ToCacheFromLocalPtrOutput

func (o CacheFromLocalPtrOutput) ToCacheFromLocalPtrOutput() CacheFromLocalPtrOutput

func (CacheFromLocalPtrOutput) ToCacheFromLocalPtrOutputWithContext

func (o CacheFromLocalPtrOutput) ToCacheFromLocalPtrOutputWithContext(ctx context.Context) CacheFromLocalPtrOutput

type CacheFromRegistry

type CacheFromRegistry struct {
	// Fully qualified name of the cache image to import.
	Ref string `pulumi:"ref"`
}

type CacheFromRegistryArgs

type CacheFromRegistryArgs struct {
	// Fully qualified name of the cache image to import.
	Ref pulumi.StringInput `pulumi:"ref"`
}

func (CacheFromRegistryArgs) ElementType

func (CacheFromRegistryArgs) ElementType() reflect.Type

func (CacheFromRegistryArgs) ToCacheFromRegistryOutput

func (i CacheFromRegistryArgs) ToCacheFromRegistryOutput() CacheFromRegistryOutput

func (CacheFromRegistryArgs) ToCacheFromRegistryOutputWithContext

func (i CacheFromRegistryArgs) ToCacheFromRegistryOutputWithContext(ctx context.Context) CacheFromRegistryOutput

func (CacheFromRegistryArgs) ToCacheFromRegistryPtrOutput

func (i CacheFromRegistryArgs) ToCacheFromRegistryPtrOutput() CacheFromRegistryPtrOutput

func (CacheFromRegistryArgs) ToCacheFromRegistryPtrOutputWithContext

func (i CacheFromRegistryArgs) ToCacheFromRegistryPtrOutputWithContext(ctx context.Context) CacheFromRegistryPtrOutput

type CacheFromRegistryInput

type CacheFromRegistryInput interface {
	pulumi.Input

	ToCacheFromRegistryOutput() CacheFromRegistryOutput
	ToCacheFromRegistryOutputWithContext(context.Context) CacheFromRegistryOutput
}

CacheFromRegistryInput is an input type that accepts CacheFromRegistryArgs and CacheFromRegistryOutput values. You can construct a concrete instance of `CacheFromRegistryInput` via:

CacheFromRegistryArgs{...}

type CacheFromRegistryOutput

type CacheFromRegistryOutput struct{ *pulumi.OutputState }

func (CacheFromRegistryOutput) ElementType

func (CacheFromRegistryOutput) ElementType() reflect.Type

func (CacheFromRegistryOutput) Ref

Fully qualified name of the cache image to import.

func (CacheFromRegistryOutput) ToCacheFromRegistryOutput

func (o CacheFromRegistryOutput) ToCacheFromRegistryOutput() CacheFromRegistryOutput

func (CacheFromRegistryOutput) ToCacheFromRegistryOutputWithContext

func (o CacheFromRegistryOutput) ToCacheFromRegistryOutputWithContext(ctx context.Context) CacheFromRegistryOutput

func (CacheFromRegistryOutput) ToCacheFromRegistryPtrOutput

func (o CacheFromRegistryOutput) ToCacheFromRegistryPtrOutput() CacheFromRegistryPtrOutput

func (CacheFromRegistryOutput) ToCacheFromRegistryPtrOutputWithContext

func (o CacheFromRegistryOutput) ToCacheFromRegistryPtrOutputWithContext(ctx context.Context) CacheFromRegistryPtrOutput

type CacheFromRegistryPtrInput

type CacheFromRegistryPtrInput interface {
	pulumi.Input

	ToCacheFromRegistryPtrOutput() CacheFromRegistryPtrOutput
	ToCacheFromRegistryPtrOutputWithContext(context.Context) CacheFromRegistryPtrOutput
}

CacheFromRegistryPtrInput is an input type that accepts CacheFromRegistryArgs, CacheFromRegistryPtr and CacheFromRegistryPtrOutput values. You can construct a concrete instance of `CacheFromRegistryPtrInput` via:

        CacheFromRegistryArgs{...}

or:

        nil

type CacheFromRegistryPtrOutput

type CacheFromRegistryPtrOutput struct{ *pulumi.OutputState }

func (CacheFromRegistryPtrOutput) Elem

func (CacheFromRegistryPtrOutput) ElementType

func (CacheFromRegistryPtrOutput) ElementType() reflect.Type

func (CacheFromRegistryPtrOutput) Ref

Fully qualified name of the cache image to import.

func (CacheFromRegistryPtrOutput) ToCacheFromRegistryPtrOutput

func (o CacheFromRegistryPtrOutput) ToCacheFromRegistryPtrOutput() CacheFromRegistryPtrOutput

func (CacheFromRegistryPtrOutput) ToCacheFromRegistryPtrOutputWithContext

func (o CacheFromRegistryPtrOutput) ToCacheFromRegistryPtrOutputWithContext(ctx context.Context) CacheFromRegistryPtrOutput

type CacheFromS3

type CacheFromS3 struct {
	// Defaults to `$AWS_ACCESS_KEY_ID`.
	AccessKeyId *string `pulumi:"accessKeyId"`
	// Prefix to prepend to blob filenames.
	BlobsPrefix *string `pulumi:"blobsPrefix"`
	// Name of the S3 bucket.
	Bucket string `pulumi:"bucket"`
	// Endpoint of the S3 bucket.
	EndpointUrl *string `pulumi:"endpointUrl"`
	// Prefix to prepend on manifest filenames.
	ManifestsPrefix *string `pulumi:"manifestsPrefix"`
	// Name of the cache image.
	Name *string `pulumi:"name"`
	// The geographic location of the bucket. Defaults to `$AWS_REGION`.
	Region string `pulumi:"region"`
	// Defaults to `$AWS_SECRET_ACCESS_KEY`.
	SecretAccessKey *string `pulumi:"secretAccessKey"`
	// Defaults to `$AWS_SESSION_TOKEN`.
	SessionToken *string `pulumi:"sessionToken"`
	// Uses `bucket` in the URL instead of hostname when `true`.
	UsePathStyle *bool `pulumi:"usePathStyle"`
}

func (*CacheFromS3) Defaults

func (val *CacheFromS3) Defaults() *CacheFromS3

Defaults sets the appropriate defaults for CacheFromS3

type CacheFromS3Args

type CacheFromS3Args struct {
	// Defaults to `$AWS_ACCESS_KEY_ID`.
	AccessKeyId pulumi.StringPtrInput `pulumi:"accessKeyId"`
	// Prefix to prepend to blob filenames.
	BlobsPrefix pulumi.StringPtrInput `pulumi:"blobsPrefix"`
	// Name of the S3 bucket.
	Bucket pulumi.StringInput `pulumi:"bucket"`
	// Endpoint of the S3 bucket.
	EndpointUrl pulumi.StringPtrInput `pulumi:"endpointUrl"`
	// Prefix to prepend on manifest filenames.
	ManifestsPrefix pulumi.StringPtrInput `pulumi:"manifestsPrefix"`
	// Name of the cache image.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// The geographic location of the bucket. Defaults to `$AWS_REGION`.
	Region pulumi.StringInput `pulumi:"region"`
	// Defaults to `$AWS_SECRET_ACCESS_KEY`.
	SecretAccessKey pulumi.StringPtrInput `pulumi:"secretAccessKey"`
	// Defaults to `$AWS_SESSION_TOKEN`.
	SessionToken pulumi.StringPtrInput `pulumi:"sessionToken"`
	// Uses `bucket` in the URL instead of hostname when `true`.
	UsePathStyle pulumi.BoolPtrInput `pulumi:"usePathStyle"`
}

func (*CacheFromS3Args) Defaults

func (val *CacheFromS3Args) Defaults() *CacheFromS3Args

Defaults sets the appropriate defaults for CacheFromS3Args

func (CacheFromS3Args) ElementType

func (CacheFromS3Args) ElementType() reflect.Type

func (CacheFromS3Args) ToCacheFromS3Output

func (i CacheFromS3Args) ToCacheFromS3Output() CacheFromS3Output

func (CacheFromS3Args) ToCacheFromS3OutputWithContext

func (i CacheFromS3Args) ToCacheFromS3OutputWithContext(ctx context.Context) CacheFromS3Output

func (CacheFromS3Args) ToCacheFromS3PtrOutput

func (i CacheFromS3Args) ToCacheFromS3PtrOutput() CacheFromS3PtrOutput

func (CacheFromS3Args) ToCacheFromS3PtrOutputWithContext

func (i CacheFromS3Args) ToCacheFromS3PtrOutputWithContext(ctx context.Context) CacheFromS3PtrOutput

type CacheFromS3Input

type CacheFromS3Input interface {
	pulumi.Input

	ToCacheFromS3Output() CacheFromS3Output
	ToCacheFromS3OutputWithContext(context.Context) CacheFromS3Output
}

CacheFromS3Input is an input type that accepts CacheFromS3Args and CacheFromS3Output values. You can construct a concrete instance of `CacheFromS3Input` via:

CacheFromS3Args{...}

type CacheFromS3Output

type CacheFromS3Output struct{ *pulumi.OutputState }

func (CacheFromS3Output) AccessKeyId

func (o CacheFromS3Output) AccessKeyId() pulumi.StringPtrOutput

Defaults to `$AWS_ACCESS_KEY_ID`.

func (CacheFromS3Output) BlobsPrefix

func (o CacheFromS3Output) BlobsPrefix() pulumi.StringPtrOutput

Prefix to prepend to blob filenames.

func (CacheFromS3Output) Bucket

Name of the S3 bucket.

func (CacheFromS3Output) ElementType

func (CacheFromS3Output) ElementType() reflect.Type

func (CacheFromS3Output) EndpointUrl

func (o CacheFromS3Output) EndpointUrl() pulumi.StringPtrOutput

Endpoint of the S3 bucket.

func (CacheFromS3Output) ManifestsPrefix

func (o CacheFromS3Output) ManifestsPrefix() pulumi.StringPtrOutput

Prefix to prepend on manifest filenames.

func (CacheFromS3Output) Name

Name of the cache image.

func (CacheFromS3Output) Region

The geographic location of the bucket. Defaults to `$AWS_REGION`.

func (CacheFromS3Output) SecretAccessKey

func (o CacheFromS3Output) SecretAccessKey() pulumi.StringPtrOutput

Defaults to `$AWS_SECRET_ACCESS_KEY`.

func (CacheFromS3Output) SessionToken

func (o CacheFromS3Output) SessionToken() pulumi.StringPtrOutput

Defaults to `$AWS_SESSION_TOKEN`.

func (CacheFromS3Output) ToCacheFromS3Output

func (o CacheFromS3Output) ToCacheFromS3Output() CacheFromS3Output

func (CacheFromS3Output) ToCacheFromS3OutputWithContext

func (o CacheFromS3Output) ToCacheFromS3OutputWithContext(ctx context.Context) CacheFromS3Output

func (CacheFromS3Output) ToCacheFromS3PtrOutput

func (o CacheFromS3Output) ToCacheFromS3PtrOutput() CacheFromS3PtrOutput

func (CacheFromS3Output) ToCacheFromS3PtrOutputWithContext

func (o CacheFromS3Output) ToCacheFromS3PtrOutputWithContext(ctx context.Context) CacheFromS3PtrOutput

func (CacheFromS3Output) UsePathStyle

func (o CacheFromS3Output) UsePathStyle() pulumi.BoolPtrOutput

Uses `bucket` in the URL instead of hostname when `true`.

type CacheFromS3PtrInput

type CacheFromS3PtrInput interface {
	pulumi.Input

	ToCacheFromS3PtrOutput() CacheFromS3PtrOutput
	ToCacheFromS3PtrOutputWithContext(context.Context) CacheFromS3PtrOutput
}

CacheFromS3PtrInput is an input type that accepts CacheFromS3Args, CacheFromS3Ptr and CacheFromS3PtrOutput values. You can construct a concrete instance of `CacheFromS3PtrInput` via:

        CacheFromS3Args{...}

or:

        nil

func CacheFromS3Ptr

func CacheFromS3Ptr(v *CacheFromS3Args) CacheFromS3PtrInput

type CacheFromS3PtrOutput

type CacheFromS3PtrOutput struct{ *pulumi.OutputState }

func (CacheFromS3PtrOutput) AccessKeyId

Defaults to `$AWS_ACCESS_KEY_ID`.

func (CacheFromS3PtrOutput) BlobsPrefix

Prefix to prepend to blob filenames.

func (CacheFromS3PtrOutput) Bucket

Name of the S3 bucket.

func (CacheFromS3PtrOutput) Elem

func (CacheFromS3PtrOutput) ElementType

func (CacheFromS3PtrOutput) ElementType() reflect.Type

func (CacheFromS3PtrOutput) EndpointUrl

Endpoint of the S3 bucket.

func (CacheFromS3PtrOutput) ManifestsPrefix

func (o CacheFromS3PtrOutput) ManifestsPrefix() pulumi.StringPtrOutput

Prefix to prepend on manifest filenames.

func (CacheFromS3PtrOutput) Name

Name of the cache image.

func (CacheFromS3PtrOutput) Region

The geographic location of the bucket. Defaults to `$AWS_REGION`.

func (CacheFromS3PtrOutput) SecretAccessKey

func (o CacheFromS3PtrOutput) SecretAccessKey() pulumi.StringPtrOutput

Defaults to `$AWS_SECRET_ACCESS_KEY`.

func (CacheFromS3PtrOutput) SessionToken

func (o CacheFromS3PtrOutput) SessionToken() pulumi.StringPtrOutput

Defaults to `$AWS_SESSION_TOKEN`.

func (CacheFromS3PtrOutput) ToCacheFromS3PtrOutput

func (o CacheFromS3PtrOutput) ToCacheFromS3PtrOutput() CacheFromS3PtrOutput

func (CacheFromS3PtrOutput) ToCacheFromS3PtrOutputWithContext

func (o CacheFromS3PtrOutput) ToCacheFromS3PtrOutputWithContext(ctx context.Context) CacheFromS3PtrOutput

func (CacheFromS3PtrOutput) UsePathStyle

func (o CacheFromS3PtrOutput) UsePathStyle() pulumi.BoolPtrOutput

Uses `bucket` in the URL instead of hostname when `true`.

type CacheMode

type CacheMode string

func (CacheMode) ElementType

func (CacheMode) ElementType() reflect.Type

func (CacheMode) ToCacheModeOutput

func (e CacheMode) ToCacheModeOutput() CacheModeOutput

func (CacheMode) ToCacheModeOutputWithContext

func (e CacheMode) ToCacheModeOutputWithContext(ctx context.Context) CacheModeOutput

func (CacheMode) ToCacheModePtrOutput

func (e CacheMode) ToCacheModePtrOutput() CacheModePtrOutput

func (CacheMode) ToCacheModePtrOutputWithContext

func (e CacheMode) ToCacheModePtrOutputWithContext(ctx context.Context) CacheModePtrOutput

func (CacheMode) ToStringOutput

func (e CacheMode) ToStringOutput() pulumi.StringOutput

func (CacheMode) ToStringOutputWithContext

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

func (CacheMode) ToStringPtrOutput

func (e CacheMode) ToStringPtrOutput() pulumi.StringPtrOutput

func (CacheMode) ToStringPtrOutputWithContext

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

type CacheModeInput

type CacheModeInput interface {
	pulumi.Input

	ToCacheModeOutput() CacheModeOutput
	ToCacheModeOutputWithContext(context.Context) CacheModeOutput
}

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

CacheModeMin
CacheModeMax

type CacheModeOutput

type CacheModeOutput struct{ *pulumi.OutputState }

func (CacheModeOutput) ElementType

func (CacheModeOutput) ElementType() reflect.Type

func (CacheModeOutput) ToCacheModeOutput

func (o CacheModeOutput) ToCacheModeOutput() CacheModeOutput

func (CacheModeOutput) ToCacheModeOutputWithContext

func (o CacheModeOutput) ToCacheModeOutputWithContext(ctx context.Context) CacheModeOutput

func (CacheModeOutput) ToCacheModePtrOutput

func (o CacheModeOutput) ToCacheModePtrOutput() CacheModePtrOutput

func (CacheModeOutput) ToCacheModePtrOutputWithContext

func (o CacheModeOutput) ToCacheModePtrOutputWithContext(ctx context.Context) CacheModePtrOutput

func (CacheModeOutput) ToStringOutput

func (o CacheModeOutput) ToStringOutput() pulumi.StringOutput

func (CacheModeOutput) ToStringOutputWithContext

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

func (CacheModeOutput) ToStringPtrOutput

func (o CacheModeOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (CacheModeOutput) ToStringPtrOutputWithContext

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

type CacheModePtrInput

type CacheModePtrInput interface {
	pulumi.Input

	ToCacheModePtrOutput() CacheModePtrOutput
	ToCacheModePtrOutputWithContext(context.Context) CacheModePtrOutput
}

func CacheModePtr

func CacheModePtr(v string) CacheModePtrInput

type CacheModePtrOutput

type CacheModePtrOutput struct{ *pulumi.OutputState }

func (CacheModePtrOutput) Elem

func (CacheModePtrOutput) ElementType

func (CacheModePtrOutput) ElementType() reflect.Type

func (CacheModePtrOutput) ToCacheModePtrOutput

func (o CacheModePtrOutput) ToCacheModePtrOutput() CacheModePtrOutput

func (CacheModePtrOutput) ToCacheModePtrOutputWithContext

func (o CacheModePtrOutput) ToCacheModePtrOutputWithContext(ctx context.Context) CacheModePtrOutput

func (CacheModePtrOutput) ToStringPtrOutput

func (o CacheModePtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (CacheModePtrOutput) ToStringPtrOutputWithContext

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

type CacheToAzureBlob

type CacheToAzureBlob struct {
	// Base URL of the storage account.
	AccountUrl *string `pulumi:"accountUrl"`
	// Ignore errors caused by failed cache exports.
	IgnoreError *bool `pulumi:"ignoreError"`
	// The cache mode to use. Defaults to `min`.
	Mode *CacheMode `pulumi:"mode"`
	// The name of the cache image.
	Name string `pulumi:"name"`
	// Blob storage account key.
	SecretAccessKey *string `pulumi:"secretAccessKey"`
}

func (*CacheToAzureBlob) Defaults

func (val *CacheToAzureBlob) Defaults() *CacheToAzureBlob

Defaults sets the appropriate defaults for CacheToAzureBlob

type CacheToAzureBlobArgs

type CacheToAzureBlobArgs struct {
	// Base URL of the storage account.
	AccountUrl pulumi.StringPtrInput `pulumi:"accountUrl"`
	// Ignore errors caused by failed cache exports.
	IgnoreError pulumi.BoolPtrInput `pulumi:"ignoreError"`
	// The cache mode to use. Defaults to `min`.
	Mode CacheModePtrInput `pulumi:"mode"`
	// The name of the cache image.
	Name pulumi.StringInput `pulumi:"name"`
	// Blob storage account key.
	SecretAccessKey pulumi.StringPtrInput `pulumi:"secretAccessKey"`
}

func (*CacheToAzureBlobArgs) Defaults

func (val *CacheToAzureBlobArgs) Defaults() *CacheToAzureBlobArgs

Defaults sets the appropriate defaults for CacheToAzureBlobArgs

func (CacheToAzureBlobArgs) ElementType

func (CacheToAzureBlobArgs) ElementType() reflect.Type

func (CacheToAzureBlobArgs) ToCacheToAzureBlobOutput

func (i CacheToAzureBlobArgs) ToCacheToAzureBlobOutput() CacheToAzureBlobOutput

func (CacheToAzureBlobArgs) ToCacheToAzureBlobOutputWithContext

func (i CacheToAzureBlobArgs) ToCacheToAzureBlobOutputWithContext(ctx context.Context) CacheToAzureBlobOutput

func (CacheToAzureBlobArgs) ToCacheToAzureBlobPtrOutput

func (i CacheToAzureBlobArgs) ToCacheToAzureBlobPtrOutput() CacheToAzureBlobPtrOutput

func (CacheToAzureBlobArgs) ToCacheToAzureBlobPtrOutputWithContext

func (i CacheToAzureBlobArgs) ToCacheToAzureBlobPtrOutputWithContext(ctx context.Context) CacheToAzureBlobPtrOutput

type CacheToAzureBlobInput

type CacheToAzureBlobInput interface {
	pulumi.Input

	ToCacheToAzureBlobOutput() CacheToAzureBlobOutput
	ToCacheToAzureBlobOutputWithContext(context.Context) CacheToAzureBlobOutput
}

CacheToAzureBlobInput is an input type that accepts CacheToAzureBlobArgs and CacheToAzureBlobOutput values. You can construct a concrete instance of `CacheToAzureBlobInput` via:

CacheToAzureBlobArgs{...}

type CacheToAzureBlobOutput

type CacheToAzureBlobOutput struct{ *pulumi.OutputState }

func (CacheToAzureBlobOutput) AccountUrl

Base URL of the storage account.

func (CacheToAzureBlobOutput) ElementType

func (CacheToAzureBlobOutput) ElementType() reflect.Type

func (CacheToAzureBlobOutput) IgnoreError

Ignore errors caused by failed cache exports.

func (CacheToAzureBlobOutput) Mode

The cache mode to use. Defaults to `min`.

func (CacheToAzureBlobOutput) Name

The name of the cache image.

func (CacheToAzureBlobOutput) SecretAccessKey

func (o CacheToAzureBlobOutput) SecretAccessKey() pulumi.StringPtrOutput

Blob storage account key.

func (CacheToAzureBlobOutput) ToCacheToAzureBlobOutput

func (o CacheToAzureBlobOutput) ToCacheToAzureBlobOutput() CacheToAzureBlobOutput

func (CacheToAzureBlobOutput) ToCacheToAzureBlobOutputWithContext

func (o CacheToAzureBlobOutput) ToCacheToAzureBlobOutputWithContext(ctx context.Context) CacheToAzureBlobOutput

func (CacheToAzureBlobOutput) ToCacheToAzureBlobPtrOutput

func (o CacheToAzureBlobOutput) ToCacheToAzureBlobPtrOutput() CacheToAzureBlobPtrOutput

func (CacheToAzureBlobOutput) ToCacheToAzureBlobPtrOutputWithContext

func (o CacheToAzureBlobOutput) ToCacheToAzureBlobPtrOutputWithContext(ctx context.Context) CacheToAzureBlobPtrOutput

type CacheToAzureBlobPtrInput

type CacheToAzureBlobPtrInput interface {
	pulumi.Input

	ToCacheToAzureBlobPtrOutput() CacheToAzureBlobPtrOutput
	ToCacheToAzureBlobPtrOutputWithContext(context.Context) CacheToAzureBlobPtrOutput
}

CacheToAzureBlobPtrInput is an input type that accepts CacheToAzureBlobArgs, CacheToAzureBlobPtr and CacheToAzureBlobPtrOutput values. You can construct a concrete instance of `CacheToAzureBlobPtrInput` via:

        CacheToAzureBlobArgs{...}

or:

        nil

type CacheToAzureBlobPtrOutput

type CacheToAzureBlobPtrOutput struct{ *pulumi.OutputState }

func (CacheToAzureBlobPtrOutput) AccountUrl

Base URL of the storage account.

func (CacheToAzureBlobPtrOutput) Elem

func (CacheToAzureBlobPtrOutput) ElementType

func (CacheToAzureBlobPtrOutput) ElementType() reflect.Type

func (CacheToAzureBlobPtrOutput) IgnoreError

Ignore errors caused by failed cache exports.

func (CacheToAzureBlobPtrOutput) Mode

The cache mode to use. Defaults to `min`.

func (CacheToAzureBlobPtrOutput) Name

The name of the cache image.

func (CacheToAzureBlobPtrOutput) SecretAccessKey

func (o CacheToAzureBlobPtrOutput) SecretAccessKey() pulumi.StringPtrOutput

Blob storage account key.

func (CacheToAzureBlobPtrOutput) ToCacheToAzureBlobPtrOutput

func (o CacheToAzureBlobPtrOutput) ToCacheToAzureBlobPtrOutput() CacheToAzureBlobPtrOutput

func (CacheToAzureBlobPtrOutput) ToCacheToAzureBlobPtrOutputWithContext

func (o CacheToAzureBlobPtrOutput) ToCacheToAzureBlobPtrOutputWithContext(ctx context.Context) CacheToAzureBlobPtrOutput

type CacheToEntry

type CacheToEntry struct {
	// Push cache to Azure's blob storage service.
	Azblob *CacheToAzureBlob `pulumi:"azblob"`
	// When `true` this entry will be excluded. Defaults to `false`.
	Disabled *bool `pulumi:"disabled"`
	// Recommended for use with GitHub Actions workflows.
	//
	// An action like `crazy-max/ghaction-github-runtime` is recommended to
	// expose appropriate credentials to your GitHub workflow.
	Gha *CacheToGitHubActions `pulumi:"gha"`
	// The inline cache storage backend is the simplest implementation to get
	// started with, but it does not handle multi-stage builds. Consider the
	// `registry` cache backend instead.
	Inline *CacheToInline `pulumi:"inline"`
	// A simple backend which caches imagines on your local filesystem.
	Local *CacheToLocal `pulumi:"local"`
	// A raw string as you would provide it to the Docker CLI (e.g.,
	// `type=inline`)
	Raw *string `pulumi:"raw"`
	// Push caches to remote registries. Incompatible with the `docker` build
	// driver.
	Registry *CacheToRegistry `pulumi:"registry"`
	// Push cache to AWS S3 or S3-compatible services such as MinIO.
	S3 *CacheToS3 `pulumi:"s3"`
}

func (*CacheToEntry) Defaults

func (val *CacheToEntry) Defaults() *CacheToEntry

Defaults sets the appropriate defaults for CacheToEntry

type CacheToEntryArgs

type CacheToEntryArgs struct {
	// Push cache to Azure's blob storage service.
	Azblob CacheToAzureBlobPtrInput `pulumi:"azblob"`
	// When `true` this entry will be excluded. Defaults to `false`.
	Disabled pulumi.BoolPtrInput `pulumi:"disabled"`
	// Recommended for use with GitHub Actions workflows.
	//
	// An action like `crazy-max/ghaction-github-runtime` is recommended to
	// expose appropriate credentials to your GitHub workflow.
	Gha CacheToGitHubActionsPtrInput `pulumi:"gha"`
	// The inline cache storage backend is the simplest implementation to get
	// started with, but it does not handle multi-stage builds. Consider the
	// `registry` cache backend instead.
	Inline CacheToInlinePtrInput `pulumi:"inline"`
	// A simple backend which caches imagines on your local filesystem.
	Local CacheToLocalPtrInput `pulumi:"local"`
	// A raw string as you would provide it to the Docker CLI (e.g.,
	// `type=inline`)
	Raw pulumi.StringPtrInput `pulumi:"raw"`
	// Push caches to remote registries. Incompatible with the `docker` build
	// driver.
	Registry CacheToRegistryPtrInput `pulumi:"registry"`
	// Push cache to AWS S3 or S3-compatible services such as MinIO.
	S3 CacheToS3PtrInput `pulumi:"s3"`
}

func (*CacheToEntryArgs) Defaults

func (val *CacheToEntryArgs) Defaults() *CacheToEntryArgs

Defaults sets the appropriate defaults for CacheToEntryArgs

func (CacheToEntryArgs) ElementType

func (CacheToEntryArgs) ElementType() reflect.Type

func (CacheToEntryArgs) ToCacheToEntryOutput

func (i CacheToEntryArgs) ToCacheToEntryOutput() CacheToEntryOutput

func (CacheToEntryArgs) ToCacheToEntryOutputWithContext

func (i CacheToEntryArgs) ToCacheToEntryOutputWithContext(ctx context.Context) CacheToEntryOutput

type CacheToEntryArray

type CacheToEntryArray []CacheToEntryInput

func (CacheToEntryArray) ElementType

func (CacheToEntryArray) ElementType() reflect.Type

func (CacheToEntryArray) ToCacheToEntryArrayOutput

func (i CacheToEntryArray) ToCacheToEntryArrayOutput() CacheToEntryArrayOutput

func (CacheToEntryArray) ToCacheToEntryArrayOutputWithContext

func (i CacheToEntryArray) ToCacheToEntryArrayOutputWithContext(ctx context.Context) CacheToEntryArrayOutput

type CacheToEntryArrayInput

type CacheToEntryArrayInput interface {
	pulumi.Input

	ToCacheToEntryArrayOutput() CacheToEntryArrayOutput
	ToCacheToEntryArrayOutputWithContext(context.Context) CacheToEntryArrayOutput
}

CacheToEntryArrayInput is an input type that accepts CacheToEntryArray and CacheToEntryArrayOutput values. You can construct a concrete instance of `CacheToEntryArrayInput` via:

CacheToEntryArray{ CacheToEntryArgs{...} }

type CacheToEntryArrayOutput

type CacheToEntryArrayOutput struct{ *pulumi.OutputState }

func (CacheToEntryArrayOutput) ElementType

func (CacheToEntryArrayOutput) ElementType() reflect.Type

func (CacheToEntryArrayOutput) Index

func (CacheToEntryArrayOutput) ToCacheToEntryArrayOutput

func (o CacheToEntryArrayOutput) ToCacheToEntryArrayOutput() CacheToEntryArrayOutput

func (CacheToEntryArrayOutput) ToCacheToEntryArrayOutputWithContext

func (o CacheToEntryArrayOutput) ToCacheToEntryArrayOutputWithContext(ctx context.Context) CacheToEntryArrayOutput

type CacheToEntryInput

type CacheToEntryInput interface {
	pulumi.Input

	ToCacheToEntryOutput() CacheToEntryOutput
	ToCacheToEntryOutputWithContext(context.Context) CacheToEntryOutput
}

CacheToEntryInput is an input type that accepts CacheToEntryArgs and CacheToEntryOutput values. You can construct a concrete instance of `CacheToEntryInput` via:

CacheToEntryArgs{...}

type CacheToEntryOutput

type CacheToEntryOutput struct{ *pulumi.OutputState }

func (CacheToEntryOutput) Azblob

Push cache to Azure's blob storage service.

func (CacheToEntryOutput) Disabled

When `true` this entry will be excluded. Defaults to `false`.

func (CacheToEntryOutput) ElementType

func (CacheToEntryOutput) ElementType() reflect.Type

func (CacheToEntryOutput) Gha

Recommended for use with GitHub Actions workflows.

An action like `crazy-max/ghaction-github-runtime` is recommended to expose appropriate credentials to your GitHub workflow.

func (CacheToEntryOutput) Inline

The inline cache storage backend is the simplest implementation to get started with, but it does not handle multi-stage builds. Consider the `registry` cache backend instead.

func (CacheToEntryOutput) Local

A simple backend which caches imagines on your local filesystem.

func (CacheToEntryOutput) Raw

A raw string as you would provide it to the Docker CLI (e.g., `type=inline`)

func (CacheToEntryOutput) Registry

Push caches to remote registries. Incompatible with the `docker` build driver.

func (CacheToEntryOutput) S3

Push cache to AWS S3 or S3-compatible services such as MinIO.

func (CacheToEntryOutput) ToCacheToEntryOutput

func (o CacheToEntryOutput) ToCacheToEntryOutput() CacheToEntryOutput

func (CacheToEntryOutput) ToCacheToEntryOutputWithContext

func (o CacheToEntryOutput) ToCacheToEntryOutputWithContext(ctx context.Context) CacheToEntryOutput

type CacheToGitHubActions

type CacheToGitHubActions struct {
	// Ignore errors caused by failed cache exports.
	IgnoreError *bool `pulumi:"ignoreError"`
	// The cache mode to use. Defaults to `min`.
	Mode *CacheMode `pulumi:"mode"`
	// The scope to use for cache keys. Defaults to `buildkit`.
	//
	// This should be set if building and caching multiple images in one
	// workflow, otherwise caches will overwrite each other.
	Scope *string `pulumi:"scope"`
	// The GitHub Actions token to use. This is not a personal access tokens
	// and is typically generated automatically as part of each job.
	//
	// Defaults to `$ACTIONS_RUNTIME_TOKEN`, although a separate action like
	// `crazy-max/ghaction-github-runtime` is recommended to expose this
	// environment variable to your jobs.
	Token *string `pulumi:"token"`
	// The cache server URL to use for artifacts.
	//
	// Defaults to `$ACTIONS_RUNTIME_URL`, although a separate action like
	// `crazy-max/ghaction-github-runtime` is recommended to expose this
	// environment variable to your jobs.
	Url *string `pulumi:"url"`
}

func (*CacheToGitHubActions) Defaults

func (val *CacheToGitHubActions) Defaults() *CacheToGitHubActions

Defaults sets the appropriate defaults for CacheToGitHubActions

type CacheToGitHubActionsArgs

type CacheToGitHubActionsArgs struct {
	// Ignore errors caused by failed cache exports.
	IgnoreError pulumi.BoolPtrInput `pulumi:"ignoreError"`
	// The cache mode to use. Defaults to `min`.
	Mode CacheModePtrInput `pulumi:"mode"`
	// The scope to use for cache keys. Defaults to `buildkit`.
	//
	// This should be set if building and caching multiple images in one
	// workflow, otherwise caches will overwrite each other.
	Scope pulumi.StringPtrInput `pulumi:"scope"`
	// The GitHub Actions token to use. This is not a personal access tokens
	// and is typically generated automatically as part of each job.
	//
	// Defaults to `$ACTIONS_RUNTIME_TOKEN`, although a separate action like
	// `crazy-max/ghaction-github-runtime` is recommended to expose this
	// environment variable to your jobs.
	Token pulumi.StringPtrInput `pulumi:"token"`
	// The cache server URL to use for artifacts.
	//
	// Defaults to `$ACTIONS_RUNTIME_URL`, although a separate action like
	// `crazy-max/ghaction-github-runtime` is recommended to expose this
	// environment variable to your jobs.
	Url pulumi.StringPtrInput `pulumi:"url"`
}

func (*CacheToGitHubActionsArgs) Defaults

Defaults sets the appropriate defaults for CacheToGitHubActionsArgs

func (CacheToGitHubActionsArgs) ElementType

func (CacheToGitHubActionsArgs) ElementType() reflect.Type

func (CacheToGitHubActionsArgs) ToCacheToGitHubActionsOutput

func (i CacheToGitHubActionsArgs) ToCacheToGitHubActionsOutput() CacheToGitHubActionsOutput

func (CacheToGitHubActionsArgs) ToCacheToGitHubActionsOutputWithContext

func (i CacheToGitHubActionsArgs) ToCacheToGitHubActionsOutputWithContext(ctx context.Context) CacheToGitHubActionsOutput

func (CacheToGitHubActionsArgs) ToCacheToGitHubActionsPtrOutput

func (i CacheToGitHubActionsArgs) ToCacheToGitHubActionsPtrOutput() CacheToGitHubActionsPtrOutput

func (CacheToGitHubActionsArgs) ToCacheToGitHubActionsPtrOutputWithContext

func (i CacheToGitHubActionsArgs) ToCacheToGitHubActionsPtrOutputWithContext(ctx context.Context) CacheToGitHubActionsPtrOutput

type CacheToGitHubActionsInput

type CacheToGitHubActionsInput interface {
	pulumi.Input

	ToCacheToGitHubActionsOutput() CacheToGitHubActionsOutput
	ToCacheToGitHubActionsOutputWithContext(context.Context) CacheToGitHubActionsOutput
}

CacheToGitHubActionsInput is an input type that accepts CacheToGitHubActionsArgs and CacheToGitHubActionsOutput values. You can construct a concrete instance of `CacheToGitHubActionsInput` via:

CacheToGitHubActionsArgs{...}

type CacheToGitHubActionsOutput

type CacheToGitHubActionsOutput struct{ *pulumi.OutputState }

func (CacheToGitHubActionsOutput) ElementType

func (CacheToGitHubActionsOutput) ElementType() reflect.Type

func (CacheToGitHubActionsOutput) IgnoreError

Ignore errors caused by failed cache exports.

func (CacheToGitHubActionsOutput) Mode

The cache mode to use. Defaults to `min`.

func (CacheToGitHubActionsOutput) Scope

The scope to use for cache keys. Defaults to `buildkit`.

This should be set if building and caching multiple images in one workflow, otherwise caches will overwrite each other.

func (CacheToGitHubActionsOutput) ToCacheToGitHubActionsOutput

func (o CacheToGitHubActionsOutput) ToCacheToGitHubActionsOutput() CacheToGitHubActionsOutput

func (CacheToGitHubActionsOutput) ToCacheToGitHubActionsOutputWithContext

func (o CacheToGitHubActionsOutput) ToCacheToGitHubActionsOutputWithContext(ctx context.Context) CacheToGitHubActionsOutput

func (CacheToGitHubActionsOutput) ToCacheToGitHubActionsPtrOutput

func (o CacheToGitHubActionsOutput) ToCacheToGitHubActionsPtrOutput() CacheToGitHubActionsPtrOutput

func (CacheToGitHubActionsOutput) ToCacheToGitHubActionsPtrOutputWithContext

func (o CacheToGitHubActionsOutput) ToCacheToGitHubActionsPtrOutputWithContext(ctx context.Context) CacheToGitHubActionsPtrOutput

func (CacheToGitHubActionsOutput) Token

The GitHub Actions token to use. This is not a personal access tokens and is typically generated automatically as part of each job.

Defaults to `$ACTIONS_RUNTIME_TOKEN`, although a separate action like `crazy-max/ghaction-github-runtime` is recommended to expose this environment variable to your jobs.

func (CacheToGitHubActionsOutput) Url

The cache server URL to use for artifacts.

Defaults to `$ACTIONS_RUNTIME_URL`, although a separate action like `crazy-max/ghaction-github-runtime` is recommended to expose this environment variable to your jobs.

type CacheToGitHubActionsPtrInput

type CacheToGitHubActionsPtrInput interface {
	pulumi.Input

	ToCacheToGitHubActionsPtrOutput() CacheToGitHubActionsPtrOutput
	ToCacheToGitHubActionsPtrOutputWithContext(context.Context) CacheToGitHubActionsPtrOutput
}

CacheToGitHubActionsPtrInput is an input type that accepts CacheToGitHubActionsArgs, CacheToGitHubActionsPtr and CacheToGitHubActionsPtrOutput values. You can construct a concrete instance of `CacheToGitHubActionsPtrInput` via:

        CacheToGitHubActionsArgs{...}

or:

        nil

type CacheToGitHubActionsPtrOutput

type CacheToGitHubActionsPtrOutput struct{ *pulumi.OutputState }

func (CacheToGitHubActionsPtrOutput) Elem

func (CacheToGitHubActionsPtrOutput) ElementType

func (CacheToGitHubActionsPtrOutput) IgnoreError

Ignore errors caused by failed cache exports.

func (CacheToGitHubActionsPtrOutput) Mode

The cache mode to use. Defaults to `min`.

func (CacheToGitHubActionsPtrOutput) Scope

The scope to use for cache keys. Defaults to `buildkit`.

This should be set if building and caching multiple images in one workflow, otherwise caches will overwrite each other.

func (CacheToGitHubActionsPtrOutput) ToCacheToGitHubActionsPtrOutput

func (o CacheToGitHubActionsPtrOutput) ToCacheToGitHubActionsPtrOutput() CacheToGitHubActionsPtrOutput

func (CacheToGitHubActionsPtrOutput) ToCacheToGitHubActionsPtrOutputWithContext

func (o CacheToGitHubActionsPtrOutput) ToCacheToGitHubActionsPtrOutputWithContext(ctx context.Context) CacheToGitHubActionsPtrOutput

func (CacheToGitHubActionsPtrOutput) Token

The GitHub Actions token to use. This is not a personal access tokens and is typically generated automatically as part of each job.

Defaults to `$ACTIONS_RUNTIME_TOKEN`, although a separate action like `crazy-max/ghaction-github-runtime` is recommended to expose this environment variable to your jobs.

func (CacheToGitHubActionsPtrOutput) Url

The cache server URL to use for artifacts.

Defaults to `$ACTIONS_RUNTIME_URL`, although a separate action like `crazy-max/ghaction-github-runtime` is recommended to expose this environment variable to your jobs.

type CacheToInline

type CacheToInline struct {
}

type CacheToInlineArgs

type CacheToInlineArgs struct {
}

func (CacheToInlineArgs) ElementType

func (CacheToInlineArgs) ElementType() reflect.Type

func (CacheToInlineArgs) ToCacheToInlineOutput

func (i CacheToInlineArgs) ToCacheToInlineOutput() CacheToInlineOutput

func (CacheToInlineArgs) ToCacheToInlineOutputWithContext

func (i CacheToInlineArgs) ToCacheToInlineOutputWithContext(ctx context.Context) CacheToInlineOutput

func (CacheToInlineArgs) ToCacheToInlinePtrOutput

func (i CacheToInlineArgs) ToCacheToInlinePtrOutput() CacheToInlinePtrOutput

func (CacheToInlineArgs) ToCacheToInlinePtrOutputWithContext

func (i CacheToInlineArgs) ToCacheToInlinePtrOutputWithContext(ctx context.Context) CacheToInlinePtrOutput

type CacheToInlineInput

type CacheToInlineInput interface {
	pulumi.Input

	ToCacheToInlineOutput() CacheToInlineOutput
	ToCacheToInlineOutputWithContext(context.Context) CacheToInlineOutput
}

CacheToInlineInput is an input type that accepts CacheToInlineArgs and CacheToInlineOutput values. You can construct a concrete instance of `CacheToInlineInput` via:

CacheToInlineArgs{...}

type CacheToInlineOutput

type CacheToInlineOutput struct{ *pulumi.OutputState }

func (CacheToInlineOutput) ElementType

func (CacheToInlineOutput) ElementType() reflect.Type

func (CacheToInlineOutput) ToCacheToInlineOutput

func (o CacheToInlineOutput) ToCacheToInlineOutput() CacheToInlineOutput

func (CacheToInlineOutput) ToCacheToInlineOutputWithContext

func (o CacheToInlineOutput) ToCacheToInlineOutputWithContext(ctx context.Context) CacheToInlineOutput

func (CacheToInlineOutput) ToCacheToInlinePtrOutput

func (o CacheToInlineOutput) ToCacheToInlinePtrOutput() CacheToInlinePtrOutput

func (CacheToInlineOutput) ToCacheToInlinePtrOutputWithContext

func (o CacheToInlineOutput) ToCacheToInlinePtrOutputWithContext(ctx context.Context) CacheToInlinePtrOutput

type CacheToInlinePtrInput

type CacheToInlinePtrInput interface {
	pulumi.Input

	ToCacheToInlinePtrOutput() CacheToInlinePtrOutput
	ToCacheToInlinePtrOutputWithContext(context.Context) CacheToInlinePtrOutput
}

CacheToInlinePtrInput is an input type that accepts CacheToInlineArgs, CacheToInlinePtr and CacheToInlinePtrOutput values. You can construct a concrete instance of `CacheToInlinePtrInput` via:

        CacheToInlineArgs{...}

or:

        nil

type CacheToInlinePtrOutput

type CacheToInlinePtrOutput struct{ *pulumi.OutputState }

func (CacheToInlinePtrOutput) Elem

func (CacheToInlinePtrOutput) ElementType

func (CacheToInlinePtrOutput) ElementType() reflect.Type

func (CacheToInlinePtrOutput) ToCacheToInlinePtrOutput

func (o CacheToInlinePtrOutput) ToCacheToInlinePtrOutput() CacheToInlinePtrOutput

func (CacheToInlinePtrOutput) ToCacheToInlinePtrOutputWithContext

func (o CacheToInlinePtrOutput) ToCacheToInlinePtrOutputWithContext(ctx context.Context) CacheToInlinePtrOutput

type CacheToLocal

type CacheToLocal struct {
	// The compression type to use.
	Compression *CompressionType `pulumi:"compression"`
	// Compression level from 0 to 22.
	CompressionLevel *int `pulumi:"compressionLevel"`
	// Path of the local directory to export the cache.
	Dest string `pulumi:"dest"`
	// Forcefully apply compression.
	ForceCompression *bool `pulumi:"forceCompression"`
	// Ignore errors caused by failed cache exports.
	IgnoreError *bool `pulumi:"ignoreError"`
	// The cache mode to use. Defaults to `min`.
	Mode *CacheMode `pulumi:"mode"`
}

func (*CacheToLocal) Defaults

func (val *CacheToLocal) Defaults() *CacheToLocal

Defaults sets the appropriate defaults for CacheToLocal

type CacheToLocalArgs

type CacheToLocalArgs struct {
	// The compression type to use.
	Compression CompressionTypePtrInput `pulumi:"compression"`
	// Compression level from 0 to 22.
	CompressionLevel pulumi.IntPtrInput `pulumi:"compressionLevel"`
	// Path of the local directory to export the cache.
	Dest pulumi.StringInput `pulumi:"dest"`
	// Forcefully apply compression.
	ForceCompression pulumi.BoolPtrInput `pulumi:"forceCompression"`
	// Ignore errors caused by failed cache exports.
	IgnoreError pulumi.BoolPtrInput `pulumi:"ignoreError"`
	// The cache mode to use. Defaults to `min`.
	Mode CacheModePtrInput `pulumi:"mode"`
}

func (*CacheToLocalArgs) Defaults

func (val *CacheToLocalArgs) Defaults() *CacheToLocalArgs

Defaults sets the appropriate defaults for CacheToLocalArgs

func (CacheToLocalArgs) ElementType

func (CacheToLocalArgs) ElementType() reflect.Type

func (CacheToLocalArgs) ToCacheToLocalOutput

func (i CacheToLocalArgs) ToCacheToLocalOutput() CacheToLocalOutput

func (CacheToLocalArgs) ToCacheToLocalOutputWithContext

func (i CacheToLocalArgs) ToCacheToLocalOutputWithContext(ctx context.Context) CacheToLocalOutput

func (CacheToLocalArgs) ToCacheToLocalPtrOutput

func (i CacheToLocalArgs) ToCacheToLocalPtrOutput() CacheToLocalPtrOutput

func (CacheToLocalArgs) ToCacheToLocalPtrOutputWithContext

func (i CacheToLocalArgs) ToCacheToLocalPtrOutputWithContext(ctx context.Context) CacheToLocalPtrOutput

type CacheToLocalInput

type CacheToLocalInput interface {
	pulumi.Input

	ToCacheToLocalOutput() CacheToLocalOutput
	ToCacheToLocalOutputWithContext(context.Context) CacheToLocalOutput
}

CacheToLocalInput is an input type that accepts CacheToLocalArgs and CacheToLocalOutput values. You can construct a concrete instance of `CacheToLocalInput` via:

CacheToLocalArgs{...}

type CacheToLocalOutput

type CacheToLocalOutput struct{ *pulumi.OutputState }

func (CacheToLocalOutput) Compression

The compression type to use.

func (CacheToLocalOutput) CompressionLevel

func (o CacheToLocalOutput) CompressionLevel() pulumi.IntPtrOutput

Compression level from 0 to 22.

func (CacheToLocalOutput) Dest

Path of the local directory to export the cache.

func (CacheToLocalOutput) ElementType

func (CacheToLocalOutput) ElementType() reflect.Type

func (CacheToLocalOutput) ForceCompression

func (o CacheToLocalOutput) ForceCompression() pulumi.BoolPtrOutput

Forcefully apply compression.

func (CacheToLocalOutput) IgnoreError

func (o CacheToLocalOutput) IgnoreError() pulumi.BoolPtrOutput

Ignore errors caused by failed cache exports.

func (CacheToLocalOutput) Mode

The cache mode to use. Defaults to `min`.

func (CacheToLocalOutput) ToCacheToLocalOutput

func (o CacheToLocalOutput) ToCacheToLocalOutput() CacheToLocalOutput

func (CacheToLocalOutput) ToCacheToLocalOutputWithContext

func (o CacheToLocalOutput) ToCacheToLocalOutputWithContext(ctx context.Context) CacheToLocalOutput

func (CacheToLocalOutput) ToCacheToLocalPtrOutput

func (o CacheToLocalOutput) ToCacheToLocalPtrOutput() CacheToLocalPtrOutput

func (CacheToLocalOutput) ToCacheToLocalPtrOutputWithContext

func (o CacheToLocalOutput) ToCacheToLocalPtrOutputWithContext(ctx context.Context) CacheToLocalPtrOutput

type CacheToLocalPtrInput

type CacheToLocalPtrInput interface {
	pulumi.Input

	ToCacheToLocalPtrOutput() CacheToLocalPtrOutput
	ToCacheToLocalPtrOutputWithContext(context.Context) CacheToLocalPtrOutput
}

CacheToLocalPtrInput is an input type that accepts CacheToLocalArgs, CacheToLocalPtr and CacheToLocalPtrOutput values. You can construct a concrete instance of `CacheToLocalPtrInput` via:

        CacheToLocalArgs{...}

or:

        nil

type CacheToLocalPtrOutput

type CacheToLocalPtrOutput struct{ *pulumi.OutputState }

func (CacheToLocalPtrOutput) Compression

The compression type to use.

func (CacheToLocalPtrOutput) CompressionLevel

func (o CacheToLocalPtrOutput) CompressionLevel() pulumi.IntPtrOutput

Compression level from 0 to 22.

func (CacheToLocalPtrOutput) Dest

Path of the local directory to export the cache.

func (CacheToLocalPtrOutput) Elem

func (CacheToLocalPtrOutput) ElementType

func (CacheToLocalPtrOutput) ElementType() reflect.Type

func (CacheToLocalPtrOutput) ForceCompression

func (o CacheToLocalPtrOutput) ForceCompression() pulumi.BoolPtrOutput

Forcefully apply compression.

func (CacheToLocalPtrOutput) IgnoreError

func (o CacheToLocalPtrOutput) IgnoreError() pulumi.BoolPtrOutput

Ignore errors caused by failed cache exports.

func (CacheToLocalPtrOutput) Mode

The cache mode to use. Defaults to `min`.

func (CacheToLocalPtrOutput) ToCacheToLocalPtrOutput

func (o CacheToLocalPtrOutput) ToCacheToLocalPtrOutput() CacheToLocalPtrOutput

func (CacheToLocalPtrOutput) ToCacheToLocalPtrOutputWithContext

func (o CacheToLocalPtrOutput) ToCacheToLocalPtrOutputWithContext(ctx context.Context) CacheToLocalPtrOutput

type CacheToRegistry

type CacheToRegistry struct {
	// The compression type to use.
	Compression *CompressionType `pulumi:"compression"`
	// Compression level from 0 to 22.
	CompressionLevel *int `pulumi:"compressionLevel"`
	// Forcefully apply compression.
	ForceCompression *bool `pulumi:"forceCompression"`
	// Ignore errors caused by failed cache exports.
	IgnoreError *bool `pulumi:"ignoreError"`
	// Export cache manifest as an OCI-compatible image manifest instead of a
	// manifest list (requires OCI media types).
	//
	// Defaults to `false`.
	ImageManifest *bool `pulumi:"imageManifest"`
	// The cache mode to use. Defaults to `min`.
	Mode *CacheMode `pulumi:"mode"`
	// Whether to use OCI media types in exported manifests. Defaults to
	// `true`.
	OciMediaTypes *bool `pulumi:"ociMediaTypes"`
	// Fully qualified name of the cache image to import.
	Ref string `pulumi:"ref"`
}

func (*CacheToRegistry) Defaults

func (val *CacheToRegistry) Defaults() *CacheToRegistry

Defaults sets the appropriate defaults for CacheToRegistry

type CacheToRegistryArgs

type CacheToRegistryArgs struct {
	// The compression type to use.
	Compression CompressionTypePtrInput `pulumi:"compression"`
	// Compression level from 0 to 22.
	CompressionLevel pulumi.IntPtrInput `pulumi:"compressionLevel"`
	// Forcefully apply compression.
	ForceCompression pulumi.BoolPtrInput `pulumi:"forceCompression"`
	// Ignore errors caused by failed cache exports.
	IgnoreError pulumi.BoolPtrInput `pulumi:"ignoreError"`
	// Export cache manifest as an OCI-compatible image manifest instead of a
	// manifest list (requires OCI media types).
	//
	// Defaults to `false`.
	ImageManifest pulumi.BoolPtrInput `pulumi:"imageManifest"`
	// The cache mode to use. Defaults to `min`.
	Mode CacheModePtrInput `pulumi:"mode"`
	// Whether to use OCI media types in exported manifests. Defaults to
	// `true`.
	OciMediaTypes pulumi.BoolPtrInput `pulumi:"ociMediaTypes"`
	// Fully qualified name of the cache image to import.
	Ref pulumi.StringInput `pulumi:"ref"`
}

func (*CacheToRegistryArgs) Defaults

func (val *CacheToRegistryArgs) Defaults() *CacheToRegistryArgs

Defaults sets the appropriate defaults for CacheToRegistryArgs

func (CacheToRegistryArgs) ElementType

func (CacheToRegistryArgs) ElementType() reflect.Type

func (CacheToRegistryArgs) ToCacheToRegistryOutput

func (i CacheToRegistryArgs) ToCacheToRegistryOutput() CacheToRegistryOutput

func (CacheToRegistryArgs) ToCacheToRegistryOutputWithContext

func (i CacheToRegistryArgs) ToCacheToRegistryOutputWithContext(ctx context.Context) CacheToRegistryOutput

func (CacheToRegistryArgs) ToCacheToRegistryPtrOutput

func (i CacheToRegistryArgs) ToCacheToRegistryPtrOutput() CacheToRegistryPtrOutput

func (CacheToRegistryArgs) ToCacheToRegistryPtrOutputWithContext

func (i CacheToRegistryArgs) ToCacheToRegistryPtrOutputWithContext(ctx context.Context) CacheToRegistryPtrOutput

type CacheToRegistryInput

type CacheToRegistryInput interface {
	pulumi.Input

	ToCacheToRegistryOutput() CacheToRegistryOutput
	ToCacheToRegistryOutputWithContext(context.Context) CacheToRegistryOutput
}

CacheToRegistryInput is an input type that accepts CacheToRegistryArgs and CacheToRegistryOutput values. You can construct a concrete instance of `CacheToRegistryInput` via:

CacheToRegistryArgs{...}

type CacheToRegistryOutput

type CacheToRegistryOutput struct{ *pulumi.OutputState }

func (CacheToRegistryOutput) Compression

The compression type to use.

func (CacheToRegistryOutput) CompressionLevel

func (o CacheToRegistryOutput) CompressionLevel() pulumi.IntPtrOutput

Compression level from 0 to 22.

func (CacheToRegistryOutput) ElementType

func (CacheToRegistryOutput) ElementType() reflect.Type

func (CacheToRegistryOutput) ForceCompression

func (o CacheToRegistryOutput) ForceCompression() pulumi.BoolPtrOutput

Forcefully apply compression.

func (CacheToRegistryOutput) IgnoreError

func (o CacheToRegistryOutput) IgnoreError() pulumi.BoolPtrOutput

Ignore errors caused by failed cache exports.

func (CacheToRegistryOutput) ImageManifest

func (o CacheToRegistryOutput) ImageManifest() pulumi.BoolPtrOutput

Export cache manifest as an OCI-compatible image manifest instead of a manifest list (requires OCI media types).

Defaults to `false`.

func (CacheToRegistryOutput) Mode

The cache mode to use. Defaults to `min`.

func (CacheToRegistryOutput) OciMediaTypes

func (o CacheToRegistryOutput) OciMediaTypes() pulumi.BoolPtrOutput

Whether to use OCI media types in exported manifests. Defaults to `true`.

func (CacheToRegistryOutput) Ref

Fully qualified name of the cache image to import.

func (CacheToRegistryOutput) ToCacheToRegistryOutput

func (o CacheToRegistryOutput) ToCacheToRegistryOutput() CacheToRegistryOutput

func (CacheToRegistryOutput) ToCacheToRegistryOutputWithContext

func (o CacheToRegistryOutput) ToCacheToRegistryOutputWithContext(ctx context.Context) CacheToRegistryOutput

func (CacheToRegistryOutput) ToCacheToRegistryPtrOutput

func (o CacheToRegistryOutput) ToCacheToRegistryPtrOutput() CacheToRegistryPtrOutput

func (CacheToRegistryOutput) ToCacheToRegistryPtrOutputWithContext

func (o CacheToRegistryOutput) ToCacheToRegistryPtrOutputWithContext(ctx context.Context) CacheToRegistryPtrOutput

type CacheToRegistryPtrInput

type CacheToRegistryPtrInput interface {
	pulumi.Input

	ToCacheToRegistryPtrOutput() CacheToRegistryPtrOutput
	ToCacheToRegistryPtrOutputWithContext(context.Context) CacheToRegistryPtrOutput
}

CacheToRegistryPtrInput is an input type that accepts CacheToRegistryArgs, CacheToRegistryPtr and CacheToRegistryPtrOutput values. You can construct a concrete instance of `CacheToRegistryPtrInput` via:

        CacheToRegistryArgs{...}

or:

        nil

type CacheToRegistryPtrOutput

type CacheToRegistryPtrOutput struct{ *pulumi.OutputState }

func (CacheToRegistryPtrOutput) Compression

The compression type to use.

func (CacheToRegistryPtrOutput) CompressionLevel

func (o CacheToRegistryPtrOutput) CompressionLevel() pulumi.IntPtrOutput

Compression level from 0 to 22.

func (CacheToRegistryPtrOutput) Elem

func (CacheToRegistryPtrOutput) ElementType

func (CacheToRegistryPtrOutput) ElementType() reflect.Type

func (CacheToRegistryPtrOutput) ForceCompression

func (o CacheToRegistryPtrOutput) ForceCompression() pulumi.BoolPtrOutput

Forcefully apply compression.

func (CacheToRegistryPtrOutput) IgnoreError

Ignore errors caused by failed cache exports.

func (CacheToRegistryPtrOutput) ImageManifest

func (o CacheToRegistryPtrOutput) ImageManifest() pulumi.BoolPtrOutput

Export cache manifest as an OCI-compatible image manifest instead of a manifest list (requires OCI media types).

Defaults to `false`.

func (CacheToRegistryPtrOutput) Mode

The cache mode to use. Defaults to `min`.

func (CacheToRegistryPtrOutput) OciMediaTypes

func (o CacheToRegistryPtrOutput) OciMediaTypes() pulumi.BoolPtrOutput

Whether to use OCI media types in exported manifests. Defaults to `true`.

func (CacheToRegistryPtrOutput) Ref

Fully qualified name of the cache image to import.

func (CacheToRegistryPtrOutput) ToCacheToRegistryPtrOutput

func (o CacheToRegistryPtrOutput) ToCacheToRegistryPtrOutput() CacheToRegistryPtrOutput

func (CacheToRegistryPtrOutput) ToCacheToRegistryPtrOutputWithContext

func (o CacheToRegistryPtrOutput) ToCacheToRegistryPtrOutputWithContext(ctx context.Context) CacheToRegistryPtrOutput

type CacheToS3

type CacheToS3 struct {
	// Defaults to `$AWS_ACCESS_KEY_ID`.
	AccessKeyId *string `pulumi:"accessKeyId"`
	// Prefix to prepend to blob filenames.
	BlobsPrefix *string `pulumi:"blobsPrefix"`
	// Name of the S3 bucket.
	Bucket string `pulumi:"bucket"`
	// Endpoint of the S3 bucket.
	EndpointUrl *string `pulumi:"endpointUrl"`
	// Ignore errors caused by failed cache exports.
	IgnoreError *bool `pulumi:"ignoreError"`
	// Prefix to prepend on manifest filenames.
	ManifestsPrefix *string `pulumi:"manifestsPrefix"`
	// The cache mode to use. Defaults to `min`.
	Mode *CacheMode `pulumi:"mode"`
	// Name of the cache image.
	Name *string `pulumi:"name"`
	// The geographic location of the bucket. Defaults to `$AWS_REGION`.
	Region string `pulumi:"region"`
	// Defaults to `$AWS_SECRET_ACCESS_KEY`.
	SecretAccessKey *string `pulumi:"secretAccessKey"`
	// Defaults to `$AWS_SESSION_TOKEN`.
	SessionToken *string `pulumi:"sessionToken"`
	// Uses `bucket` in the URL instead of hostname when `true`.
	UsePathStyle *bool `pulumi:"usePathStyle"`
}

func (*CacheToS3) Defaults

func (val *CacheToS3) Defaults() *CacheToS3

Defaults sets the appropriate defaults for CacheToS3

type CacheToS3Args

type CacheToS3Args struct {
	// Defaults to `$AWS_ACCESS_KEY_ID`.
	AccessKeyId pulumi.StringPtrInput `pulumi:"accessKeyId"`
	// Prefix to prepend to blob filenames.
	BlobsPrefix pulumi.StringPtrInput `pulumi:"blobsPrefix"`
	// Name of the S3 bucket.
	Bucket pulumi.StringInput `pulumi:"bucket"`
	// Endpoint of the S3 bucket.
	EndpointUrl pulumi.StringPtrInput `pulumi:"endpointUrl"`
	// Ignore errors caused by failed cache exports.
	IgnoreError pulumi.BoolPtrInput `pulumi:"ignoreError"`
	// Prefix to prepend on manifest filenames.
	ManifestsPrefix pulumi.StringPtrInput `pulumi:"manifestsPrefix"`
	// The cache mode to use. Defaults to `min`.
	Mode CacheModePtrInput `pulumi:"mode"`
	// Name of the cache image.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// The geographic location of the bucket. Defaults to `$AWS_REGION`.
	Region pulumi.StringInput `pulumi:"region"`
	// Defaults to `$AWS_SECRET_ACCESS_KEY`.
	SecretAccessKey pulumi.StringPtrInput `pulumi:"secretAccessKey"`
	// Defaults to `$AWS_SESSION_TOKEN`.
	SessionToken pulumi.StringPtrInput `pulumi:"sessionToken"`
	// Uses `bucket` in the URL instead of hostname when `true`.
	UsePathStyle pulumi.BoolPtrInput `pulumi:"usePathStyle"`
}

func (*CacheToS3Args) Defaults

func (val *CacheToS3Args) Defaults() *CacheToS3Args

Defaults sets the appropriate defaults for CacheToS3Args

func (CacheToS3Args) ElementType

func (CacheToS3Args) ElementType() reflect.Type

func (CacheToS3Args) ToCacheToS3Output

func (i CacheToS3Args) ToCacheToS3Output() CacheToS3Output

func (CacheToS3Args) ToCacheToS3OutputWithContext

func (i CacheToS3Args) ToCacheToS3OutputWithContext(ctx context.Context) CacheToS3Output

func (CacheToS3Args) ToCacheToS3PtrOutput

func (i CacheToS3Args) ToCacheToS3PtrOutput() CacheToS3PtrOutput

func (CacheToS3Args) ToCacheToS3PtrOutputWithContext

func (i CacheToS3Args) ToCacheToS3PtrOutputWithContext(ctx context.Context) CacheToS3PtrOutput

type CacheToS3Input

type CacheToS3Input interface {
	pulumi.Input

	ToCacheToS3Output() CacheToS3Output
	ToCacheToS3OutputWithContext(context.Context) CacheToS3Output
}

CacheToS3Input is an input type that accepts CacheToS3Args and CacheToS3Output values. You can construct a concrete instance of `CacheToS3Input` via:

CacheToS3Args{...}

type CacheToS3Output

type CacheToS3Output struct{ *pulumi.OutputState }

func (CacheToS3Output) AccessKeyId

func (o CacheToS3Output) AccessKeyId() pulumi.StringPtrOutput

Defaults to `$AWS_ACCESS_KEY_ID`.

func (CacheToS3Output) BlobsPrefix

func (o CacheToS3Output) BlobsPrefix() pulumi.StringPtrOutput

Prefix to prepend to blob filenames.

func (CacheToS3Output) Bucket

func (o CacheToS3Output) Bucket() pulumi.StringOutput

Name of the S3 bucket.

func (CacheToS3Output) ElementType

func (CacheToS3Output) ElementType() reflect.Type

func (CacheToS3Output) EndpointUrl

func (o CacheToS3Output) EndpointUrl() pulumi.StringPtrOutput

Endpoint of the S3 bucket.

func (CacheToS3Output) IgnoreError

func (o CacheToS3Output) IgnoreError() pulumi.BoolPtrOutput

Ignore errors caused by failed cache exports.

func (CacheToS3Output) ManifestsPrefix

func (o CacheToS3Output) ManifestsPrefix() pulumi.StringPtrOutput

Prefix to prepend on manifest filenames.

func (CacheToS3Output) Mode

The cache mode to use. Defaults to `min`.

func (CacheToS3Output) Name

Name of the cache image.

func (CacheToS3Output) Region

func (o CacheToS3Output) Region() pulumi.StringOutput

The geographic location of the bucket. Defaults to `$AWS_REGION`.

func (CacheToS3Output) SecretAccessKey

func (o CacheToS3Output) SecretAccessKey() pulumi.StringPtrOutput

Defaults to `$AWS_SECRET_ACCESS_KEY`.

func (CacheToS3Output) SessionToken

func (o CacheToS3Output) SessionToken() pulumi.StringPtrOutput

Defaults to `$AWS_SESSION_TOKEN`.

func (CacheToS3Output) ToCacheToS3Output

func (o CacheToS3Output) ToCacheToS3Output() CacheToS3Output

func (CacheToS3Output) ToCacheToS3OutputWithContext

func (o CacheToS3Output) ToCacheToS3OutputWithContext(ctx context.Context) CacheToS3Output

func (CacheToS3Output) ToCacheToS3PtrOutput

func (o CacheToS3Output) ToCacheToS3PtrOutput() CacheToS3PtrOutput

func (CacheToS3Output) ToCacheToS3PtrOutputWithContext

func (o CacheToS3Output) ToCacheToS3PtrOutputWithContext(ctx context.Context) CacheToS3PtrOutput

func (CacheToS3Output) UsePathStyle

func (o CacheToS3Output) UsePathStyle() pulumi.BoolPtrOutput

Uses `bucket` in the URL instead of hostname when `true`.

type CacheToS3PtrInput

type CacheToS3PtrInput interface {
	pulumi.Input

	ToCacheToS3PtrOutput() CacheToS3PtrOutput
	ToCacheToS3PtrOutputWithContext(context.Context) CacheToS3PtrOutput
}

CacheToS3PtrInput is an input type that accepts CacheToS3Args, CacheToS3Ptr and CacheToS3PtrOutput values. You can construct a concrete instance of `CacheToS3PtrInput` via:

        CacheToS3Args{...}

or:

        nil

func CacheToS3Ptr

func CacheToS3Ptr(v *CacheToS3Args) CacheToS3PtrInput

type CacheToS3PtrOutput

type CacheToS3PtrOutput struct{ *pulumi.OutputState }

func (CacheToS3PtrOutput) AccessKeyId

func (o CacheToS3PtrOutput) AccessKeyId() pulumi.StringPtrOutput

Defaults to `$AWS_ACCESS_KEY_ID`.

func (CacheToS3PtrOutput) BlobsPrefix

func (o CacheToS3PtrOutput) BlobsPrefix() pulumi.StringPtrOutput

Prefix to prepend to blob filenames.

func (CacheToS3PtrOutput) Bucket

Name of the S3 bucket.

func (CacheToS3PtrOutput) Elem

func (CacheToS3PtrOutput) ElementType

func (CacheToS3PtrOutput) ElementType() reflect.Type

func (CacheToS3PtrOutput) EndpointUrl

func (o CacheToS3PtrOutput) EndpointUrl() pulumi.StringPtrOutput

Endpoint of the S3 bucket.

func (CacheToS3PtrOutput) IgnoreError

func (o CacheToS3PtrOutput) IgnoreError() pulumi.BoolPtrOutput

Ignore errors caused by failed cache exports.

func (CacheToS3PtrOutput) ManifestsPrefix

func (o CacheToS3PtrOutput) ManifestsPrefix() pulumi.StringPtrOutput

Prefix to prepend on manifest filenames.

func (CacheToS3PtrOutput) Mode

The cache mode to use. Defaults to `min`.

func (CacheToS3PtrOutput) Name

Name of the cache image.

func (CacheToS3PtrOutput) Region

The geographic location of the bucket. Defaults to `$AWS_REGION`.

func (CacheToS3PtrOutput) SecretAccessKey

func (o CacheToS3PtrOutput) SecretAccessKey() pulumi.StringPtrOutput

Defaults to `$AWS_SECRET_ACCESS_KEY`.

func (CacheToS3PtrOutput) SessionToken

func (o CacheToS3PtrOutput) SessionToken() pulumi.StringPtrOutput

Defaults to `$AWS_SESSION_TOKEN`.

func (CacheToS3PtrOutput) ToCacheToS3PtrOutput

func (o CacheToS3PtrOutput) ToCacheToS3PtrOutput() CacheToS3PtrOutput

func (CacheToS3PtrOutput) ToCacheToS3PtrOutputWithContext

func (o CacheToS3PtrOutput) ToCacheToS3PtrOutputWithContext(ctx context.Context) CacheToS3PtrOutput

func (CacheToS3PtrOutput) UsePathStyle

func (o CacheToS3PtrOutput) UsePathStyle() pulumi.BoolPtrOutput

Uses `bucket` in the URL instead of hostname when `true`.

type CompressionType

type CompressionType string

func (CompressionType) ElementType

func (CompressionType) ElementType() reflect.Type

func (CompressionType) ToCompressionTypeOutput

func (e CompressionType) ToCompressionTypeOutput() CompressionTypeOutput

func (CompressionType) ToCompressionTypeOutputWithContext

func (e CompressionType) ToCompressionTypeOutputWithContext(ctx context.Context) CompressionTypeOutput

func (CompressionType) ToCompressionTypePtrOutput

func (e CompressionType) ToCompressionTypePtrOutput() CompressionTypePtrOutput

func (CompressionType) ToCompressionTypePtrOutputWithContext

func (e CompressionType) ToCompressionTypePtrOutputWithContext(ctx context.Context) CompressionTypePtrOutput

func (CompressionType) ToStringOutput

func (e CompressionType) ToStringOutput() pulumi.StringOutput

func (CompressionType) ToStringOutputWithContext

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

func (CompressionType) ToStringPtrOutput

func (e CompressionType) ToStringPtrOutput() pulumi.StringPtrOutput

func (CompressionType) ToStringPtrOutputWithContext

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

type CompressionTypeInput

type CompressionTypeInput interface {
	pulumi.Input

	ToCompressionTypeOutput() CompressionTypeOutput
	ToCompressionTypeOutputWithContext(context.Context) CompressionTypeOutput
}

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

CompressionTypeGzip
CompressionTypeEstargz
CompressionTypeZstd

type CompressionTypeOutput

type CompressionTypeOutput struct{ *pulumi.OutputState }

func (CompressionTypeOutput) ElementType

func (CompressionTypeOutput) ElementType() reflect.Type

func (CompressionTypeOutput) ToCompressionTypeOutput

func (o CompressionTypeOutput) ToCompressionTypeOutput() CompressionTypeOutput

func (CompressionTypeOutput) ToCompressionTypeOutputWithContext

func (o CompressionTypeOutput) ToCompressionTypeOutputWithContext(ctx context.Context) CompressionTypeOutput

func (CompressionTypeOutput) ToCompressionTypePtrOutput

func (o CompressionTypeOutput) ToCompressionTypePtrOutput() CompressionTypePtrOutput

func (CompressionTypeOutput) ToCompressionTypePtrOutputWithContext

func (o CompressionTypeOutput) ToCompressionTypePtrOutputWithContext(ctx context.Context) CompressionTypePtrOutput

func (CompressionTypeOutput) ToStringOutput

func (o CompressionTypeOutput) ToStringOutput() pulumi.StringOutput

func (CompressionTypeOutput) ToStringOutputWithContext

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

func (CompressionTypeOutput) ToStringPtrOutput

func (o CompressionTypeOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (CompressionTypeOutput) ToStringPtrOutputWithContext

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

type CompressionTypePtrInput

type CompressionTypePtrInput interface {
	pulumi.Input

	ToCompressionTypePtrOutput() CompressionTypePtrOutput
	ToCompressionTypePtrOutputWithContext(context.Context) CompressionTypePtrOutput
}

func CompressionTypePtr

func CompressionTypePtr(v string) CompressionTypePtrInput

type CompressionTypePtrOutput

type CompressionTypePtrOutput struct{ *pulumi.OutputState }

func (CompressionTypePtrOutput) Elem

func (CompressionTypePtrOutput) ElementType

func (CompressionTypePtrOutput) ElementType() reflect.Type

func (CompressionTypePtrOutput) ToCompressionTypePtrOutput

func (o CompressionTypePtrOutput) ToCompressionTypePtrOutput() CompressionTypePtrOutput

func (CompressionTypePtrOutput) ToCompressionTypePtrOutputWithContext

func (o CompressionTypePtrOutput) ToCompressionTypePtrOutputWithContext(ctx context.Context) CompressionTypePtrOutput

func (CompressionTypePtrOutput) ToStringPtrOutput

func (o CompressionTypePtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (CompressionTypePtrOutput) ToStringPtrOutputWithContext

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

type Context

type Context struct {
	// Resources to use for build context.
	//
	// The location can be:
	// * A relative or absolute path to a local directory (`.`, `./app`,
	//   `/app`, etc.).
	// * A remote URL of a Git repository, tarball, or plain text file
	//   (`https://github.com/user/myrepo.git`, `http://server/context.tar.gz`,
	//   etc.).
	Location string `pulumi:"location"`
}

type ContextArgs

type ContextArgs struct {
	// Resources to use for build context.
	//
	// The location can be:
	// * A relative or absolute path to a local directory (`.`, `./app`,
	//   `/app`, etc.).
	// * A remote URL of a Git repository, tarball, or plain text file
	//   (`https://github.com/user/myrepo.git`, `http://server/context.tar.gz`,
	//   etc.).
	Location pulumi.StringInput `pulumi:"location"`
}

func (ContextArgs) ElementType

func (ContextArgs) ElementType() reflect.Type

func (ContextArgs) ToContextOutput

func (i ContextArgs) ToContextOutput() ContextOutput

func (ContextArgs) ToContextOutputWithContext

func (i ContextArgs) ToContextOutputWithContext(ctx context.Context) ContextOutput

type ContextInput

type ContextInput interface {
	pulumi.Input

	ToContextOutput() ContextOutput
	ToContextOutputWithContext(context.Context) ContextOutput
}

ContextInput is an input type that accepts ContextArgs and ContextOutput values. You can construct a concrete instance of `ContextInput` via:

ContextArgs{...}

type ContextMap

type ContextMap map[string]ContextInput

func (ContextMap) ElementType

func (ContextMap) ElementType() reflect.Type

func (ContextMap) ToContextMapOutput

func (i ContextMap) ToContextMapOutput() ContextMapOutput

func (ContextMap) ToContextMapOutputWithContext

func (i ContextMap) ToContextMapOutputWithContext(ctx context.Context) ContextMapOutput

type ContextMapInput

type ContextMapInput interface {
	pulumi.Input

	ToContextMapOutput() ContextMapOutput
	ToContextMapOutputWithContext(context.Context) ContextMapOutput
}

ContextMapInput is an input type that accepts ContextMap and ContextMapOutput values. You can construct a concrete instance of `ContextMapInput` via:

ContextMap{ "key": ContextArgs{...} }

type ContextMapOutput

type ContextMapOutput struct{ *pulumi.OutputState }

func (ContextMapOutput) ElementType

func (ContextMapOutput) ElementType() reflect.Type

func (ContextMapOutput) MapIndex

func (ContextMapOutput) ToContextMapOutput

func (o ContextMapOutput) ToContextMapOutput() ContextMapOutput

func (ContextMapOutput) ToContextMapOutputWithContext

func (o ContextMapOutput) ToContextMapOutputWithContext(ctx context.Context) ContextMapOutput

type ContextOutput

type ContextOutput struct{ *pulumi.OutputState }

func (ContextOutput) ElementType

func (ContextOutput) ElementType() reflect.Type

func (ContextOutput) Location

func (o ContextOutput) Location() pulumi.StringOutput

Resources to use for build context.

The location can be:

func (ContextOutput) ToContextOutput

func (o ContextOutput) ToContextOutput() ContextOutput

func (ContextOutput) ToContextOutputWithContext

func (o ContextOutput) ToContextOutputWithContext(ctx context.Context) ContextOutput

type Dockerfile

type Dockerfile struct {
	// Raw Dockerfile contents.
	//
	// Conflicts with `location`.
	//
	// Equivalent to invoking Docker with `-f -`.
	Inline *string `pulumi:"inline"`
	// Location of the Dockerfile to use.
	//
	// Can be a relative or absolute path to a local file, or a remote URL.
	//
	// Defaults to `${context.location}/Dockerfile` if context is on-disk.
	//
	// Conflicts with `inline`.
	Location *string `pulumi:"location"`
}

type DockerfileArgs

type DockerfileArgs struct {
	// Raw Dockerfile contents.
	//
	// Conflicts with `location`.
	//
	// Equivalent to invoking Docker with `-f -`.
	Inline pulumi.StringPtrInput `pulumi:"inline"`
	// Location of the Dockerfile to use.
	//
	// Can be a relative or absolute path to a local file, or a remote URL.
	//
	// Defaults to `${context.location}/Dockerfile` if context is on-disk.
	//
	// Conflicts with `inline`.
	Location pulumi.StringPtrInput `pulumi:"location"`
}

func (DockerfileArgs) ElementType

func (DockerfileArgs) ElementType() reflect.Type

func (DockerfileArgs) ToDockerfileOutput

func (i DockerfileArgs) ToDockerfileOutput() DockerfileOutput

func (DockerfileArgs) ToDockerfileOutputWithContext

func (i DockerfileArgs) ToDockerfileOutputWithContext(ctx context.Context) DockerfileOutput

func (DockerfileArgs) ToDockerfilePtrOutput

func (i DockerfileArgs) ToDockerfilePtrOutput() DockerfilePtrOutput

func (DockerfileArgs) ToDockerfilePtrOutputWithContext

func (i DockerfileArgs) ToDockerfilePtrOutputWithContext(ctx context.Context) DockerfilePtrOutput

type DockerfileInput

type DockerfileInput interface {
	pulumi.Input

	ToDockerfileOutput() DockerfileOutput
	ToDockerfileOutputWithContext(context.Context) DockerfileOutput
}

DockerfileInput is an input type that accepts DockerfileArgs and DockerfileOutput values. You can construct a concrete instance of `DockerfileInput` via:

DockerfileArgs{...}

type DockerfileOutput

type DockerfileOutput struct{ *pulumi.OutputState }

func (DockerfileOutput) ElementType

func (DockerfileOutput) ElementType() reflect.Type

func (DockerfileOutput) Inline

Raw Dockerfile contents.

Conflicts with `location`.

Equivalent to invoking Docker with `-f -`.

func (DockerfileOutput) Location

Location of the Dockerfile to use.

Can be a relative or absolute path to a local file, or a remote URL.

Defaults to `${context.location}/Dockerfile` if context is on-disk.

Conflicts with `inline`.

func (DockerfileOutput) ToDockerfileOutput

func (o DockerfileOutput) ToDockerfileOutput() DockerfileOutput

func (DockerfileOutput) ToDockerfileOutputWithContext

func (o DockerfileOutput) ToDockerfileOutputWithContext(ctx context.Context) DockerfileOutput

func (DockerfileOutput) ToDockerfilePtrOutput

func (o DockerfileOutput) ToDockerfilePtrOutput() DockerfilePtrOutput

func (DockerfileOutput) ToDockerfilePtrOutputWithContext

func (o DockerfileOutput) ToDockerfilePtrOutputWithContext(ctx context.Context) DockerfilePtrOutput

type DockerfilePtrInput

type DockerfilePtrInput interface {
	pulumi.Input

	ToDockerfilePtrOutput() DockerfilePtrOutput
	ToDockerfilePtrOutputWithContext(context.Context) DockerfilePtrOutput
}

DockerfilePtrInput is an input type that accepts DockerfileArgs, DockerfilePtr and DockerfilePtrOutput values. You can construct a concrete instance of `DockerfilePtrInput` via:

        DockerfileArgs{...}

or:

        nil

func DockerfilePtr

func DockerfilePtr(v *DockerfileArgs) DockerfilePtrInput

type DockerfilePtrOutput

type DockerfilePtrOutput struct{ *pulumi.OutputState }

func (DockerfilePtrOutput) Elem

func (DockerfilePtrOutput) ElementType

func (DockerfilePtrOutput) ElementType() reflect.Type

func (DockerfilePtrOutput) Inline

Raw Dockerfile contents.

Conflicts with `location`.

Equivalent to invoking Docker with `-f -`.

func (DockerfilePtrOutput) Location

Location of the Dockerfile to use.

Can be a relative or absolute path to a local file, or a remote URL.

Defaults to `${context.location}/Dockerfile` if context is on-disk.

Conflicts with `inline`.

func (DockerfilePtrOutput) ToDockerfilePtrOutput

func (o DockerfilePtrOutput) ToDockerfilePtrOutput() DockerfilePtrOutput

func (DockerfilePtrOutput) ToDockerfilePtrOutputWithContext

func (o DockerfilePtrOutput) ToDockerfilePtrOutputWithContext(ctx context.Context) DockerfilePtrOutput

type ExportDocker

type ExportDocker struct {
	// Attach an arbitrary key/value annotation to the image.
	Annotations map[string]string `pulumi:"annotations"`
	// The compression type to use.
	Compression *CompressionType `pulumi:"compression"`
	// Compression level from 0 to 22.
	CompressionLevel *int `pulumi:"compressionLevel"`
	// The local export path.
	Dest *string `pulumi:"dest"`
	// Forcefully apply compression.
	ForceCompression *bool `pulumi:"forceCompression"`
	// Specify images names to export. This is overridden if tags are already specified.
	Names []string `pulumi:"names"`
	// Use OCI media types in exporter manifests.
	OciMediaTypes *bool `pulumi:"ociMediaTypes"`
	// Bundle the output into a tarball layout.
	Tar *bool `pulumi:"tar"`
}

func (*ExportDocker) Defaults

func (val *ExportDocker) Defaults() *ExportDocker

Defaults sets the appropriate defaults for ExportDocker

type ExportDockerArgs

type ExportDockerArgs struct {
	// Attach an arbitrary key/value annotation to the image.
	Annotations pulumi.StringMapInput `pulumi:"annotations"`
	// The compression type to use.
	Compression CompressionTypePtrInput `pulumi:"compression"`
	// Compression level from 0 to 22.
	CompressionLevel pulumi.IntPtrInput `pulumi:"compressionLevel"`
	// The local export path.
	Dest pulumi.StringPtrInput `pulumi:"dest"`
	// Forcefully apply compression.
	ForceCompression pulumi.BoolPtrInput `pulumi:"forceCompression"`
	// Specify images names to export. This is overridden if tags are already specified.
	Names pulumi.StringArrayInput `pulumi:"names"`
	// Use OCI media types in exporter manifests.
	OciMediaTypes pulumi.BoolPtrInput `pulumi:"ociMediaTypes"`
	// Bundle the output into a tarball layout.
	Tar pulumi.BoolPtrInput `pulumi:"tar"`
}

func (*ExportDockerArgs) Defaults

func (val *ExportDockerArgs) Defaults() *ExportDockerArgs

Defaults sets the appropriate defaults for ExportDockerArgs

func (ExportDockerArgs) ElementType

func (ExportDockerArgs) ElementType() reflect.Type

func (ExportDockerArgs) ToExportDockerOutput

func (i ExportDockerArgs) ToExportDockerOutput() ExportDockerOutput

func (ExportDockerArgs) ToExportDockerOutputWithContext

func (i ExportDockerArgs) ToExportDockerOutputWithContext(ctx context.Context) ExportDockerOutput

func (ExportDockerArgs) ToExportDockerPtrOutput

func (i ExportDockerArgs) ToExportDockerPtrOutput() ExportDockerPtrOutput

func (ExportDockerArgs) ToExportDockerPtrOutputWithContext

func (i ExportDockerArgs) ToExportDockerPtrOutputWithContext(ctx context.Context) ExportDockerPtrOutput

type ExportDockerInput

type ExportDockerInput interface {
	pulumi.Input

	ToExportDockerOutput() ExportDockerOutput
	ToExportDockerOutputWithContext(context.Context) ExportDockerOutput
}

ExportDockerInput is an input type that accepts ExportDockerArgs and ExportDockerOutput values. You can construct a concrete instance of `ExportDockerInput` via:

ExportDockerArgs{...}

type ExportDockerOutput

type ExportDockerOutput struct{ *pulumi.OutputState }

func (ExportDockerOutput) Annotations

func (o ExportDockerOutput) Annotations() pulumi.StringMapOutput

Attach an arbitrary key/value annotation to the image.

func (ExportDockerOutput) Compression

The compression type to use.

func (ExportDockerOutput) CompressionLevel

func (o ExportDockerOutput) CompressionLevel() pulumi.IntPtrOutput

Compression level from 0 to 22.

func (ExportDockerOutput) Dest

The local export path.

func (ExportDockerOutput) ElementType

func (ExportDockerOutput) ElementType() reflect.Type

func (ExportDockerOutput) ForceCompression

func (o ExportDockerOutput) ForceCompression() pulumi.BoolPtrOutput

Forcefully apply compression.

func (ExportDockerOutput) Names

Specify images names to export. This is overridden if tags are already specified.

func (ExportDockerOutput) OciMediaTypes

func (o ExportDockerOutput) OciMediaTypes() pulumi.BoolPtrOutput

Use OCI media types in exporter manifests.

func (ExportDockerOutput) Tar

Bundle the output into a tarball layout.

func (ExportDockerOutput) ToExportDockerOutput

func (o ExportDockerOutput) ToExportDockerOutput() ExportDockerOutput

func (ExportDockerOutput) ToExportDockerOutputWithContext

func (o ExportDockerOutput) ToExportDockerOutputWithContext(ctx context.Context) ExportDockerOutput

func (ExportDockerOutput) ToExportDockerPtrOutput

func (o ExportDockerOutput) ToExportDockerPtrOutput() ExportDockerPtrOutput

func (ExportDockerOutput) ToExportDockerPtrOutputWithContext

func (o ExportDockerOutput) ToExportDockerPtrOutputWithContext(ctx context.Context) ExportDockerPtrOutput

type ExportDockerPtrInput

type ExportDockerPtrInput interface {
	pulumi.Input

	ToExportDockerPtrOutput() ExportDockerPtrOutput
	ToExportDockerPtrOutputWithContext(context.Context) ExportDockerPtrOutput
}

ExportDockerPtrInput is an input type that accepts ExportDockerArgs, ExportDockerPtr and ExportDockerPtrOutput values. You can construct a concrete instance of `ExportDockerPtrInput` via:

        ExportDockerArgs{...}

or:

        nil

type ExportDockerPtrOutput

type ExportDockerPtrOutput struct{ *pulumi.OutputState }

func (ExportDockerPtrOutput) Annotations

Attach an arbitrary key/value annotation to the image.

func (ExportDockerPtrOutput) Compression

The compression type to use.

func (ExportDockerPtrOutput) CompressionLevel

func (o ExportDockerPtrOutput) CompressionLevel() pulumi.IntPtrOutput

Compression level from 0 to 22.

func (ExportDockerPtrOutput) Dest

The local export path.

func (ExportDockerPtrOutput) Elem

func (ExportDockerPtrOutput) ElementType

func (ExportDockerPtrOutput) ElementType() reflect.Type

func (ExportDockerPtrOutput) ForceCompression

func (o ExportDockerPtrOutput) ForceCompression() pulumi.BoolPtrOutput

Forcefully apply compression.

func (ExportDockerPtrOutput) Names

Specify images names to export. This is overridden if tags are already specified.

func (ExportDockerPtrOutput) OciMediaTypes

func (o ExportDockerPtrOutput) OciMediaTypes() pulumi.BoolPtrOutput

Use OCI media types in exporter manifests.

func (ExportDockerPtrOutput) Tar

Bundle the output into a tarball layout.

func (ExportDockerPtrOutput) ToExportDockerPtrOutput

func (o ExportDockerPtrOutput) ToExportDockerPtrOutput() ExportDockerPtrOutput

func (ExportDockerPtrOutput) ToExportDockerPtrOutputWithContext

func (o ExportDockerPtrOutput) ToExportDockerPtrOutputWithContext(ctx context.Context) ExportDockerPtrOutput

type ExportEntry

type ExportEntry struct {
	// When `true` this entry will be excluded. Defaults to `false`.
	Disabled *bool `pulumi:"disabled"`
	// Export as a Docker image layout.
	Docker *ExportDocker `pulumi:"docker"`
	// Outputs the build result into a container image format.
	Image *ExportImage `pulumi:"image"`
	// Export to a local directory as files and directories.
	Local *ExportLocal `pulumi:"local"`
	// Identical to the Docker exporter but uses OCI media types by default.
	Oci *ExportOCI `pulumi:"oci"`
	// A raw string as you would provide it to the Docker CLI (e.g.,
	// `type=docker`)
	Raw *string `pulumi:"raw"`
	// Identical to the Image exporter, but pushes by default.
	Registry *ExportRegistry `pulumi:"registry"`
	// Export to a local directory as a tarball.
	Tar *ExportTar `pulumi:"tar"`
}

func (*ExportEntry) Defaults

func (val *ExportEntry) Defaults() *ExportEntry

Defaults sets the appropriate defaults for ExportEntry

type ExportEntryArgs

type ExportEntryArgs struct {
	// When `true` this entry will be excluded. Defaults to `false`.
	Disabled pulumi.BoolPtrInput `pulumi:"disabled"`
	// Export as a Docker image layout.
	Docker ExportDockerPtrInput `pulumi:"docker"`
	// Outputs the build result into a container image format.
	Image ExportImagePtrInput `pulumi:"image"`
	// Export to a local directory as files and directories.
	Local ExportLocalPtrInput `pulumi:"local"`
	// Identical to the Docker exporter but uses OCI media types by default.
	Oci ExportOCIPtrInput `pulumi:"oci"`
	// A raw string as you would provide it to the Docker CLI (e.g.,
	// `type=docker`)
	Raw pulumi.StringPtrInput `pulumi:"raw"`
	// Identical to the Image exporter, but pushes by default.
	Registry ExportRegistryPtrInput `pulumi:"registry"`
	// Export to a local directory as a tarball.
	Tar ExportTarPtrInput `pulumi:"tar"`
}

func (*ExportEntryArgs) Defaults

func (val *ExportEntryArgs) Defaults() *ExportEntryArgs

Defaults sets the appropriate defaults for ExportEntryArgs

func (ExportEntryArgs) ElementType

func (ExportEntryArgs) ElementType() reflect.Type

func (ExportEntryArgs) ToExportEntryOutput

func (i ExportEntryArgs) ToExportEntryOutput() ExportEntryOutput

func (ExportEntryArgs) ToExportEntryOutputWithContext

func (i ExportEntryArgs) ToExportEntryOutputWithContext(ctx context.Context) ExportEntryOutput

type ExportEntryArray

type ExportEntryArray []ExportEntryInput

func (ExportEntryArray) ElementType

func (ExportEntryArray) ElementType() reflect.Type

func (ExportEntryArray) ToExportEntryArrayOutput

func (i ExportEntryArray) ToExportEntryArrayOutput() ExportEntryArrayOutput

func (ExportEntryArray) ToExportEntryArrayOutputWithContext

func (i ExportEntryArray) ToExportEntryArrayOutputWithContext(ctx context.Context) ExportEntryArrayOutput

type ExportEntryArrayInput

type ExportEntryArrayInput interface {
	pulumi.Input

	ToExportEntryArrayOutput() ExportEntryArrayOutput
	ToExportEntryArrayOutputWithContext(context.Context) ExportEntryArrayOutput
}

ExportEntryArrayInput is an input type that accepts ExportEntryArray and ExportEntryArrayOutput values. You can construct a concrete instance of `ExportEntryArrayInput` via:

ExportEntryArray{ ExportEntryArgs{...} }

type ExportEntryArrayOutput

type ExportEntryArrayOutput struct{ *pulumi.OutputState }

func (ExportEntryArrayOutput) ElementType

func (ExportEntryArrayOutput) ElementType() reflect.Type

func (ExportEntryArrayOutput) Index

func (ExportEntryArrayOutput) ToExportEntryArrayOutput

func (o ExportEntryArrayOutput) ToExportEntryArrayOutput() ExportEntryArrayOutput

func (ExportEntryArrayOutput) ToExportEntryArrayOutputWithContext

func (o ExportEntryArrayOutput) ToExportEntryArrayOutputWithContext(ctx context.Context) ExportEntryArrayOutput

type ExportEntryInput

type ExportEntryInput interface {
	pulumi.Input

	ToExportEntryOutput() ExportEntryOutput
	ToExportEntryOutputWithContext(context.Context) ExportEntryOutput
}

ExportEntryInput is an input type that accepts ExportEntryArgs and ExportEntryOutput values. You can construct a concrete instance of `ExportEntryInput` via:

ExportEntryArgs{...}

type ExportEntryOutput

type ExportEntryOutput struct{ *pulumi.OutputState }

func (ExportEntryOutput) Disabled

func (o ExportEntryOutput) Disabled() pulumi.BoolPtrOutput

When `true` this entry will be excluded. Defaults to `false`.

func (ExportEntryOutput) Docker

Export as a Docker image layout.

func (ExportEntryOutput) ElementType

func (ExportEntryOutput) ElementType() reflect.Type

func (ExportEntryOutput) Image

Outputs the build result into a container image format.

func (ExportEntryOutput) Local

Export to a local directory as files and directories.

func (ExportEntryOutput) Oci

Identical to the Docker exporter but uses OCI media types by default.

func (ExportEntryOutput) Raw

A raw string as you would provide it to the Docker CLI (e.g., `type=docker`)

func (ExportEntryOutput) Registry

Identical to the Image exporter, but pushes by default.

func (ExportEntryOutput) Tar

Export to a local directory as a tarball.

func (ExportEntryOutput) ToExportEntryOutput

func (o ExportEntryOutput) ToExportEntryOutput() ExportEntryOutput

func (ExportEntryOutput) ToExportEntryOutputWithContext

func (o ExportEntryOutput) ToExportEntryOutputWithContext(ctx context.Context) ExportEntryOutput

type ExportImage

type ExportImage struct {
	// Attach an arbitrary key/value annotation to the image.
	Annotations map[string]string `pulumi:"annotations"`
	// The compression type to use.
	Compression *CompressionType `pulumi:"compression"`
	// Compression level from 0 to 22.
	CompressionLevel *int `pulumi:"compressionLevel"`
	// Name image with `prefix@<digest>`, used for anonymous images.
	DanglingNamePrefix *string `pulumi:"danglingNamePrefix"`
	// Forcefully apply compression.
	ForceCompression *bool `pulumi:"forceCompression"`
	// Allow pushing to an insecure registry.
	Insecure *bool `pulumi:"insecure"`
	// Add additional canonical name (`name@<digest>`).
	NameCanonical *bool `pulumi:"nameCanonical"`
	// Specify images names to export. This is overridden if tags are already specified.
	Names []string `pulumi:"names"`
	// Use OCI media types in exporter manifests.
	OciMediaTypes *bool `pulumi:"ociMediaTypes"`
	// Push after creating the image.
	Push *bool `pulumi:"push"`
	// Push image without name.
	PushByDigest *bool `pulumi:"pushByDigest"`
	// Store resulting images to the worker's image store and ensure all of
	// its blobs are in the content store.
	//
	// Defaults to `true`.
	//
	// Ignored if the worker doesn't have image store (when using OCI workers,
	// for example).
	Store *bool `pulumi:"store"`
	// Unpack image after creation (for use with containerd). Defaults to
	// `false`.
	Unpack *bool `pulumi:"unpack"`
}

func (*ExportImage) Defaults

func (val *ExportImage) Defaults() *ExportImage

Defaults sets the appropriate defaults for ExportImage

type ExportImageArgs

type ExportImageArgs struct {
	// Attach an arbitrary key/value annotation to the image.
	Annotations pulumi.StringMapInput `pulumi:"annotations"`
	// The compression type to use.
	Compression CompressionTypePtrInput `pulumi:"compression"`
	// Compression level from 0 to 22.
	CompressionLevel pulumi.IntPtrInput `pulumi:"compressionLevel"`
	// Name image with `prefix@<digest>`, used for anonymous images.
	DanglingNamePrefix pulumi.StringPtrInput `pulumi:"danglingNamePrefix"`
	// Forcefully apply compression.
	ForceCompression pulumi.BoolPtrInput `pulumi:"forceCompression"`
	// Allow pushing to an insecure registry.
	Insecure pulumi.BoolPtrInput `pulumi:"insecure"`
	// Add additional canonical name (`name@<digest>`).
	NameCanonical pulumi.BoolPtrInput `pulumi:"nameCanonical"`
	// Specify images names to export. This is overridden if tags are already specified.
	Names pulumi.StringArrayInput `pulumi:"names"`
	// Use OCI media types in exporter manifests.
	OciMediaTypes pulumi.BoolPtrInput `pulumi:"ociMediaTypes"`
	// Push after creating the image.
	Push pulumi.BoolPtrInput `pulumi:"push"`
	// Push image without name.
	PushByDigest pulumi.BoolPtrInput `pulumi:"pushByDigest"`
	// Store resulting images to the worker's image store and ensure all of
	// its blobs are in the content store.
	//
	// Defaults to `true`.
	//
	// Ignored if the worker doesn't have image store (when using OCI workers,
	// for example).
	Store pulumi.BoolPtrInput `pulumi:"store"`
	// Unpack image after creation (for use with containerd). Defaults to
	// `false`.
	Unpack pulumi.BoolPtrInput `pulumi:"unpack"`
}

func (*ExportImageArgs) Defaults

func (val *ExportImageArgs) Defaults() *ExportImageArgs

Defaults sets the appropriate defaults for ExportImageArgs

func (ExportImageArgs) ElementType

func (ExportImageArgs) ElementType() reflect.Type

func (ExportImageArgs) ToExportImageOutput

func (i ExportImageArgs) ToExportImageOutput() ExportImageOutput

func (ExportImageArgs) ToExportImageOutputWithContext

func (i ExportImageArgs) ToExportImageOutputWithContext(ctx context.Context) ExportImageOutput

func (ExportImageArgs) ToExportImagePtrOutput

func (i ExportImageArgs) ToExportImagePtrOutput() ExportImagePtrOutput

func (ExportImageArgs) ToExportImagePtrOutputWithContext

func (i ExportImageArgs) ToExportImagePtrOutputWithContext(ctx context.Context) ExportImagePtrOutput

type ExportImageInput

type ExportImageInput interface {
	pulumi.Input

	ToExportImageOutput() ExportImageOutput
	ToExportImageOutputWithContext(context.Context) ExportImageOutput
}

ExportImageInput is an input type that accepts ExportImageArgs and ExportImageOutput values. You can construct a concrete instance of `ExportImageInput` via:

ExportImageArgs{...}

type ExportImageOutput

type ExportImageOutput struct{ *pulumi.OutputState }

func (ExportImageOutput) Annotations

func (o ExportImageOutput) Annotations() pulumi.StringMapOutput

Attach an arbitrary key/value annotation to the image.

func (ExportImageOutput) Compression

The compression type to use.

func (ExportImageOutput) CompressionLevel

func (o ExportImageOutput) CompressionLevel() pulumi.IntPtrOutput

Compression level from 0 to 22.

func (ExportImageOutput) DanglingNamePrefix

func (o ExportImageOutput) DanglingNamePrefix() pulumi.StringPtrOutput

Name image with `prefix@<digest>`, used for anonymous images.

func (ExportImageOutput) ElementType

func (ExportImageOutput) ElementType() reflect.Type

func (ExportImageOutput) ForceCompression

func (o ExportImageOutput) ForceCompression() pulumi.BoolPtrOutput

Forcefully apply compression.

func (ExportImageOutput) Insecure

func (o ExportImageOutput) Insecure() pulumi.BoolPtrOutput

Allow pushing to an insecure registry.

func (ExportImageOutput) NameCanonical

func (o ExportImageOutput) NameCanonical() pulumi.BoolPtrOutput

Add additional canonical name (`name@<digest>`).

func (ExportImageOutput) Names

Specify images names to export. This is overridden if tags are already specified.

func (ExportImageOutput) OciMediaTypes

func (o ExportImageOutput) OciMediaTypes() pulumi.BoolPtrOutput

Use OCI media types in exporter manifests.

func (ExportImageOutput) Push

Push after creating the image.

func (ExportImageOutput) PushByDigest

func (o ExportImageOutput) PushByDigest() pulumi.BoolPtrOutput

Push image without name.

func (ExportImageOutput) Store

Store resulting images to the worker's image store and ensure all of its blobs are in the content store.

Defaults to `true`.

Ignored if the worker doesn't have image store (when using OCI workers, for example).

func (ExportImageOutput) ToExportImageOutput

func (o ExportImageOutput) ToExportImageOutput() ExportImageOutput

func (ExportImageOutput) ToExportImageOutputWithContext

func (o ExportImageOutput) ToExportImageOutputWithContext(ctx context.Context) ExportImageOutput

func (ExportImageOutput) ToExportImagePtrOutput

func (o ExportImageOutput) ToExportImagePtrOutput() ExportImagePtrOutput

func (ExportImageOutput) ToExportImagePtrOutputWithContext

func (o ExportImageOutput) ToExportImagePtrOutputWithContext(ctx context.Context) ExportImagePtrOutput

func (ExportImageOutput) Unpack

Unpack image after creation (for use with containerd). Defaults to `false`.

type ExportImagePtrInput

type ExportImagePtrInput interface {
	pulumi.Input

	ToExportImagePtrOutput() ExportImagePtrOutput
	ToExportImagePtrOutputWithContext(context.Context) ExportImagePtrOutput
}

ExportImagePtrInput is an input type that accepts ExportImageArgs, ExportImagePtr and ExportImagePtrOutput values. You can construct a concrete instance of `ExportImagePtrInput` via:

        ExportImageArgs{...}

or:

        nil

func ExportImagePtr

func ExportImagePtr(v *ExportImageArgs) ExportImagePtrInput

type ExportImagePtrOutput

type ExportImagePtrOutput struct{ *pulumi.OutputState }

func (ExportImagePtrOutput) Annotations

Attach an arbitrary key/value annotation to the image.

func (ExportImagePtrOutput) Compression

The compression type to use.

func (ExportImagePtrOutput) CompressionLevel

func (o ExportImagePtrOutput) CompressionLevel() pulumi.IntPtrOutput

Compression level from 0 to 22.

func (ExportImagePtrOutput) DanglingNamePrefix

func (o ExportImagePtrOutput) DanglingNamePrefix() pulumi.StringPtrOutput

Name image with `prefix@<digest>`, used for anonymous images.

func (ExportImagePtrOutput) Elem

func (ExportImagePtrOutput) ElementType

func (ExportImagePtrOutput) ElementType() reflect.Type

func (ExportImagePtrOutput) ForceCompression

func (o ExportImagePtrOutput) ForceCompression() pulumi.BoolPtrOutput

Forcefully apply compression.

func (ExportImagePtrOutput) Insecure

Allow pushing to an insecure registry.

func (ExportImagePtrOutput) NameCanonical

func (o ExportImagePtrOutput) NameCanonical() pulumi.BoolPtrOutput

Add additional canonical name (`name@<digest>`).

func (ExportImagePtrOutput) Names

Specify images names to export. This is overridden if tags are already specified.

func (ExportImagePtrOutput) OciMediaTypes

func (o ExportImagePtrOutput) OciMediaTypes() pulumi.BoolPtrOutput

Use OCI media types in exporter manifests.

func (ExportImagePtrOutput) Push

Push after creating the image.

func (ExportImagePtrOutput) PushByDigest

func (o ExportImagePtrOutput) PushByDigest() pulumi.BoolPtrOutput

Push image without name.

func (ExportImagePtrOutput) Store

Store resulting images to the worker's image store and ensure all of its blobs are in the content store.

Defaults to `true`.

Ignored if the worker doesn't have image store (when using OCI workers, for example).

func (ExportImagePtrOutput) ToExportImagePtrOutput

func (o ExportImagePtrOutput) ToExportImagePtrOutput() ExportImagePtrOutput

func (ExportImagePtrOutput) ToExportImagePtrOutputWithContext

func (o ExportImagePtrOutput) ToExportImagePtrOutputWithContext(ctx context.Context) ExportImagePtrOutput

func (ExportImagePtrOutput) Unpack

Unpack image after creation (for use with containerd). Defaults to `false`.

type ExportLocal

type ExportLocal struct {
	// Output path.
	Dest string `pulumi:"dest"`
}

type ExportLocalArgs

type ExportLocalArgs struct {
	// Output path.
	Dest pulumi.StringInput `pulumi:"dest"`
}

func (ExportLocalArgs) ElementType

func (ExportLocalArgs) ElementType() reflect.Type

func (ExportLocalArgs) ToExportLocalOutput

func (i ExportLocalArgs) ToExportLocalOutput() ExportLocalOutput

func (ExportLocalArgs) ToExportLocalOutputWithContext

func (i ExportLocalArgs) ToExportLocalOutputWithContext(ctx context.Context) ExportLocalOutput

func (ExportLocalArgs) ToExportLocalPtrOutput

func (i ExportLocalArgs) ToExportLocalPtrOutput() ExportLocalPtrOutput

func (ExportLocalArgs) ToExportLocalPtrOutputWithContext

func (i ExportLocalArgs) ToExportLocalPtrOutputWithContext(ctx context.Context) ExportLocalPtrOutput

type ExportLocalInput

type ExportLocalInput interface {
	pulumi.Input

	ToExportLocalOutput() ExportLocalOutput
	ToExportLocalOutputWithContext(context.Context) ExportLocalOutput
}

ExportLocalInput is an input type that accepts ExportLocalArgs and ExportLocalOutput values. You can construct a concrete instance of `ExportLocalInput` via:

ExportLocalArgs{...}

type ExportLocalOutput

type ExportLocalOutput struct{ *pulumi.OutputState }

func (ExportLocalOutput) Dest

Output path.

func (ExportLocalOutput) ElementType

func (ExportLocalOutput) ElementType() reflect.Type

func (ExportLocalOutput) ToExportLocalOutput

func (o ExportLocalOutput) ToExportLocalOutput() ExportLocalOutput

func (ExportLocalOutput) ToExportLocalOutputWithContext

func (o ExportLocalOutput) ToExportLocalOutputWithContext(ctx context.Context) ExportLocalOutput

func (ExportLocalOutput) ToExportLocalPtrOutput

func (o ExportLocalOutput) ToExportLocalPtrOutput() ExportLocalPtrOutput

func (ExportLocalOutput) ToExportLocalPtrOutputWithContext

func (o ExportLocalOutput) ToExportLocalPtrOutputWithContext(ctx context.Context) ExportLocalPtrOutput

type ExportLocalPtrInput

type ExportLocalPtrInput interface {
	pulumi.Input

	ToExportLocalPtrOutput() ExportLocalPtrOutput
	ToExportLocalPtrOutputWithContext(context.Context) ExportLocalPtrOutput
}

ExportLocalPtrInput is an input type that accepts ExportLocalArgs, ExportLocalPtr and ExportLocalPtrOutput values. You can construct a concrete instance of `ExportLocalPtrInput` via:

        ExportLocalArgs{...}

or:

        nil

func ExportLocalPtr

func ExportLocalPtr(v *ExportLocalArgs) ExportLocalPtrInput

type ExportLocalPtrOutput

type ExportLocalPtrOutput struct{ *pulumi.OutputState }

func (ExportLocalPtrOutput) Dest

Output path.

func (ExportLocalPtrOutput) Elem

func (ExportLocalPtrOutput) ElementType

func (ExportLocalPtrOutput) ElementType() reflect.Type

func (ExportLocalPtrOutput) ToExportLocalPtrOutput

func (o ExportLocalPtrOutput) ToExportLocalPtrOutput() ExportLocalPtrOutput

func (ExportLocalPtrOutput) ToExportLocalPtrOutputWithContext

func (o ExportLocalPtrOutput) ToExportLocalPtrOutputWithContext(ctx context.Context) ExportLocalPtrOutput

type ExportOCI

type ExportOCI struct {
	// Attach an arbitrary key/value annotation to the image.
	Annotations map[string]string `pulumi:"annotations"`
	// The compression type to use.
	Compression *CompressionType `pulumi:"compression"`
	// Compression level from 0 to 22.
	CompressionLevel *int `pulumi:"compressionLevel"`
	// The local export path.
	Dest *string `pulumi:"dest"`
	// Forcefully apply compression.
	ForceCompression *bool `pulumi:"forceCompression"`
	// Specify images names to export. This is overridden if tags are already specified.
	Names []string `pulumi:"names"`
	// Use OCI media types in exporter manifests.
	OciMediaTypes *bool `pulumi:"ociMediaTypes"`
	// Bundle the output into a tarball layout.
	Tar *bool `pulumi:"tar"`
}

func (*ExportOCI) Defaults

func (val *ExportOCI) Defaults() *ExportOCI

Defaults sets the appropriate defaults for ExportOCI

type ExportOCIArgs

type ExportOCIArgs struct {
	// Attach an arbitrary key/value annotation to the image.
	Annotations pulumi.StringMapInput `pulumi:"annotations"`
	// The compression type to use.
	Compression CompressionTypePtrInput `pulumi:"compression"`
	// Compression level from 0 to 22.
	CompressionLevel pulumi.IntPtrInput `pulumi:"compressionLevel"`
	// The local export path.
	Dest pulumi.StringPtrInput `pulumi:"dest"`
	// Forcefully apply compression.
	ForceCompression pulumi.BoolPtrInput `pulumi:"forceCompression"`
	// Specify images names to export. This is overridden if tags are already specified.
	Names pulumi.StringArrayInput `pulumi:"names"`
	// Use OCI media types in exporter manifests.
	OciMediaTypes pulumi.BoolPtrInput `pulumi:"ociMediaTypes"`
	// Bundle the output into a tarball layout.
	Tar pulumi.BoolPtrInput `pulumi:"tar"`
}

func (*ExportOCIArgs) Defaults

func (val *ExportOCIArgs) Defaults() *ExportOCIArgs

Defaults sets the appropriate defaults for ExportOCIArgs

func (ExportOCIArgs) ElementType

func (ExportOCIArgs) ElementType() reflect.Type

func (ExportOCIArgs) ToExportOCIOutput

func (i ExportOCIArgs) ToExportOCIOutput() ExportOCIOutput

func (ExportOCIArgs) ToExportOCIOutputWithContext

func (i ExportOCIArgs) ToExportOCIOutputWithContext(ctx context.Context) ExportOCIOutput

func (ExportOCIArgs) ToExportOCIPtrOutput

func (i ExportOCIArgs) ToExportOCIPtrOutput() ExportOCIPtrOutput

func (ExportOCIArgs) ToExportOCIPtrOutputWithContext

func (i ExportOCIArgs) ToExportOCIPtrOutputWithContext(ctx context.Context) ExportOCIPtrOutput

type ExportOCIInput

type ExportOCIInput interface {
	pulumi.Input

	ToExportOCIOutput() ExportOCIOutput
	ToExportOCIOutputWithContext(context.Context) ExportOCIOutput
}

ExportOCIInput is an input type that accepts ExportOCIArgs and ExportOCIOutput values. You can construct a concrete instance of `ExportOCIInput` via:

ExportOCIArgs{...}

type ExportOCIOutput

type ExportOCIOutput struct{ *pulumi.OutputState }

func (ExportOCIOutput) Annotations

func (o ExportOCIOutput) Annotations() pulumi.StringMapOutput

Attach an arbitrary key/value annotation to the image.

func (ExportOCIOutput) Compression

func (o ExportOCIOutput) Compression() CompressionTypePtrOutput

The compression type to use.

func (ExportOCIOutput) CompressionLevel

func (o ExportOCIOutput) CompressionLevel() pulumi.IntPtrOutput

Compression level from 0 to 22.

func (ExportOCIOutput) Dest

The local export path.

func (ExportOCIOutput) ElementType

func (ExportOCIOutput) ElementType() reflect.Type

func (ExportOCIOutput) ForceCompression

func (o ExportOCIOutput) ForceCompression() pulumi.BoolPtrOutput

Forcefully apply compression.

func (ExportOCIOutput) Names

Specify images names to export. This is overridden if tags are already specified.

func (ExportOCIOutput) OciMediaTypes

func (o ExportOCIOutput) OciMediaTypes() pulumi.BoolPtrOutput

Use OCI media types in exporter manifests.

func (ExportOCIOutput) Tar

Bundle the output into a tarball layout.

func (ExportOCIOutput) ToExportOCIOutput

func (o ExportOCIOutput) ToExportOCIOutput() ExportOCIOutput

func (ExportOCIOutput) ToExportOCIOutputWithContext

func (o ExportOCIOutput) ToExportOCIOutputWithContext(ctx context.Context) ExportOCIOutput

func (ExportOCIOutput) ToExportOCIPtrOutput

func (o ExportOCIOutput) ToExportOCIPtrOutput() ExportOCIPtrOutput

func (ExportOCIOutput) ToExportOCIPtrOutputWithContext

func (o ExportOCIOutput) ToExportOCIPtrOutputWithContext(ctx context.Context) ExportOCIPtrOutput

type ExportOCIPtrInput

type ExportOCIPtrInput interface {
	pulumi.Input

	ToExportOCIPtrOutput() ExportOCIPtrOutput
	ToExportOCIPtrOutputWithContext(context.Context) ExportOCIPtrOutput
}

ExportOCIPtrInput is an input type that accepts ExportOCIArgs, ExportOCIPtr and ExportOCIPtrOutput values. You can construct a concrete instance of `ExportOCIPtrInput` via:

        ExportOCIArgs{...}

or:

        nil

func ExportOCIPtr

func ExportOCIPtr(v *ExportOCIArgs) ExportOCIPtrInput

type ExportOCIPtrOutput

type ExportOCIPtrOutput struct{ *pulumi.OutputState }

func (ExportOCIPtrOutput) Annotations

func (o ExportOCIPtrOutput) Annotations() pulumi.StringMapOutput

Attach an arbitrary key/value annotation to the image.

func (ExportOCIPtrOutput) Compression

The compression type to use.

func (ExportOCIPtrOutput) CompressionLevel

func (o ExportOCIPtrOutput) CompressionLevel() pulumi.IntPtrOutput

Compression level from 0 to 22.

func (ExportOCIPtrOutput) Dest

The local export path.

func (ExportOCIPtrOutput) Elem

func (ExportOCIPtrOutput) ElementType

func (ExportOCIPtrOutput) ElementType() reflect.Type

func (ExportOCIPtrOutput) ForceCompression

func (o ExportOCIPtrOutput) ForceCompression() pulumi.BoolPtrOutput

Forcefully apply compression.

func (ExportOCIPtrOutput) Names

Specify images names to export. This is overridden if tags are already specified.

func (ExportOCIPtrOutput) OciMediaTypes

func (o ExportOCIPtrOutput) OciMediaTypes() pulumi.BoolPtrOutput

Use OCI media types in exporter manifests.

func (ExportOCIPtrOutput) Tar

Bundle the output into a tarball layout.

func (ExportOCIPtrOutput) ToExportOCIPtrOutput

func (o ExportOCIPtrOutput) ToExportOCIPtrOutput() ExportOCIPtrOutput

func (ExportOCIPtrOutput) ToExportOCIPtrOutputWithContext

func (o ExportOCIPtrOutput) ToExportOCIPtrOutputWithContext(ctx context.Context) ExportOCIPtrOutput

type ExportRegistry

type ExportRegistry struct {
	// Attach an arbitrary key/value annotation to the image.
	Annotations map[string]string `pulumi:"annotations"`
	// The compression type to use.
	Compression *CompressionType `pulumi:"compression"`
	// Compression level from 0 to 22.
	CompressionLevel *int `pulumi:"compressionLevel"`
	// Name image with `prefix@<digest>`, used for anonymous images.
	DanglingNamePrefix *string `pulumi:"danglingNamePrefix"`
	// Forcefully apply compression.
	ForceCompression *bool `pulumi:"forceCompression"`
	// Allow pushing to an insecure registry.
	Insecure *bool `pulumi:"insecure"`
	// Add additional canonical name (`name@<digest>`).
	NameCanonical *bool `pulumi:"nameCanonical"`
	// Specify images names to export. This is overridden if tags are already specified.
	Names []string `pulumi:"names"`
	// Use OCI media types in exporter manifests.
	OciMediaTypes *bool `pulumi:"ociMediaTypes"`
	// Push after creating the image.
	Push *bool `pulumi:"push"`
	// Push image without name.
	PushByDigest *bool `pulumi:"pushByDigest"`
	// Store resulting images to the worker's image store and ensure all of
	// its blobs are in the content store.
	//
	// Defaults to `true`.
	//
	// Ignored if the worker doesn't have image store (when using OCI workers,
	// for example).
	Store *bool `pulumi:"store"`
	// Unpack image after creation (for use with containerd). Defaults to
	// `false`.
	Unpack *bool `pulumi:"unpack"`
}

func (*ExportRegistry) Defaults

func (val *ExportRegistry) Defaults() *ExportRegistry

Defaults sets the appropriate defaults for ExportRegistry

type ExportRegistryArgs

type ExportRegistryArgs struct {
	// Attach an arbitrary key/value annotation to the image.
	Annotations pulumi.StringMapInput `pulumi:"annotations"`
	// The compression type to use.
	Compression CompressionTypePtrInput `pulumi:"compression"`
	// Compression level from 0 to 22.
	CompressionLevel pulumi.IntPtrInput `pulumi:"compressionLevel"`
	// Name image with `prefix@<digest>`, used for anonymous images.
	DanglingNamePrefix pulumi.StringPtrInput `pulumi:"danglingNamePrefix"`
	// Forcefully apply compression.
	ForceCompression pulumi.BoolPtrInput `pulumi:"forceCompression"`
	// Allow pushing to an insecure registry.
	Insecure pulumi.BoolPtrInput `pulumi:"insecure"`
	// Add additional canonical name (`name@<digest>`).
	NameCanonical pulumi.BoolPtrInput `pulumi:"nameCanonical"`
	// Specify images names to export. This is overridden if tags are already specified.
	Names pulumi.StringArrayInput `pulumi:"names"`
	// Use OCI media types in exporter manifests.
	OciMediaTypes pulumi.BoolPtrInput `pulumi:"ociMediaTypes"`
	// Push after creating the image.
	Push pulumi.BoolPtrInput `pulumi:"push"`
	// Push image without name.
	PushByDigest pulumi.BoolPtrInput `pulumi:"pushByDigest"`
	// Store resulting images to the worker's image store and ensure all of
	// its blobs are in the content store.
	//
	// Defaults to `true`.
	//
	// Ignored if the worker doesn't have image store (when using OCI workers,
	// for example).
	Store pulumi.BoolPtrInput `pulumi:"store"`
	// Unpack image after creation (for use with containerd). Defaults to
	// `false`.
	Unpack pulumi.BoolPtrInput `pulumi:"unpack"`
}

func (*ExportRegistryArgs) Defaults

func (val *ExportRegistryArgs) Defaults() *ExportRegistryArgs

Defaults sets the appropriate defaults for ExportRegistryArgs

func (ExportRegistryArgs) ElementType

func (ExportRegistryArgs) ElementType() reflect.Type

func (ExportRegistryArgs) ToExportRegistryOutput

func (i ExportRegistryArgs) ToExportRegistryOutput() ExportRegistryOutput

func (ExportRegistryArgs) ToExportRegistryOutputWithContext

func (i ExportRegistryArgs) ToExportRegistryOutputWithContext(ctx context.Context) ExportRegistryOutput

func (ExportRegistryArgs) ToExportRegistryPtrOutput

func (i ExportRegistryArgs) ToExportRegistryPtrOutput() ExportRegistryPtrOutput

func (ExportRegistryArgs) ToExportRegistryPtrOutputWithContext

func (i ExportRegistryArgs) ToExportRegistryPtrOutputWithContext(ctx context.Context) ExportRegistryPtrOutput

type ExportRegistryInput

type ExportRegistryInput interface {
	pulumi.Input

	ToExportRegistryOutput() ExportRegistryOutput
	ToExportRegistryOutputWithContext(context.Context) ExportRegistryOutput
}

ExportRegistryInput is an input type that accepts ExportRegistryArgs and ExportRegistryOutput values. You can construct a concrete instance of `ExportRegistryInput` via:

ExportRegistryArgs{...}

type ExportRegistryOutput

type ExportRegistryOutput struct{ *pulumi.OutputState }

func (ExportRegistryOutput) Annotations

Attach an arbitrary key/value annotation to the image.

func (ExportRegistryOutput) Compression

The compression type to use.

func (ExportRegistryOutput) CompressionLevel

func (o ExportRegistryOutput) CompressionLevel() pulumi.IntPtrOutput

Compression level from 0 to 22.

func (ExportRegistryOutput) DanglingNamePrefix

func (o ExportRegistryOutput) DanglingNamePrefix() pulumi.StringPtrOutput

Name image with `prefix@<digest>`, used for anonymous images.

func (ExportRegistryOutput) ElementType

func (ExportRegistryOutput) ElementType() reflect.Type

func (ExportRegistryOutput) ForceCompression

func (o ExportRegistryOutput) ForceCompression() pulumi.BoolPtrOutput

Forcefully apply compression.

func (ExportRegistryOutput) Insecure

Allow pushing to an insecure registry.

func (ExportRegistryOutput) NameCanonical

func (o ExportRegistryOutput) NameCanonical() pulumi.BoolPtrOutput

Add additional canonical name (`name@<digest>`).

func (ExportRegistryOutput) Names

Specify images names to export. This is overridden if tags are already specified.

func (ExportRegistryOutput) OciMediaTypes

func (o ExportRegistryOutput) OciMediaTypes() pulumi.BoolPtrOutput

Use OCI media types in exporter manifests.

func (ExportRegistryOutput) Push

Push after creating the image.

func (ExportRegistryOutput) PushByDigest

func (o ExportRegistryOutput) PushByDigest() pulumi.BoolPtrOutput

Push image without name.

func (ExportRegistryOutput) Store

Store resulting images to the worker's image store and ensure all of its blobs are in the content store.

Defaults to `true`.

Ignored if the worker doesn't have image store (when using OCI workers, for example).

func (ExportRegistryOutput) ToExportRegistryOutput

func (o ExportRegistryOutput) ToExportRegistryOutput() ExportRegistryOutput

func (ExportRegistryOutput) ToExportRegistryOutputWithContext

func (o ExportRegistryOutput) ToExportRegistryOutputWithContext(ctx context.Context) ExportRegistryOutput

func (ExportRegistryOutput) ToExportRegistryPtrOutput

func (o ExportRegistryOutput) ToExportRegistryPtrOutput() ExportRegistryPtrOutput

func (ExportRegistryOutput) ToExportRegistryPtrOutputWithContext

func (o ExportRegistryOutput) ToExportRegistryPtrOutputWithContext(ctx context.Context) ExportRegistryPtrOutput

func (ExportRegistryOutput) Unpack

Unpack image after creation (for use with containerd). Defaults to `false`.

type ExportRegistryPtrInput

type ExportRegistryPtrInput interface {
	pulumi.Input

	ToExportRegistryPtrOutput() ExportRegistryPtrOutput
	ToExportRegistryPtrOutputWithContext(context.Context) ExportRegistryPtrOutput
}

ExportRegistryPtrInput is an input type that accepts ExportRegistryArgs, ExportRegistryPtr and ExportRegistryPtrOutput values. You can construct a concrete instance of `ExportRegistryPtrInput` via:

        ExportRegistryArgs{...}

or:

        nil

type ExportRegistryPtrOutput

type ExportRegistryPtrOutput struct{ *pulumi.OutputState }

func (ExportRegistryPtrOutput) Annotations

Attach an arbitrary key/value annotation to the image.

func (ExportRegistryPtrOutput) Compression

The compression type to use.

func (ExportRegistryPtrOutput) CompressionLevel

func (o ExportRegistryPtrOutput) CompressionLevel() pulumi.IntPtrOutput

Compression level from 0 to 22.

func (ExportRegistryPtrOutput) DanglingNamePrefix

func (o ExportRegistryPtrOutput) DanglingNamePrefix() pulumi.StringPtrOutput

Name image with `prefix@<digest>`, used for anonymous images.

func (ExportRegistryPtrOutput) Elem

func (ExportRegistryPtrOutput) ElementType

func (ExportRegistryPtrOutput) ElementType() reflect.Type

func (ExportRegistryPtrOutput) ForceCompression

func (o ExportRegistryPtrOutput) ForceCompression() pulumi.BoolPtrOutput

Forcefully apply compression.

func (ExportRegistryPtrOutput) Insecure

Allow pushing to an insecure registry.

func (ExportRegistryPtrOutput) NameCanonical

func (o ExportRegistryPtrOutput) NameCanonical() pulumi.BoolPtrOutput

Add additional canonical name (`name@<digest>`).

func (ExportRegistryPtrOutput) Names

Specify images names to export. This is overridden if tags are already specified.

func (ExportRegistryPtrOutput) OciMediaTypes

func (o ExportRegistryPtrOutput) OciMediaTypes() pulumi.BoolPtrOutput

Use OCI media types in exporter manifests.

func (ExportRegistryPtrOutput) Push

Push after creating the image.

func (ExportRegistryPtrOutput) PushByDigest

func (o ExportRegistryPtrOutput) PushByDigest() pulumi.BoolPtrOutput

Push image without name.

func (ExportRegistryPtrOutput) Store

Store resulting images to the worker's image store and ensure all of its blobs are in the content store.

Defaults to `true`.

Ignored if the worker doesn't have image store (when using OCI workers, for example).

func (ExportRegistryPtrOutput) ToExportRegistryPtrOutput

func (o ExportRegistryPtrOutput) ToExportRegistryPtrOutput() ExportRegistryPtrOutput

func (ExportRegistryPtrOutput) ToExportRegistryPtrOutputWithContext

func (o ExportRegistryPtrOutput) ToExportRegistryPtrOutputWithContext(ctx context.Context) ExportRegistryPtrOutput

func (ExportRegistryPtrOutput) Unpack

Unpack image after creation (for use with containerd). Defaults to `false`.

type ExportTar

type ExportTar struct {
	// Output path.
	Dest string `pulumi:"dest"`
}

type ExportTarArgs

type ExportTarArgs struct {
	// Output path.
	Dest pulumi.StringInput `pulumi:"dest"`
}

func (ExportTarArgs) ElementType

func (ExportTarArgs) ElementType() reflect.Type

func (ExportTarArgs) ToExportTarOutput

func (i ExportTarArgs) ToExportTarOutput() ExportTarOutput

func (ExportTarArgs) ToExportTarOutputWithContext

func (i ExportTarArgs) ToExportTarOutputWithContext(ctx context.Context) ExportTarOutput

func (ExportTarArgs) ToExportTarPtrOutput

func (i ExportTarArgs) ToExportTarPtrOutput() ExportTarPtrOutput

func (ExportTarArgs) ToExportTarPtrOutputWithContext

func (i ExportTarArgs) ToExportTarPtrOutputWithContext(ctx context.Context) ExportTarPtrOutput

type ExportTarInput

type ExportTarInput interface {
	pulumi.Input

	ToExportTarOutput() ExportTarOutput
	ToExportTarOutputWithContext(context.Context) ExportTarOutput
}

ExportTarInput is an input type that accepts ExportTarArgs and ExportTarOutput values. You can construct a concrete instance of `ExportTarInput` via:

ExportTarArgs{...}

type ExportTarOutput

type ExportTarOutput struct{ *pulumi.OutputState }

func (ExportTarOutput) Dest

Output path.

func (ExportTarOutput) ElementType

func (ExportTarOutput) ElementType() reflect.Type

func (ExportTarOutput) ToExportTarOutput

func (o ExportTarOutput) ToExportTarOutput() ExportTarOutput

func (ExportTarOutput) ToExportTarOutputWithContext

func (o ExportTarOutput) ToExportTarOutputWithContext(ctx context.Context) ExportTarOutput

func (ExportTarOutput) ToExportTarPtrOutput

func (o ExportTarOutput) ToExportTarPtrOutput() ExportTarPtrOutput

func (ExportTarOutput) ToExportTarPtrOutputWithContext

func (o ExportTarOutput) ToExportTarPtrOutputWithContext(ctx context.Context) ExportTarPtrOutput

type ExportTarPtrInput

type ExportTarPtrInput interface {
	pulumi.Input

	ToExportTarPtrOutput() ExportTarPtrOutput
	ToExportTarPtrOutputWithContext(context.Context) ExportTarPtrOutput
}

ExportTarPtrInput is an input type that accepts ExportTarArgs, ExportTarPtr and ExportTarPtrOutput values. You can construct a concrete instance of `ExportTarPtrInput` via:

        ExportTarArgs{...}

or:

        nil

func ExportTarPtr

func ExportTarPtr(v *ExportTarArgs) ExportTarPtrInput

type ExportTarPtrOutput

type ExportTarPtrOutput struct{ *pulumi.OutputState }

func (ExportTarPtrOutput) Dest

Output path.

func (ExportTarPtrOutput) Elem

func (ExportTarPtrOutput) ElementType

func (ExportTarPtrOutput) ElementType() reflect.Type

func (ExportTarPtrOutput) ToExportTarPtrOutput

func (o ExportTarPtrOutput) ToExportTarPtrOutput() ExportTarPtrOutput

func (ExportTarPtrOutput) ToExportTarPtrOutputWithContext

func (o ExportTarPtrOutput) ToExportTarPtrOutputWithContext(ctx context.Context) ExportTarPtrOutput

type Image

type Image struct {
	pulumi.CustomResourceState

	// Custom `host:ip` mappings to use during the build.
	//
	// Equivalent to Docker's `--add-host` flag.
	AddHosts pulumi.StringArrayOutput `pulumi:"addHosts"`
	// `ARG` names and values to set during the build.
	//
	// These variables are accessed like environment variables inside `RUN`
	// instructions.
	//
	// Build arguments are persisted in the image, so you should use `secrets`
	// if these arguments are sensitive.
	//
	// Equivalent to Docker's `--build-arg` flag.
	BuildArgs pulumi.StringMapOutput `pulumi:"buildArgs"`
	// By default, preview behavior depends on the execution environment. If
	// Pulumi detects the operation is running on a CI system (GitHub Actions,
	// Travis CI, Azure Pipelines, etc.) then it will build images during
	// previews as a safeguard. Otherwise, if not running on CI, previews will
	// not build images.
	//
	// Setting this to `false` forces previews to never perform builds, and
	// setting it to `true` will always build the image during previews.
	//
	// Images built during previews are never exported to registries, however
	// cache manifests are still exported.
	//
	// On-disk Dockerfiles are always validated for syntactic correctness
	// regardless of this setting.
	BuildOnPreview pulumi.BoolPtrOutput `pulumi:"buildOnPreview"`
	// Builder configuration.
	Builder BuilderConfigPtrOutput `pulumi:"builder"`
	// Cache export configuration.
	//
	// Equivalent to Docker's `--cache-from` flag.
	CacheFrom CacheFromEntryArrayOutput `pulumi:"cacheFrom"`
	// Cache import configuration.
	//
	// Equivalent to Docker's `--cache-to` flag.
	CacheTo CacheToEntryArrayOutput `pulumi:"cacheTo"`
	// Build context settings.
	//
	// Equivalent to Docker's `PATH | URL | -` positional argument.
	Context BuildContextPtrOutput `pulumi:"context"`
	// A preliminary hash of the image's build context.
	//
	// Pulumi uses this to determine if an image _may_ need to be re-built.
	ContextHash pulumi.StringOutput `pulumi:"contextHash"`
	// A mapping of target names to the SHA256 digest of their pushed manifest.
	//
	// If no target was specified 'default' is used as the target name.
	//
	// Pushed manifests can be referenced as `<tag>@<digest>`.
	Digests pulumi.StringMapOutput `pulumi:"digests"`
	// Dockerfile settings.
	//
	// Equivalent to Docker's `--file` flag.
	Dockerfile DockerfilePtrOutput `pulumi:"dockerfile"`
	// Controls where images are persisted after building.
	//
	// Images are only stored in the local cache unless `exports` are
	// explicitly configured.
	//
	// Equivalent to Docker's `--output` flag.
	Exports ExportEntryArrayOutput `pulumi:"exports"`
	// Attach arbitrary key/value metadata to the image.
	//
	// Equivalent to Docker's `--label` flag.
	Labels pulumi.StringMapOutput `pulumi:"labels"`
	// When `true` the build will automatically include a `docker` export.
	//
	// Defaults to `false`.
	//
	// Equivalent to Docker's `--load` flag.
	Load pulumi.BoolPtrOutput `pulumi:"load"`
	// Set the network mode for `RUN` instructions. Defaults to `default`.
	//
	// For custom networks, configure your builder with `--driver-opt network=...`.
	//
	// Equivalent to Docker's `--network` flag.
	Network NetworkModePtrOutput `pulumi:"network"`
	// Do not import cache manifests when building the image.
	//
	// Equivalent to Docker's `--no-cache` flag.
	NoCache pulumi.BoolPtrOutput `pulumi:"noCache"`
	// Set target platform(s) for the build. Defaults to the host's platform.
	//
	// Equivalent to Docker's `--platform` flag.
	Platforms PlatformArrayOutput `pulumi:"platforms"`
	// Always pull referenced images.
	//
	// Equivalent to Docker's `--pull` flag.
	Pull pulumi.BoolPtrOutput `pulumi:"pull"`
	// When `true` the build will automatically include a `registry` export.
	//
	// Defaults to `false`.
	//
	// Equivalent to Docker's `--push` flag.
	Push pulumi.BoolPtrOutput `pulumi:"push"`
	// If the image was pushed to any registries then this will contain a
	// single fully-qualified tag including the build's digest.
	//
	// This is only for convenience and may not be appropriate for situations
	// where multiple tags or registries are involved. In those cases this
	// output is not guaranteed to be stable.
	//
	// For more control over tags consumed by downstream resources you should
	// use the `Digests` output.
	Ref pulumi.StringOutput `pulumi:"ref"`
	// Registry credentials. Required if reading or exporting to private
	// repositories.
	//
	// Credentials are kept in-memory and do not pollute pre-existing
	// credentials on the host.
	//
	// Similar to `docker login`.
	Registries RegistryAuthArrayOutput `pulumi:"registries"`
	// A mapping of secret names to their corresponding values.
	//
	// Unlike the Docker CLI, these can be passed by value and do not need to
	// exist on-disk or in environment variables.
	//
	// Build arguments and environment variables are persistent in the final
	// image, so you should use this for sensitive values.
	//
	// Similar to Docker's `--secret` flag.
	Secrets pulumi.StringMapOutput `pulumi:"secrets"`
	// SSH agent socket or keys to expose to the build.
	//
	// Equivalent to Docker's `--ssh` flag.
	Ssh SSHArrayOutput `pulumi:"ssh"`
	// Name and optionally a tag (format: `name:tag`).
	//
	// If exporting to a registry, the name should include the fully qualified
	// registry address (e.g. `docker.io/pulumi/pulumi:latest`).
	//
	// Equivalent to Docker's `--tag` flag.
	Tags pulumi.StringArrayOutput `pulumi:"tags"`
	// Set the target build stage(s) to build.
	//
	// If not specified all targets will be built by default.
	//
	// Equivalent to Docker's `--target` flag.
	Targets pulumi.StringArrayOutput `pulumi:"targets"`
}

A Docker image built using buildx -- Docker's interface to the improved BuildKit backend.

## Stability

**This resource is experimental and subject to change.**

API types are unstable. Subsequent releases _may_ require manual edits to your state file(s) in order to adopt API changes.

`retainOnDelete: true` is recommended with this resource until it is stable. This enables future API changes to be adopted more easily by renaming resources.

Only use this resource if you understand and accept the risks.

## Migrating v3 and v4 Image resources

The `buildx.Image` resource provides a superset of functionality over the `Image` resources available in versions 3 and 4 of the Pulumi Docker provider. Existing `Image` resources can be converted to `build.Image` resources with minor modifications.

### Behavioral differences

There are several key behavioral differences to keep in mind when transitioning images to the new `buildx.Image` resource.

#### Previews

Version `3.x` of the Pulumi Docker provider always builds images during preview operations. This is helpful as a safeguard to prevent "broken" images from merging, but users found the behavior unnecessarily redundant when running previews and updates locally.

Version `4.x` changed build-on-preview behavior to be opt-in. By default, `v4.x` `Image` resources do _not_ build during previews, but this behavior can be toggled with the `buildOnPreview` option. Some users felt this made previews in CI less helpful because they no longer detected bad images by default.

The default behavior of the `buildx.Image` resource has been changed to strike a better balance between CI use cases and manual updates. By default, Pulumi will now only build `buildx.Image` resources during previews when it detects a CI environment like GitHub Actions. Previews run in non-CI environments will not build images. This behavior is still configurable with `buildOnPreview`.

#### Push behavior

Versions `3.x` and `4.x` of the Pulumi Docker provider attempt to push images to remote registries by default. They expose a `skipPush: true` option to disable pushing.

The `buildx.Image` resource matches the Docker CLI's behavior and does not push images anywhere by default.

To push images to a registry you can include `push: true` (equivalent to Docker's `--push` flag) or configure an `export` of type `registry` (equivalent to Docker's `--output type=registry`). Like Docker, if an image is configured without exports you will see a warning with instructions for how to enable pushing, but the build will still proceed normally.

#### Secrets

Version `3.x` of the Pulumi Docker provider supports secrets by way of the `extraOptions` field.

Version `4.x` of the Pulumi Docker provider does not support secrets.

The `buildx.Image` resource supports secrets but does not require those secrets to exist on-disk or in environment variables. Instead, they should be passed directly as values. (Please be sure to familiarize yourself with Pulumi's [native secret handling](https://www.pulumi.com/docs/concepts/secrets/).) Pulumi also provides [ESC](https://www.pulumi.com/product/esc/) to make it easier to share secrets across stacks and environments.

#### Caching

Version `3.x` of the Pulumi Docker provider exposes `cacheFrom: bool | { stages: [...] }`. It builds targets individually and pushes them to separate images for caching.

Version `4.x` exposes a similar parameter `cacheFrom: { images: [...] }` which pushes and pulls inline caches.

Both versions 3 and 4 require specific environment variables to be set and deviate from Docker's native caching behavior. This can result in inefficient builds due to unnecessary image pulls, repeated file transfers, etc.

The `buildx.Image` resource delegates all caching behavior to Docker. `cacheFrom` and `cacheTo` options (equivalent to Docker's `--cache-to` and `--cache-from`) are exposed and provide additional cache targets, such as local disk, S3 storage, etc.

#### Outputs

TODO:

#### Tag deletion and refreshes

Versions 3 and 4 of Pulumi Docker provider do not delete tags when the `Image` resource is deleted, nor do they confirm expected tags exist during `refresh` operations.

The `buidx.Image` will query your registries during `refresh` to ensure the expected tags exist. If any are missing a subsequent `update` will push them.

When a `buildx.Image` is deleted, it will _attempt_ to also delete any pushed tags. Deletion of remote tags is not guaranteed, because not all registries currently support this operation (`docker.io` in particular).

Use the [`retainOnDelete: true`](https://www.pulumi.com/docs/concepts/options/retainondelete/) option if you do not want tags deleted.

### Example migration

Examples of "fully-featured" `v3` and `v4` `Image` resources are shown below, along with an example `buildx.Image` resource showing how they would look after migration.

The `v3` resource leverages `buildx` via a `DOCKER_BUILDKIT` environment variable and CLI flags passed in with `extraOption`. After migration, the environment variable is no longer needed and CLI flags are now properties on the `buildx.Image`. In almost all cases, properties of `buildx.Image` are named after the Docker CLI flag they correspond to.

The `v4` resource is less functional than its `v3` counterpart because it lacks the flexibility of `extraOptions`. It it is shown with parameters similar to the `v3` example for completeness.

## Example Usage

## Example Usage ### Push to AWS ECR with caching ```go package main

import (

"fmt"

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ecr"
"github.com/pulumi/pulumi-docker/sdk/v4/go/docker/buildx"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		ecrRepository, err := ecr.NewRepository(ctx, "ecr-repository", nil)
		if err != nil {
			return err
		}
		authToken := ecr.GetAuthorizationTokenOutput(ctx, ecr.GetAuthorizationTokenOutputArgs{
			RegistryId: ecrRepository.RegistryId,
		}, nil)
		_, err = buildx.NewImage(ctx, "my-image", &buildx.ImageArgs{
			CacheFrom: buildx.CacheFromEntryArray{
				&buildx.CacheFromEntryArgs{
					Registry: &buildx.CacheFromRegistryArgs{
						Ref: ecrRepository.RepositoryUrl.ApplyT(func(repositoryUrl string) (string, error) {
							return fmt.Sprintf("%v:cache", repositoryUrl), nil
						}).(pulumi.StringOutput),
					},
				},
			},
			CacheTo: buildx.CacheToEntryArray{
				&buildx.CacheToEntryArgs{
					Registry: &buildx.CacheToRegistryArgs{
						ImageManifest: pulumi.Bool(true),
						OciMediaTypes: pulumi.Bool(true),
						Ref: ecrRepository.RepositoryUrl.ApplyT(func(repositoryUrl string) (string, error) {
							return fmt.Sprintf("%v:cache", repositoryUrl), nil
						}).(pulumi.StringOutput),
					},
				},
			},
			Context: &buildx.BuildContextArgs{
				Location: pulumi.String("./app"),
			},
			Dockerfile: &buildx.DockerfileArgs{
				Location: pulumi.String("./Dockerfile"),
			},
			Push: pulumi.Bool(true),
			Registries: buildx.RegistryAuthArray{
				&buildx.RegistryAuthArgs{
					Address: ecrRepository.RepositoryUrl,
					Password: authToken.ApplyT(func(authToken ecr.GetAuthorizationTokenResult) (*string, error) {
						return &authToken.Password, nil
					}).(pulumi.StringPtrOutput),
					Username: authToken.ApplyT(func(authToken ecr.GetAuthorizationTokenResult) (*string, error) {
						return &authToken.UserName, nil
					}).(pulumi.StringPtrOutput),
				},
			},
			Tags: pulumi.StringArray{
				ecrRepository.RepositoryUrl.ApplyT(func(repositoryUrl string) (string, error) {
					return fmt.Sprintf("%v:latest", repositoryUrl), nil
				}).(pulumi.StringOutput),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Multi-platform image ```go package main

import (

"github.com/pulumi/pulumi-docker/sdk/v4/go/docker/buildx"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := buildx.NewImage(ctx, "image", &buildx.ImageArgs{
			Context: &buildx.BuildContextArgs{
				Location: pulumi.String("app"),
			},
			Platforms: buildx.PlatformArray{
				buildx.Platform_Plan9_amd64,
				buildx.Platform_Plan9_386,
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Registry export ```go package main

import (

"github.com/pulumi/pulumi-docker/sdk/v4/go/docker/buildx"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := buildx.NewImage(ctx, "image", &buildx.ImageArgs{
			Context: &buildx.BuildContextArgs{
				Location: pulumi.String("app"),
			},
			Push: pulumi.Bool(true),
			Registries: buildx.RegistryAuthArray{
				&buildx.RegistryAuthArgs{
					Address:  pulumi.String("docker.io"),
					Password: pulumi.Any(dockerHubPassword),
					Username: pulumi.String("pulumibot"),
				},
			},
			Tags: pulumi.StringArray{
				pulumi.String("docker.io/pulumi/pulumi:3.107.0"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Caching ```go package main

import (

"github.com/pulumi/pulumi-docker/sdk/v4/go/docker/buildx"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := buildx.NewImage(ctx, "image", &buildx.ImageArgs{
			CacheFrom: buildx.CacheFromEntryArray{
				&buildx.CacheFromEntryArgs{
					Local: &buildx.CacheFromLocalArgs{
						Src: pulumi.String("tmp/cache"),
					},
				},
			},
			CacheTo: buildx.CacheToEntryArray{
				&buildx.CacheToEntryArgs{
					Local: &buildx.CacheToLocalArgs{
						Dest: pulumi.String("tmp/cache"),
						Mode: buildx.CacheModeMax,
					},
				},
			},
			Context: &buildx.BuildContextArgs{
				Location: pulumi.String("app"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Build arguments ```go package main

import (

"github.com/pulumi/pulumi-docker/sdk/v4/go/docker/buildx"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := buildx.NewImage(ctx, "image", &buildx.ImageArgs{
			BuildArgs: pulumi.StringMap{
				"SET_ME_TO_TRUE": pulumi.String("true"),
			},
			Context: &buildx.BuildContextArgs{
				Location: pulumi.String("app"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Build targets ```go package main

import (

"github.com/pulumi/pulumi-docker/sdk/v4/go/docker/buildx"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := buildx.NewImage(ctx, "image", &buildx.ImageArgs{
			Context: &buildx.BuildContextArgs{
				Location: pulumi.String("app"),
			},
			Targets: pulumi.StringArray{
				pulumi.String("build-me"),
				pulumi.String("also-build-me"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Named contexts ```go package main

import (

"github.com/pulumi/pulumi-docker/sdk/v4/go/docker/buildx"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := buildx.NewImage(ctx, "image", &buildx.ImageArgs{
			Context: &buildx.BuildContextArgs{
				Location: pulumi.String("app"),
				Named: buildx.ContextMap{
					"golang:latest": &buildx.ContextArgs{
						Location: pulumi.String("docker-image://golang@sha256:b8e62cf593cdaff36efd90aa3a37de268e6781a2e68c6610940c48f7cdf36984"),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Remote context ```go package main

import (

"github.com/pulumi/pulumi-docker/sdk/v4/go/docker/buildx"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := buildx.NewImage(ctx, "image", &buildx.ImageArgs{
			Context: &buildx.BuildContextArgs{
				Location: pulumi.String("https://raw.githubusercontent.com/pulumi/pulumi-docker/api-types/provider/testdata/Dockerfile"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Inline Dockerfile ```go package main

import (

"github.com/pulumi/pulumi-docker/sdk/v4/go/docker/buildx"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := buildx.NewImage(ctx, "image", &buildx.ImageArgs{
			Context: &buildx.BuildContextArgs{
				Location: pulumi.String("app"),
			},
			Dockerfile: &buildx.DockerfileArgs{
				Inline: pulumi.String("FROM busybox\nCOPY hello.c ./\n"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Remote context ```go package main

import (

"github.com/pulumi/pulumi-docker/sdk/v4/go/docker/buildx"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := buildx.NewImage(ctx, "image", &buildx.ImageArgs{
			Context: &buildx.BuildContextArgs{
				Location: pulumi.String("https://github.com/docker-library/hello-world.git"),
			},
			Dockerfile: &buildx.DockerfileArgs{
				Location: pulumi.String("app/Dockerfile"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Local export ```go package main

import (

"github.com/pulumi/pulumi-docker/sdk/v4/go/docker/buildx"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := buildx.NewImage(ctx, "image", &buildx.ImageArgs{
			Context: &buildx.BuildContextArgs{
				Location: pulumi.String("app"),
			},
			Exports: buildx.ExportEntryArray{
				&buildx.ExportEntryArgs{
					Docker: &buildx.ExportDockerArgs{
						Tar: pulumi.Bool(true),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetImage

func GetImage(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ImageState, opts ...pulumi.ResourceOption) (*Image, error)

GetImage gets an existing Image 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 NewImage

func NewImage(ctx *pulumi.Context,
	name string, args *ImageArgs, opts ...pulumi.ResourceOption) (*Image, error)

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

func (*Image) ElementType

func (*Image) ElementType() reflect.Type

func (*Image) ToImageOutput

func (i *Image) ToImageOutput() ImageOutput

func (*Image) ToImageOutputWithContext

func (i *Image) ToImageOutputWithContext(ctx context.Context) ImageOutput

type ImageArgs

type ImageArgs struct {
	// Custom `host:ip` mappings to use during the build.
	//
	// Equivalent to Docker's `--add-host` flag.
	AddHosts pulumi.StringArrayInput
	// `ARG` names and values to set during the build.
	//
	// These variables are accessed like environment variables inside `RUN`
	// instructions.
	//
	// Build arguments are persisted in the image, so you should use `secrets`
	// if these arguments are sensitive.
	//
	// Equivalent to Docker's `--build-arg` flag.
	BuildArgs pulumi.StringMapInput
	// By default, preview behavior depends on the execution environment. If
	// Pulumi detects the operation is running on a CI system (GitHub Actions,
	// Travis CI, Azure Pipelines, etc.) then it will build images during
	// previews as a safeguard. Otherwise, if not running on CI, previews will
	// not build images.
	//
	// Setting this to `false` forces previews to never perform builds, and
	// setting it to `true` will always build the image during previews.
	//
	// Images built during previews are never exported to registries, however
	// cache manifests are still exported.
	//
	// On-disk Dockerfiles are always validated for syntactic correctness
	// regardless of this setting.
	BuildOnPreview pulumi.BoolPtrInput
	// Builder configuration.
	Builder BuilderConfigPtrInput
	// Cache export configuration.
	//
	// Equivalent to Docker's `--cache-from` flag.
	CacheFrom CacheFromEntryArrayInput
	// Cache import configuration.
	//
	// Equivalent to Docker's `--cache-to` flag.
	CacheTo CacheToEntryArrayInput
	// Build context settings.
	//
	// Equivalent to Docker's `PATH | URL | -` positional argument.
	Context BuildContextPtrInput
	// Dockerfile settings.
	//
	// Equivalent to Docker's `--file` flag.
	Dockerfile DockerfilePtrInput
	// Controls where images are persisted after building.
	//
	// Images are only stored in the local cache unless `exports` are
	// explicitly configured.
	//
	// Equivalent to Docker's `--output` flag.
	Exports ExportEntryArrayInput
	// Attach arbitrary key/value metadata to the image.
	//
	// Equivalent to Docker's `--label` flag.
	Labels pulumi.StringMapInput
	// When `true` the build will automatically include a `docker` export.
	//
	// Defaults to `false`.
	//
	// Equivalent to Docker's `--load` flag.
	Load pulumi.BoolPtrInput
	// Set the network mode for `RUN` instructions. Defaults to `default`.
	//
	// For custom networks, configure your builder with `--driver-opt network=...`.
	//
	// Equivalent to Docker's `--network` flag.
	Network NetworkModePtrInput
	// Do not import cache manifests when building the image.
	//
	// Equivalent to Docker's `--no-cache` flag.
	NoCache pulumi.BoolPtrInput
	// Set target platform(s) for the build. Defaults to the host's platform.
	//
	// Equivalent to Docker's `--platform` flag.
	Platforms PlatformArrayInput
	// Always pull referenced images.
	//
	// Equivalent to Docker's `--pull` flag.
	Pull pulumi.BoolPtrInput
	// When `true` the build will automatically include a `registry` export.
	//
	// Defaults to `false`.
	//
	// Equivalent to Docker's `--push` flag.
	Push pulumi.BoolPtrInput
	// Registry credentials. Required if reading or exporting to private
	// repositories.
	//
	// Credentials are kept in-memory and do not pollute pre-existing
	// credentials on the host.
	//
	// Similar to `docker login`.
	Registries RegistryAuthArrayInput
	// A mapping of secret names to their corresponding values.
	//
	// Unlike the Docker CLI, these can be passed by value and do not need to
	// exist on-disk or in environment variables.
	//
	// Build arguments and environment variables are persistent in the final
	// image, so you should use this for sensitive values.
	//
	// Similar to Docker's `--secret` flag.
	Secrets pulumi.StringMapInput
	// SSH agent socket or keys to expose to the build.
	//
	// Equivalent to Docker's `--ssh` flag.
	Ssh SSHArrayInput
	// Name and optionally a tag (format: `name:tag`).
	//
	// If exporting to a registry, the name should include the fully qualified
	// registry address (e.g. `docker.io/pulumi/pulumi:latest`).
	//
	// Equivalent to Docker's `--tag` flag.
	Tags pulumi.StringArrayInput
	// Set the target build stage(s) to build.
	//
	// If not specified all targets will be built by default.
	//
	// Equivalent to Docker's `--target` flag.
	Targets pulumi.StringArrayInput
}

The set of arguments for constructing a Image resource.

func (ImageArgs) ElementType

func (ImageArgs) ElementType() reflect.Type

type ImageArray

type ImageArray []ImageInput

func (ImageArray) ElementType

func (ImageArray) ElementType() reflect.Type

func (ImageArray) ToImageArrayOutput

func (i ImageArray) ToImageArrayOutput() ImageArrayOutput

func (ImageArray) ToImageArrayOutputWithContext

func (i ImageArray) ToImageArrayOutputWithContext(ctx context.Context) ImageArrayOutput

type ImageArrayInput

type ImageArrayInput interface {
	pulumi.Input

	ToImageArrayOutput() ImageArrayOutput
	ToImageArrayOutputWithContext(context.Context) ImageArrayOutput
}

ImageArrayInput is an input type that accepts ImageArray and ImageArrayOutput values. You can construct a concrete instance of `ImageArrayInput` via:

ImageArray{ ImageArgs{...} }

type ImageArrayOutput

type ImageArrayOutput struct{ *pulumi.OutputState }

func (ImageArrayOutput) ElementType

func (ImageArrayOutput) ElementType() reflect.Type

func (ImageArrayOutput) Index

func (ImageArrayOutput) ToImageArrayOutput

func (o ImageArrayOutput) ToImageArrayOutput() ImageArrayOutput

func (ImageArrayOutput) ToImageArrayOutputWithContext

func (o ImageArrayOutput) ToImageArrayOutputWithContext(ctx context.Context) ImageArrayOutput

type ImageInput

type ImageInput interface {
	pulumi.Input

	ToImageOutput() ImageOutput
	ToImageOutputWithContext(ctx context.Context) ImageOutput
}

type ImageMap

type ImageMap map[string]ImageInput

func (ImageMap) ElementType

func (ImageMap) ElementType() reflect.Type

func (ImageMap) ToImageMapOutput

func (i ImageMap) ToImageMapOutput() ImageMapOutput

func (ImageMap) ToImageMapOutputWithContext

func (i ImageMap) ToImageMapOutputWithContext(ctx context.Context) ImageMapOutput

type ImageMapInput

type ImageMapInput interface {
	pulumi.Input

	ToImageMapOutput() ImageMapOutput
	ToImageMapOutputWithContext(context.Context) ImageMapOutput
}

ImageMapInput is an input type that accepts ImageMap and ImageMapOutput values. You can construct a concrete instance of `ImageMapInput` via:

ImageMap{ "key": ImageArgs{...} }

type ImageMapOutput

type ImageMapOutput struct{ *pulumi.OutputState }

func (ImageMapOutput) ElementType

func (ImageMapOutput) ElementType() reflect.Type

func (ImageMapOutput) MapIndex

func (ImageMapOutput) ToImageMapOutput

func (o ImageMapOutput) ToImageMapOutput() ImageMapOutput

func (ImageMapOutput) ToImageMapOutputWithContext

func (o ImageMapOutput) ToImageMapOutputWithContext(ctx context.Context) ImageMapOutput

type ImageOutput

type ImageOutput struct{ *pulumi.OutputState }

func (ImageOutput) AddHosts

func (o ImageOutput) AddHosts() pulumi.StringArrayOutput

Custom `host:ip` mappings to use during the build.

Equivalent to Docker's `--add-host` flag.

func (ImageOutput) BuildArgs

func (o ImageOutput) BuildArgs() pulumi.StringMapOutput

`ARG` names and values to set during the build.

These variables are accessed like environment variables inside `RUN` instructions.

Build arguments are persisted in the image, so you should use `secrets` if these arguments are sensitive.

Equivalent to Docker's `--build-arg` flag.

func (ImageOutput) BuildOnPreview

func (o ImageOutput) BuildOnPreview() pulumi.BoolPtrOutput

By default, preview behavior depends on the execution environment. If Pulumi detects the operation is running on a CI system (GitHub Actions, Travis CI, Azure Pipelines, etc.) then it will build images during previews as a safeguard. Otherwise, if not running on CI, previews will not build images.

Setting this to `false` forces previews to never perform builds, and setting it to `true` will always build the image during previews.

Images built during previews are never exported to registries, however cache manifests are still exported.

On-disk Dockerfiles are always validated for syntactic correctness regardless of this setting.

func (ImageOutput) Builder

func (o ImageOutput) Builder() BuilderConfigPtrOutput

Builder configuration.

func (ImageOutput) CacheFrom

func (o ImageOutput) CacheFrom() CacheFromEntryArrayOutput

Cache export configuration.

Equivalent to Docker's `--cache-from` flag.

func (ImageOutput) CacheTo

Cache import configuration.

Equivalent to Docker's `--cache-to` flag.

func (ImageOutput) Context

func (o ImageOutput) Context() BuildContextPtrOutput

Build context settings.

Equivalent to Docker's `PATH | URL | -` positional argument.

func (ImageOutput) ContextHash

func (o ImageOutput) ContextHash() pulumi.StringOutput

A preliminary hash of the image's build context.

Pulumi uses this to determine if an image _may_ need to be re-built.

func (ImageOutput) Digests

func (o ImageOutput) Digests() pulumi.StringMapOutput

A mapping of target names to the SHA256 digest of their pushed manifest.

If no target was specified 'default' is used as the target name.

Pushed manifests can be referenced as `<tag>@<digest>`.

func (ImageOutput) Dockerfile

func (o ImageOutput) Dockerfile() DockerfilePtrOutput

Dockerfile settings.

Equivalent to Docker's `--file` flag.

func (ImageOutput) ElementType

func (ImageOutput) ElementType() reflect.Type

func (ImageOutput) Exports

func (o ImageOutput) Exports() ExportEntryArrayOutput

Controls where images are persisted after building.

Images are only stored in the local cache unless `exports` are explicitly configured.

Equivalent to Docker's `--output` flag.

func (ImageOutput) Labels

func (o ImageOutput) Labels() pulumi.StringMapOutput

Attach arbitrary key/value metadata to the image.

Equivalent to Docker's `--label` flag.

func (ImageOutput) Load

func (o ImageOutput) Load() pulumi.BoolPtrOutput

When `true` the build will automatically include a `docker` export.

Defaults to `false`.

Equivalent to Docker's `--load` flag.

func (ImageOutput) Network

func (o ImageOutput) Network() NetworkModePtrOutput

Set the network mode for `RUN` instructions. Defaults to `default`.

For custom networks, configure your builder with `--driver-opt network=...`.

Equivalent to Docker's `--network` flag.

func (ImageOutput) NoCache

func (o ImageOutput) NoCache() pulumi.BoolPtrOutput

Do not import cache manifests when building the image.

Equivalent to Docker's `--no-cache` flag.

func (ImageOutput) Platforms

func (o ImageOutput) Platforms() PlatformArrayOutput

Set target platform(s) for the build. Defaults to the host's platform.

Equivalent to Docker's `--platform` flag.

func (ImageOutput) Pull

func (o ImageOutput) Pull() pulumi.BoolPtrOutput

Always pull referenced images.

Equivalent to Docker's `--pull` flag.

func (ImageOutput) Push

func (o ImageOutput) Push() pulumi.BoolPtrOutput

When `true` the build will automatically include a `registry` export.

Defaults to `false`.

Equivalent to Docker's `--push` flag.

func (ImageOutput) Ref

If the image was pushed to any registries then this will contain a single fully-qualified tag including the build's digest.

This is only for convenience and may not be appropriate for situations where multiple tags or registries are involved. In those cases this output is not guaranteed to be stable.

For more control over tags consumed by downstream resources you should use the `Digests` output.

func (ImageOutput) Registries

func (o ImageOutput) Registries() RegistryAuthArrayOutput

Registry credentials. Required if reading or exporting to private repositories.

Credentials are kept in-memory and do not pollute pre-existing credentials on the host.

Similar to `docker login`.

func (ImageOutput) Secrets

func (o ImageOutput) Secrets() pulumi.StringMapOutput

A mapping of secret names to their corresponding values.

Unlike the Docker CLI, these can be passed by value and do not need to exist on-disk or in environment variables.

Build arguments and environment variables are persistent in the final image, so you should use this for sensitive values.

Similar to Docker's `--secret` flag.

func (ImageOutput) Ssh

func (o ImageOutput) Ssh() SSHArrayOutput

SSH agent socket or keys to expose to the build.

Equivalent to Docker's `--ssh` flag.

func (ImageOutput) Tags

Name and optionally a tag (format: `name:tag`).

If exporting to a registry, the name should include the fully qualified registry address (e.g. `docker.io/pulumi/pulumi:latest`).

Equivalent to Docker's `--tag` flag.

func (ImageOutput) Targets

func (o ImageOutput) Targets() pulumi.StringArrayOutput

Set the target build stage(s) to build.

If not specified all targets will be built by default.

Equivalent to Docker's `--target` flag.

func (ImageOutput) ToImageOutput

func (o ImageOutput) ToImageOutput() ImageOutput

func (ImageOutput) ToImageOutputWithContext

func (o ImageOutput) ToImageOutputWithContext(ctx context.Context) ImageOutput

type ImageState

type ImageState struct {
}

func (ImageState) ElementType

func (ImageState) ElementType() reflect.Type

type NetworkMode

type NetworkMode string

func (NetworkMode) ElementType

func (NetworkMode) ElementType() reflect.Type

func (NetworkMode) ToNetworkModeOutput

func (e NetworkMode) ToNetworkModeOutput() NetworkModeOutput

func (NetworkMode) ToNetworkModeOutputWithContext

func (e NetworkMode) ToNetworkModeOutputWithContext(ctx context.Context) NetworkModeOutput

func (NetworkMode) ToNetworkModePtrOutput

func (e NetworkMode) ToNetworkModePtrOutput() NetworkModePtrOutput

func (NetworkMode) ToNetworkModePtrOutputWithContext

func (e NetworkMode) ToNetworkModePtrOutputWithContext(ctx context.Context) NetworkModePtrOutput

func (NetworkMode) ToStringOutput

func (e NetworkMode) ToStringOutput() pulumi.StringOutput

func (NetworkMode) ToStringOutputWithContext

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

func (NetworkMode) ToStringPtrOutput

func (e NetworkMode) ToStringPtrOutput() pulumi.StringPtrOutput

func (NetworkMode) ToStringPtrOutputWithContext

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

type NetworkModeInput

type NetworkModeInput interface {
	pulumi.Input

	ToNetworkModeOutput() NetworkModeOutput
	ToNetworkModeOutputWithContext(context.Context) NetworkModeOutput
}

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

NetworkModeDefault
NetworkModeHost
NetworkModeNone

type NetworkModeOutput

type NetworkModeOutput struct{ *pulumi.OutputState }

func (NetworkModeOutput) ElementType

func (NetworkModeOutput) ElementType() reflect.Type

func (NetworkModeOutput) ToNetworkModeOutput

func (o NetworkModeOutput) ToNetworkModeOutput() NetworkModeOutput

func (NetworkModeOutput) ToNetworkModeOutputWithContext

func (o NetworkModeOutput) ToNetworkModeOutputWithContext(ctx context.Context) NetworkModeOutput

func (NetworkModeOutput) ToNetworkModePtrOutput

func (o NetworkModeOutput) ToNetworkModePtrOutput() NetworkModePtrOutput

func (NetworkModeOutput) ToNetworkModePtrOutputWithContext

func (o NetworkModeOutput) ToNetworkModePtrOutputWithContext(ctx context.Context) NetworkModePtrOutput

func (NetworkModeOutput) ToStringOutput

func (o NetworkModeOutput) ToStringOutput() pulumi.StringOutput

func (NetworkModeOutput) ToStringOutputWithContext

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

func (NetworkModeOutput) ToStringPtrOutput

func (o NetworkModeOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (NetworkModeOutput) ToStringPtrOutputWithContext

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

type NetworkModePtrInput

type NetworkModePtrInput interface {
	pulumi.Input

	ToNetworkModePtrOutput() NetworkModePtrOutput
	ToNetworkModePtrOutputWithContext(context.Context) NetworkModePtrOutput
}

func NetworkModePtr

func NetworkModePtr(v string) NetworkModePtrInput

type NetworkModePtrOutput

type NetworkModePtrOutput struct{ *pulumi.OutputState }

func (NetworkModePtrOutput) Elem

func (NetworkModePtrOutput) ElementType

func (NetworkModePtrOutput) ElementType() reflect.Type

func (NetworkModePtrOutput) ToNetworkModePtrOutput

func (o NetworkModePtrOutput) ToNetworkModePtrOutput() NetworkModePtrOutput

func (NetworkModePtrOutput) ToNetworkModePtrOutputWithContext

func (o NetworkModePtrOutput) ToNetworkModePtrOutputWithContext(ctx context.Context) NetworkModePtrOutput

func (NetworkModePtrOutput) ToStringPtrOutput

func (o NetworkModePtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (NetworkModePtrOutput) ToStringPtrOutputWithContext

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

type Platform

type Platform string

func (Platform) ElementType

func (Platform) ElementType() reflect.Type

func (Platform) ToPlatformOutput

func (e Platform) ToPlatformOutput() PlatformOutput

func (Platform) ToPlatformOutputWithContext

func (e Platform) ToPlatformOutputWithContext(ctx context.Context) PlatformOutput

func (Platform) ToPlatformPtrOutput

func (e Platform) ToPlatformPtrOutput() PlatformPtrOutput

func (Platform) ToPlatformPtrOutputWithContext

func (e Platform) ToPlatformPtrOutputWithContext(ctx context.Context) PlatformPtrOutput

func (Platform) ToStringOutput

func (e Platform) ToStringOutput() pulumi.StringOutput

func (Platform) ToStringOutputWithContext

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

func (Platform) ToStringPtrOutput

func (e Platform) ToStringPtrOutput() pulumi.StringPtrOutput

func (Platform) ToStringPtrOutputWithContext

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

type PlatformArray

type PlatformArray []Platform

func (PlatformArray) ElementType

func (PlatformArray) ElementType() reflect.Type

func (PlatformArray) ToPlatformArrayOutput

func (i PlatformArray) ToPlatformArrayOutput() PlatformArrayOutput

func (PlatformArray) ToPlatformArrayOutputWithContext

func (i PlatformArray) ToPlatformArrayOutputWithContext(ctx context.Context) PlatformArrayOutput

type PlatformArrayInput

type PlatformArrayInput interface {
	pulumi.Input

	ToPlatformArrayOutput() PlatformArrayOutput
	ToPlatformArrayOutputWithContext(context.Context) PlatformArrayOutput
}

PlatformArrayInput is an input type that accepts PlatformArray and PlatformArrayOutput values. You can construct a concrete instance of `PlatformArrayInput` via:

PlatformArray{ PlatformArgs{...} }

type PlatformArrayOutput

type PlatformArrayOutput struct{ *pulumi.OutputState }

func (PlatformArrayOutput) ElementType

func (PlatformArrayOutput) ElementType() reflect.Type

func (PlatformArrayOutput) Index

func (PlatformArrayOutput) ToPlatformArrayOutput

func (o PlatformArrayOutput) ToPlatformArrayOutput() PlatformArrayOutput

func (PlatformArrayOutput) ToPlatformArrayOutputWithContext

func (o PlatformArrayOutput) ToPlatformArrayOutputWithContext(ctx context.Context) PlatformArrayOutput

type PlatformInput

type PlatformInput interface {
	pulumi.Input

	ToPlatformOutput() PlatformOutput
	ToPlatformOutputWithContext(context.Context) PlatformOutput
}

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

Platform_Darwin_386
Platform_Darwin_amd64
Platform_Darwin_arm
Platform_Darwin_arm64
Platform_Dragonfly_amd64
Platform_Freebsd_386
Platform_Freebsd_amd64
Platform_Freebsd_arm
Platform_Linux_386
Platform_Linux_amd64
Platform_Linux_arm
Platform_Linux_arm64
Platform_Linux_mips64
Platform_Linux_mips64le
Platform_Linux_ppc64le
Platform_Linux_riscv64
Platform_Linux_s390x
Platform_Netbsd_386
Platform_Netbsd_amd64
Platform_Netbsd_arm
Platform_Openbsd_386
Platform_Openbsd_amd64
Platform_Openbsd_arm
Platform_Plan9_386
Platform_Plan9_amd64
Platform_Solaris_amd64
Platform_Windows_386
Platform_Windows_amd64

type PlatformOutput

type PlatformOutput struct{ *pulumi.OutputState }

func (PlatformOutput) ElementType

func (PlatformOutput) ElementType() reflect.Type

func (PlatformOutput) ToPlatformOutput

func (o PlatformOutput) ToPlatformOutput() PlatformOutput

func (PlatformOutput) ToPlatformOutputWithContext

func (o PlatformOutput) ToPlatformOutputWithContext(ctx context.Context) PlatformOutput

func (PlatformOutput) ToPlatformPtrOutput

func (o PlatformOutput) ToPlatformPtrOutput() PlatformPtrOutput

func (PlatformOutput) ToPlatformPtrOutputWithContext

func (o PlatformOutput) ToPlatformPtrOutputWithContext(ctx context.Context) PlatformPtrOutput

func (PlatformOutput) ToStringOutput

func (o PlatformOutput) ToStringOutput() pulumi.StringOutput

func (PlatformOutput) ToStringOutputWithContext

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

func (PlatformOutput) ToStringPtrOutput

func (o PlatformOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (PlatformOutput) ToStringPtrOutputWithContext

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

type PlatformPtrInput

type PlatformPtrInput interface {
	pulumi.Input

	ToPlatformPtrOutput() PlatformPtrOutput
	ToPlatformPtrOutputWithContext(context.Context) PlatformPtrOutput
}

func PlatformPtr

func PlatformPtr(v string) PlatformPtrInput

type PlatformPtrOutput

type PlatformPtrOutput struct{ *pulumi.OutputState }

func (PlatformPtrOutput) Elem

func (PlatformPtrOutput) ElementType

func (PlatformPtrOutput) ElementType() reflect.Type

func (PlatformPtrOutput) ToPlatformPtrOutput

func (o PlatformPtrOutput) ToPlatformPtrOutput() PlatformPtrOutput

func (PlatformPtrOutput) ToPlatformPtrOutputWithContext

func (o PlatformPtrOutput) ToPlatformPtrOutputWithContext(ctx context.Context) PlatformPtrOutput

func (PlatformPtrOutput) ToStringPtrOutput

func (o PlatformPtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (PlatformPtrOutput) ToStringPtrOutputWithContext

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

type RegistryAuth

type RegistryAuth struct {
	// The registry's address (e.g. "docker.io").
	Address string `pulumi:"address"`
	// Password or token for the registry.
	Password *string `pulumi:"password"`
	// Username for the registry.
	Username *string `pulumi:"username"`
}

type RegistryAuthArgs

type RegistryAuthArgs struct {
	// The registry's address (e.g. "docker.io").
	Address pulumi.StringInput `pulumi:"address"`
	// Password or token for the registry.
	Password pulumi.StringPtrInput `pulumi:"password"`
	// Username for the registry.
	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

The registry's address (e.g. "docker.io").

func (RegistryAuthOutput) ElementType

func (RegistryAuthOutput) ElementType() reflect.Type

func (RegistryAuthOutput) Password

Password or token for the registry.

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.

type SSH

type SSH struct {
	// Useful for distinguishing different servers that are part of the same
	// build.
	//
	// A value of `default` is appropriate if only dealing with a single host.
	Id string `pulumi:"id"`
	// SSH agent socket or private keys to expose to the build under the given
	// identifier.
	//
	// Defaults to `[$SSH_AUTH_SOCK]`.
	//
	// Note that your keys are **not** automatically added when using an
	// agent. Run `ssh-add -l` locally to confirm which public keys are
	// visible to the agent; these will be exposed to your build.
	Paths []string `pulumi:"paths"`
}

type SSHArgs

type SSHArgs struct {
	// Useful for distinguishing different servers that are part of the same
	// build.
	//
	// A value of `default` is appropriate if only dealing with a single host.
	Id pulumi.StringInput `pulumi:"id"`
	// SSH agent socket or private keys to expose to the build under the given
	// identifier.
	//
	// Defaults to `[$SSH_AUTH_SOCK]`.
	//
	// Note that your keys are **not** automatically added when using an
	// agent. Run `ssh-add -l` locally to confirm which public keys are
	// visible to the agent; these will be exposed to your build.
	Paths pulumi.StringArrayInput `pulumi:"paths"`
}

func (SSHArgs) ElementType

func (SSHArgs) ElementType() reflect.Type

func (SSHArgs) ToSSHOutput

func (i SSHArgs) ToSSHOutput() SSHOutput

func (SSHArgs) ToSSHOutputWithContext

func (i SSHArgs) ToSSHOutputWithContext(ctx context.Context) SSHOutput

type SSHArray

type SSHArray []SSHInput

func (SSHArray) ElementType

func (SSHArray) ElementType() reflect.Type

func (SSHArray) ToSSHArrayOutput

func (i SSHArray) ToSSHArrayOutput() SSHArrayOutput

func (SSHArray) ToSSHArrayOutputWithContext

func (i SSHArray) ToSSHArrayOutputWithContext(ctx context.Context) SSHArrayOutput

type SSHArrayInput

type SSHArrayInput interface {
	pulumi.Input

	ToSSHArrayOutput() SSHArrayOutput
	ToSSHArrayOutputWithContext(context.Context) SSHArrayOutput
}

SSHArrayInput is an input type that accepts SSHArray and SSHArrayOutput values. You can construct a concrete instance of `SSHArrayInput` via:

SSHArray{ SSHArgs{...} }

type SSHArrayOutput

type SSHArrayOutput struct{ *pulumi.OutputState }

func (SSHArrayOutput) ElementType

func (SSHArrayOutput) ElementType() reflect.Type

func (SSHArrayOutput) Index

func (SSHArrayOutput) ToSSHArrayOutput

func (o SSHArrayOutput) ToSSHArrayOutput() SSHArrayOutput

func (SSHArrayOutput) ToSSHArrayOutputWithContext

func (o SSHArrayOutput) ToSSHArrayOutputWithContext(ctx context.Context) SSHArrayOutput

type SSHInput

type SSHInput interface {
	pulumi.Input

	ToSSHOutput() SSHOutput
	ToSSHOutputWithContext(context.Context) SSHOutput
}

SSHInput is an input type that accepts SSHArgs and SSHOutput values. You can construct a concrete instance of `SSHInput` via:

SSHArgs{...}

type SSHOutput

type SSHOutput struct{ *pulumi.OutputState }

func (SSHOutput) ElementType

func (SSHOutput) ElementType() reflect.Type

func (SSHOutput) Id

func (o SSHOutput) Id() pulumi.StringOutput

Useful for distinguishing different servers that are part of the same build.

A value of `default` is appropriate if only dealing with a single host.

func (SSHOutput) Paths

SSH agent socket or private keys to expose to the build under the given identifier.

Defaults to `[$SSH_AUTH_SOCK]`.

Note that your keys are **not** automatically added when using an agent. Run `ssh-add -l` locally to confirm which public keys are visible to the agent; these will be exposed to your build.

func (SSHOutput) ToSSHOutput

func (o SSHOutput) ToSSHOutput() SSHOutput

func (SSHOutput) ToSSHOutputWithContext

func (o SSHOutput) ToSSHOutputWithContext(ctx context.Context) SSHOutput

Jump to

Keyboard shortcuts

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