dockerbuild

package module
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2025 License: Apache-2.0 Imports: 8 Imported by: 6

Documentation

Overview

A Pulumi provider for building modern Docker images with buildx and BuildKit.

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

func (BuildContextArgs) ToOutput

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

func (BuildContextOutput) ToOutput

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

func (BuildContextPtrOutput) ToOutput

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

func (BuilderConfigArgs) ToOutput

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

func (BuilderConfigOutput) ToOutput

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

func (BuilderConfigPtrOutput) ToOutput

type CacheFrom

type CacheFrom 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 (*CacheFrom) Defaults

func (val *CacheFrom) Defaults() *CacheFrom

Defaults sets the appropriate defaults for CacheFrom

type CacheFromArgs

type CacheFromArgs 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 (*CacheFromArgs) Defaults

func (val *CacheFromArgs) Defaults() *CacheFromArgs

Defaults sets the appropriate defaults for CacheFromArgs

func (CacheFromArgs) ElementType

func (CacheFromArgs) ElementType() reflect.Type

func (CacheFromArgs) ToCacheFromOutput

func (i CacheFromArgs) ToCacheFromOutput() CacheFromOutput

func (CacheFromArgs) ToCacheFromOutputWithContext

func (i CacheFromArgs) ToCacheFromOutputWithContext(ctx context.Context) CacheFromOutput

func (CacheFromArgs) ToOutput

type CacheFromArray

type CacheFromArray []CacheFromInput

func (CacheFromArray) ElementType

func (CacheFromArray) ElementType() reflect.Type

func (CacheFromArray) ToCacheFromArrayOutput

func (i CacheFromArray) ToCacheFromArrayOutput() CacheFromArrayOutput

func (CacheFromArray) ToCacheFromArrayOutputWithContext

func (i CacheFromArray) ToCacheFromArrayOutputWithContext(ctx context.Context) CacheFromArrayOutput

func (CacheFromArray) ToOutput

type CacheFromArrayInput

type CacheFromArrayInput interface {
	pulumi.Input

	ToCacheFromArrayOutput() CacheFromArrayOutput
	ToCacheFromArrayOutputWithContext(context.Context) CacheFromArrayOutput
}

CacheFromArrayInput is an input type that accepts CacheFromArray and CacheFromArrayOutput values. You can construct a concrete instance of `CacheFromArrayInput` via:

CacheFromArray{ CacheFromArgs{...} }

type CacheFromArrayOutput

type CacheFromArrayOutput struct{ *pulumi.OutputState }

func (CacheFromArrayOutput) ElementType

func (CacheFromArrayOutput) ElementType() reflect.Type

func (CacheFromArrayOutput) Index

func (CacheFromArrayOutput) ToCacheFromArrayOutput

func (o CacheFromArrayOutput) ToCacheFromArrayOutput() CacheFromArrayOutput

func (CacheFromArrayOutput) ToCacheFromArrayOutputWithContext

func (o CacheFromArrayOutput) ToCacheFromArrayOutputWithContext(ctx context.Context) CacheFromArrayOutput

func (CacheFromArrayOutput) ToOutput

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

func (CacheFromAzureBlobArgs) ToOutput

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

func (CacheFromAzureBlobOutput) ToOutput

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

func (CacheFromAzureBlobPtrOutput) ToOutput

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_CACHE_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_CACHE_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

func (CacheFromGitHubActionsArgs) ToOutput

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) ToOutput

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_CACHE_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) ToOutput

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_CACHE_URL`, although a separate action like `crazy-max/ghaction-github-runtime` is recommended to expose this environment variable to your jobs.

type CacheFromInput

type CacheFromInput interface {
	pulumi.Input

	ToCacheFromOutput() CacheFromOutput
	ToCacheFromOutputWithContext(context.Context) CacheFromOutput
}

CacheFromInput is an input type that accepts CacheFromArgs and CacheFromOutput values. You can construct a concrete instance of `CacheFromInput` via:

CacheFromArgs{...}

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

func (CacheFromLocalArgs) ToOutput

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

func (CacheFromLocalOutput) ToOutput

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

func (CacheFromLocalPtrOutput) ToOutput

type CacheFromOutput

type CacheFromOutput struct{ *pulumi.OutputState }

func (CacheFromOutput) Azblob

Upload build caches to Azure's blob storage service.

func (CacheFromOutput) Disabled

func (o CacheFromOutput) Disabled() pulumi.BoolPtrOutput

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

func (CacheFromOutput) ElementType

func (CacheFromOutput) ElementType() reflect.Type

func (CacheFromOutput) 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 (CacheFromOutput) Local

A simple backend which caches images on your local filesystem.

func (CacheFromOutput) Raw

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

func (CacheFromOutput) Registry

Upload build caches to remote registries.

func (CacheFromOutput) S3

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

func (CacheFromOutput) ToCacheFromOutput

func (o CacheFromOutput) ToCacheFromOutput() CacheFromOutput

func (CacheFromOutput) ToCacheFromOutputWithContext

func (o CacheFromOutput) ToCacheFromOutputWithContext(ctx context.Context) CacheFromOutput

func (CacheFromOutput) ToOutput

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

func (CacheFromRegistryArgs) ToOutput

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

func (CacheFromRegistryOutput) ToOutput

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

func (CacheFromRegistryPtrOutput) ToOutput

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

func (CacheFromS3Args) ToOutput

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) ToOutput

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) ToOutput

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) ToOutput

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) ToOutput

func (CacheModePtrOutput) ToStringPtrOutput

func (o CacheModePtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (CacheModePtrOutput) ToStringPtrOutputWithContext

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

type CacheTo

type CacheTo 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 (*CacheTo) Defaults

func (val *CacheTo) Defaults() *CacheTo

Defaults sets the appropriate defaults for CacheTo

type CacheToArgs

type CacheToArgs 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 (*CacheToArgs) Defaults

func (val *CacheToArgs) Defaults() *CacheToArgs

Defaults sets the appropriate defaults for CacheToArgs

func (CacheToArgs) ElementType

func (CacheToArgs) ElementType() reflect.Type

func (CacheToArgs) ToCacheToOutput

func (i CacheToArgs) ToCacheToOutput() CacheToOutput

func (CacheToArgs) ToCacheToOutputWithContext

func (i CacheToArgs) ToCacheToOutputWithContext(ctx context.Context) CacheToOutput

func (CacheToArgs) ToOutput

func (i CacheToArgs) ToOutput(ctx context.Context) pulumix.Output[CacheTo]

type CacheToArray

type CacheToArray []CacheToInput

func (CacheToArray) ElementType

func (CacheToArray) ElementType() reflect.Type

func (CacheToArray) ToCacheToArrayOutput

func (i CacheToArray) ToCacheToArrayOutput() CacheToArrayOutput

func (CacheToArray) ToCacheToArrayOutputWithContext

func (i CacheToArray) ToCacheToArrayOutputWithContext(ctx context.Context) CacheToArrayOutput

func (CacheToArray) ToOutput

func (i CacheToArray) ToOutput(ctx context.Context) pulumix.Output[[]CacheTo]

type CacheToArrayInput

type CacheToArrayInput interface {
	pulumi.Input

	ToCacheToArrayOutput() CacheToArrayOutput
	ToCacheToArrayOutputWithContext(context.Context) CacheToArrayOutput
}

CacheToArrayInput is an input type that accepts CacheToArray and CacheToArrayOutput values. You can construct a concrete instance of `CacheToArrayInput` via:

CacheToArray{ CacheToArgs{...} }

type CacheToArrayOutput

type CacheToArrayOutput struct{ *pulumi.OutputState }

func (CacheToArrayOutput) ElementType

func (CacheToArrayOutput) ElementType() reflect.Type

func (CacheToArrayOutput) Index

func (CacheToArrayOutput) ToCacheToArrayOutput

func (o CacheToArrayOutput) ToCacheToArrayOutput() CacheToArrayOutput

func (CacheToArrayOutput) ToCacheToArrayOutputWithContext

func (o CacheToArrayOutput) ToCacheToArrayOutputWithContext(ctx context.Context) CacheToArrayOutput

func (CacheToArrayOutput) ToOutput

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

func (CacheToAzureBlobArgs) ToOutput

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

func (CacheToAzureBlobOutput) ToOutput

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

func (CacheToAzureBlobPtrOutput) ToOutput

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_CACHE_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_CACHE_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

func (CacheToGitHubActionsArgs) ToOutput

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) ToOutput

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_CACHE_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) ToOutput

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_CACHE_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 {
}

Include an inline cache with the exported image.

type CacheToInlineArgs

type CacheToInlineArgs struct {
}

Include an inline cache with the exported image.

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

func (CacheToInlineArgs) ToOutput

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 }

Include an inline cache with the exported image.

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

func (CacheToInlineOutput) ToOutput

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

func (CacheToInlinePtrOutput) ToOutput

type CacheToInput

type CacheToInput interface {
	pulumi.Input

	ToCacheToOutput() CacheToOutput
	ToCacheToOutputWithContext(context.Context) CacheToOutput
}

CacheToInput is an input type that accepts CacheToArgs and CacheToOutput values. You can construct a concrete instance of `CacheToInput` via:

CacheToArgs{...}

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

func (CacheToLocalArgs) ToOutput

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

func (CacheToLocalOutput) ToOutput

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

func (CacheToLocalPtrOutput) ToOutput

type CacheToOutput

type CacheToOutput struct{ *pulumi.OutputState }

func (CacheToOutput) Azblob

Push cache to Azure's blob storage service.

func (CacheToOutput) Disabled

func (o CacheToOutput) Disabled() pulumi.BoolPtrOutput

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

func (CacheToOutput) ElementType

func (CacheToOutput) ElementType() reflect.Type

func (CacheToOutput) 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 (CacheToOutput) 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 (CacheToOutput) Local

A simple backend which caches imagines on your local filesystem.

func (CacheToOutput) Raw

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

func (CacheToOutput) Registry

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

func (CacheToOutput) S3

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

func (CacheToOutput) ToCacheToOutput

func (o CacheToOutput) ToCacheToOutput() CacheToOutput

func (CacheToOutput) ToCacheToOutputWithContext

func (o CacheToOutput) ToCacheToOutputWithContext(ctx context.Context) CacheToOutput

func (CacheToOutput) ToOutput

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 `ociMediaTypes` to also be `true`.
	//
	// Some registries like AWS ECR will not work with caching if this is
	// `false`.
	//
	// Defaults to `false` to match Docker's default behavior.
	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 `ociMediaTypes` to also be `true`.
	//
	// Some registries like AWS ECR will not work with caching if this is
	// `false`.
	//
	// Defaults to `false` to match Docker's default behavior.
	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

func (CacheToRegistryArgs) ToOutput

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 `ociMediaTypes` to also be `true`.

Some registries like AWS ECR will not work with caching if this is `false`.

Defaults to `false` to match Docker's default behavior.

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

func (CacheToRegistryOutput) ToOutput

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 `ociMediaTypes` to also be `true`.

Some registries like AWS ECR will not work with caching if this is `false`.

Defaults to `false` to match Docker's default behavior.

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

func (CacheToRegistryPtrOutput) ToOutput

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

func (CacheToS3Args) ToOutput

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) ToOutput

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) ToOutput

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) ToOutput

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) ToOutput

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

func (ContextArgs) ToOutput

func (i ContextArgs) ToOutput(ctx context.Context) pulumix.Output[Context]

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

func (ContextMap) ToOutput

func (i ContextMap) ToOutput(ctx context.Context) pulumix.Output[map[string]Context]

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

func (ContextMapOutput) ToOutput

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

func (ContextOutput) ToOutput

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

func (DockerfileArgs) ToOutput

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

func (DockerfileOutput) ToOutput

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

func (DockerfilePtrOutput) ToOutput

type Export

type Export struct {
	// A no-op export. Helpful for silencing the 'no exports' warning if you
	// just want to populate caches.
	Cacheonly *ExportCacheOnly `pulumi:"cacheonly"`
	// 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 (*Export) Defaults

func (val *Export) Defaults() *Export

Defaults sets the appropriate defaults for Export

type ExportArgs

type ExportArgs struct {
	// A no-op export. Helpful for silencing the 'no exports' warning if you
	// just want to populate caches.
	Cacheonly ExportCacheOnlyPtrInput `pulumi:"cacheonly"`
	// 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 (*ExportArgs) Defaults

func (val *ExportArgs) Defaults() *ExportArgs

Defaults sets the appropriate defaults for ExportArgs

func (ExportArgs) ElementType

func (ExportArgs) ElementType() reflect.Type

func (ExportArgs) ToExportOutput

func (i ExportArgs) ToExportOutput() ExportOutput

func (ExportArgs) ToExportOutputWithContext

func (i ExportArgs) ToExportOutputWithContext(ctx context.Context) ExportOutput

func (ExportArgs) ToOutput

func (i ExportArgs) ToOutput(ctx context.Context) pulumix.Output[Export]

type ExportArray

type ExportArray []ExportInput

func (ExportArray) ElementType

func (ExportArray) ElementType() reflect.Type

func (ExportArray) ToExportArrayOutput

func (i ExportArray) ToExportArrayOutput() ExportArrayOutput

func (ExportArray) ToExportArrayOutputWithContext

func (i ExportArray) ToExportArrayOutputWithContext(ctx context.Context) ExportArrayOutput

func (ExportArray) ToOutput

func (i ExportArray) ToOutput(ctx context.Context) pulumix.Output[[]Export]

type ExportArrayInput

type ExportArrayInput interface {
	pulumi.Input

	ToExportArrayOutput() ExportArrayOutput
	ToExportArrayOutputWithContext(context.Context) ExportArrayOutput
}

ExportArrayInput is an input type that accepts ExportArray and ExportArrayOutput values. You can construct a concrete instance of `ExportArrayInput` via:

ExportArray{ ExportArgs{...} }

type ExportArrayOutput

type ExportArrayOutput struct{ *pulumi.OutputState }

func (ExportArrayOutput) ElementType

func (ExportArrayOutput) ElementType() reflect.Type

func (ExportArrayOutput) Index

func (ExportArrayOutput) ToExportArrayOutput

func (o ExportArrayOutput) ToExportArrayOutput() ExportArrayOutput

func (ExportArrayOutput) ToExportArrayOutputWithContext

func (o ExportArrayOutput) ToExportArrayOutputWithContext(ctx context.Context) ExportArrayOutput

func (ExportArrayOutput) ToOutput

type ExportCacheOnly

type ExportCacheOnly struct {
}

type ExportCacheOnlyArgs

type ExportCacheOnlyArgs struct {
}

func (ExportCacheOnlyArgs) ElementType

func (ExportCacheOnlyArgs) ElementType() reflect.Type

func (ExportCacheOnlyArgs) ToExportCacheOnlyOutput

func (i ExportCacheOnlyArgs) ToExportCacheOnlyOutput() ExportCacheOnlyOutput

func (ExportCacheOnlyArgs) ToExportCacheOnlyOutputWithContext

func (i ExportCacheOnlyArgs) ToExportCacheOnlyOutputWithContext(ctx context.Context) ExportCacheOnlyOutput

func (ExportCacheOnlyArgs) ToExportCacheOnlyPtrOutput

func (i ExportCacheOnlyArgs) ToExportCacheOnlyPtrOutput() ExportCacheOnlyPtrOutput

func (ExportCacheOnlyArgs) ToExportCacheOnlyPtrOutputWithContext

func (i ExportCacheOnlyArgs) ToExportCacheOnlyPtrOutputWithContext(ctx context.Context) ExportCacheOnlyPtrOutput

func (ExportCacheOnlyArgs) ToOutput

type ExportCacheOnlyInput

type ExportCacheOnlyInput interface {
	pulumi.Input

	ToExportCacheOnlyOutput() ExportCacheOnlyOutput
	ToExportCacheOnlyOutputWithContext(context.Context) ExportCacheOnlyOutput
}

ExportCacheOnlyInput is an input type that accepts ExportCacheOnlyArgs and ExportCacheOnlyOutput values. You can construct a concrete instance of `ExportCacheOnlyInput` via:

ExportCacheOnlyArgs{...}

type ExportCacheOnlyOutput

type ExportCacheOnlyOutput struct{ *pulumi.OutputState }

func (ExportCacheOnlyOutput) ElementType

func (ExportCacheOnlyOutput) ElementType() reflect.Type

func (ExportCacheOnlyOutput) ToExportCacheOnlyOutput

func (o ExportCacheOnlyOutput) ToExportCacheOnlyOutput() ExportCacheOnlyOutput

func (ExportCacheOnlyOutput) ToExportCacheOnlyOutputWithContext

func (o ExportCacheOnlyOutput) ToExportCacheOnlyOutputWithContext(ctx context.Context) ExportCacheOnlyOutput

func (ExportCacheOnlyOutput) ToExportCacheOnlyPtrOutput

func (o ExportCacheOnlyOutput) ToExportCacheOnlyPtrOutput() ExportCacheOnlyPtrOutput

func (ExportCacheOnlyOutput) ToExportCacheOnlyPtrOutputWithContext

func (o ExportCacheOnlyOutput) ToExportCacheOnlyPtrOutputWithContext(ctx context.Context) ExportCacheOnlyPtrOutput

func (ExportCacheOnlyOutput) ToOutput

type ExportCacheOnlyPtrInput

type ExportCacheOnlyPtrInput interface {
	pulumi.Input

	ToExportCacheOnlyPtrOutput() ExportCacheOnlyPtrOutput
	ToExportCacheOnlyPtrOutputWithContext(context.Context) ExportCacheOnlyPtrOutput
}

ExportCacheOnlyPtrInput is an input type that accepts ExportCacheOnlyArgs, ExportCacheOnlyPtr and ExportCacheOnlyPtrOutput values. You can construct a concrete instance of `ExportCacheOnlyPtrInput` via:

        ExportCacheOnlyArgs{...}

or:

        nil

type ExportCacheOnlyPtrOutput

type ExportCacheOnlyPtrOutput struct{ *pulumi.OutputState }

func (ExportCacheOnlyPtrOutput) Elem

func (ExportCacheOnlyPtrOutput) ElementType

func (ExportCacheOnlyPtrOutput) ElementType() reflect.Type

func (ExportCacheOnlyPtrOutput) ToExportCacheOnlyPtrOutput

func (o ExportCacheOnlyPtrOutput) ToExportCacheOnlyPtrOutput() ExportCacheOnlyPtrOutput

func (ExportCacheOnlyPtrOutput) ToExportCacheOnlyPtrOutputWithContext

func (o ExportCacheOnlyPtrOutput) ToExportCacheOnlyPtrOutputWithContext(ctx context.Context) ExportCacheOnlyPtrOutput

func (ExportCacheOnlyPtrOutput) ToOutput

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

func (ExportDockerArgs) ToOutput

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

func (ExportDockerOutput) ToOutput

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

func (ExportDockerPtrOutput) ToOutput

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. Defaults to `false`.
	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. Defaults to `false`.
	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

func (ExportImageArgs) ToOutput

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. Defaults to `false`.

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) ToOutput

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. Defaults to `false`.

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) ToOutput

func (ExportImagePtrOutput) Unpack

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

type ExportInput

type ExportInput interface {
	pulumi.Input

	ToExportOutput() ExportOutput
	ToExportOutputWithContext(context.Context) ExportOutput
}

ExportInput is an input type that accepts ExportArgs and ExportOutput values. You can construct a concrete instance of `ExportInput` via:

ExportArgs{...}

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

func (ExportLocalArgs) ToOutput

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

func (ExportLocalOutput) ToOutput

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

func (ExportLocalPtrOutput) ToOutput

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

func (ExportOCIArgs) ToOutput

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

func (ExportOCIOutput) ToOutput

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

func (ExportOCIPtrOutput) ToOutput

type ExportOutput

type ExportOutput struct{ *pulumi.OutputState }

func (ExportOutput) Cacheonly

func (o ExportOutput) Cacheonly() ExportCacheOnlyPtrOutput

A no-op export. Helpful for silencing the 'no exports' warning if you just want to populate caches.

func (ExportOutput) Disabled

func (o ExportOutput) Disabled() pulumi.BoolPtrOutput

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

func (ExportOutput) Docker

Export as a Docker image layout.

func (ExportOutput) ElementType

func (ExportOutput) ElementType() reflect.Type

func (ExportOutput) Image

Outputs the build result into a container image format.

func (ExportOutput) Local

Export to a local directory as files and directories.

func (ExportOutput) Oci

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

func (ExportOutput) Raw

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

func (ExportOutput) Registry

Identical to the Image exporter, but pushes by default.

func (ExportOutput) Tar

Export to a local directory as a tarball.

func (ExportOutput) ToExportOutput

func (o ExportOutput) ToExportOutput() ExportOutput

func (ExportOutput) ToExportOutputWithContext

func (o ExportOutput) ToExportOutputWithContext(ctx context.Context) ExportOutput

func (ExportOutput) ToOutput

func (o ExportOutput) ToOutput(ctx context.Context) pulumix.Output[Export]

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. Defaults to `true`.
	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. Defaults to `true`.
	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

func (ExportRegistryArgs) ToOutput

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. Defaults to `true`.

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) ToOutput

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. Defaults to `true`.

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) ToOutput

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

func (ExportTarArgs) ToOutput

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

func (ExportTarOutput) ToOutput

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

func (ExportTarPtrOutput) ToOutput

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"`
	// Setting this to `false` will always skip image builds during previews,
	// and setting it to `true` will always build images 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.
	//
	// Defaults to `true` as a safeguard against broken images merging as part
	// of CI pipelines.
	BuildOnPreview pulumi.BoolPtrOutput `pulumi:"buildOnPreview"`
	// Builder configuration.
	Builder BuilderConfigPtrOutput `pulumi:"builder"`
	// Cache export configuration.
	//
	// Equivalent to Docker's `--cache-from` flag.
	CacheFrom CacheFromArrayOutput `pulumi:"cacheFrom"`
	// Cache import configuration.
	//
	// Equivalent to Docker's `--cache-to` flag.
	CacheTo CacheToArrayOutput `pulumi:"cacheTo"`
	// Build context settings. Defaults to the current directory.
	//
	// 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 SHA256 digest of the image if it was exported to a registry or
	// elsewhere.
	//
	// Empty if the image was not exported.
	//
	// Registry images can be referenced precisely as `<tag>@<digest>`. The
	// `ref` output provides one such reference as a convenience.
	Digest pulumi.StringOutput `pulumi:"digest"`
	// Dockerfile settings.
	//
	// Equivalent to Docker's `--file` flag.
	Dockerfile DockerfilePtrOutput `pulumi:"dockerfile"`
	// Use `exec` mode to build this image.
	//
	// By default the provider embeds a v25 Docker client with v0.12 buildx
	// support. This helps ensure consistent behavior across environments and
	// is compatible with alternative build backends (e.g. `buildkitd`), but
	// it may not be desirable if you require a specific version of buildx.
	// For example you may want to run a custom `docker-buildx` binary with
	// support for [Docker Build
	// Cloud](https://docs.docker.com/build/cloud/setup/) (DBC).
	//
	// When this is set to `true` the provider will instead execute the
	// `docker-buildx` binary directly to perform its operations. The user is
	// responsible for ensuring this binary exists, with correct permissions
	// and pre-configured builders, at a path Docker expects (e.g.
	// `~/.docker/cli-plugins`).
	//
	// Debugging `exec` mode may be more difficult as Pulumi will not be able
	// to surface fine-grained errors and warnings. Additionally credentials
	// are temporarily written to disk in order to provide them to the
	// `docker-buildx` binary.
	Exec pulumi.BoolPtrOutput `pulumi:"exec"`
	// Controls where images are persisted after building.
	//
	// Images are only stored in the local cache unless `exports` are
	// explicitly configured.
	//
	// Exporting to multiple destinations requires a daemon running BuildKit
	// 0.13 or later.
	//
	// Equivalent to Docker's `--output` flag.
	Exports ExportArrayOutput `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.BoolOutput `pulumi:"push"`
	// If the image was pushed to any registries then this will contain a
	// single fully-qualified tag including the build's digest.
	//
	// If the image had tags but was not exported, this will take on a value
	// of one of those tags.
	//
	// This will be empty if the image had no exports and no tags.
	//
	// 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 `digest` 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 RegistryArrayOutput `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.
	Target pulumi.StringPtrOutput `pulumi:"target"`
}

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

## Stability

**This resource is pre-1.0 and in public preview.**

We will strive to keep APIs and behavior as stable as possible, but we cannot guarantee stability until version 1.0.

## Migrating Pulumi Docker v3 and v4 Image resources

This provider's `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 the docker-build `Image` resources with minor modifications.

### Behavioral differences

There are several key behavioral differences to keep in mind when transitioning images to the new `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. Several users reported outages due to the default behavior allowing bad images to accidentally sneak through CI.

The default behavior of this provider's `Image` resource is similar to `3.x` and will build images during previews. This behavior can be changed by specifying `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.

This provider's `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 `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 `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

Versions `3.x` and `4.x` of the provider exposed a `repoDigest` output which was a fully qualified tag with digest. In `4.x` this could also be a single sha256 hash if the image wasn't pushed.

Unlike earlier providers the `Image` resource can push multiple tags. As a convenience, it exposes a `ref` output consisting of a tag with digest as long as the image was pushed. If multiple tags were pushed this uses one at random.

If you need more control over tag references you can use the `digest` output, which is always a single sha256 hash as long as the image was exported somewhere.

#### 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 `Image` is deleted, it will _attempt_ to also delete any pushed tags. Deletion of remote tags is not guaranteed because not all registries support the manifest `DELETE` API (`docker.io` in particular). Manifests are _not_ deleted in the same way during updates -- to do so safely would require a full build to determine whether a Pulumi operation should be an update or update-replace.

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 `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 `Image`. In almost all cases, properties of `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-build/sdk/go/dockerbuild"
"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)
		myImage, err := dockerbuild.NewImage(ctx, "my-image", &dockerbuild.ImageArgs{
			CacheFrom: dockerbuild.CacheFromArray{
				&dockerbuild.CacheFromArgs{
					Registry: &dockerbuild.CacheFromRegistryArgs{
						Ref: ecrRepository.RepositoryUrl.ApplyT(func(repositoryUrl string) (string, error) {
							return fmt.Sprintf("%v:cache", repositoryUrl), nil
						}).(pulumi.StringOutput),
					},
				},
			},
			CacheTo: dockerbuild.CacheToArray{
				&dockerbuild.CacheToArgs{
					Registry: &dockerbuild.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: &dockerbuild.BuildContextArgs{
				Location: pulumi.String("./app"),
			},
			Push: pulumi.Bool(true),
			Registries: dockerbuild.RegistryArray{
				&dockerbuild.RegistryArgs{
					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
		}
		ctx.Export("ref", myImage.Ref)
		return nil
	})
}

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

import (

"github.com/pulumi/pulumi-docker-build/sdk/go/dockerbuild"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

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

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

import (

"github.com/pulumi/pulumi-docker-build/sdk/go/dockerbuild"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := dockerbuild.NewImage(ctx, "image", &dockerbuild.ImageArgs{
			Context: &dockerbuild.BuildContextArgs{
				Location: pulumi.String("app"),
			},
			Push: pulumi.Bool(true),
			Registries: dockerbuild.RegistryArray{
				&dockerbuild.RegistryArgs{
					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
		}
		ctx.Export("ref", myImage.Ref)
		return nil
	})
}

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

import (

"github.com/pulumi/pulumi-docker-build/sdk/go/dockerbuild"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := dockerbuild.NewImage(ctx, "image", &dockerbuild.ImageArgs{
			CacheFrom: dockerbuild.CacheFromArray{
				&dockerbuild.CacheFromArgs{
					Local: &dockerbuild.CacheFromLocalArgs{
						Src: pulumi.String("tmp/cache"),
					},
				},
			},
			CacheTo: dockerbuild.CacheToArray{
				&dockerbuild.CacheToArgs{
					Local: &dockerbuild.CacheToLocalArgs{
						Dest: pulumi.String("tmp/cache"),
						Mode: dockerbuild.CacheModeMax,
					},
				},
			},
			Context: &dockerbuild.BuildContextArgs{
				Location: pulumi.String("app"),
			},
			Push: pulumi.Bool(false),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Docker Build Cloud ```go package main

import (

"github.com/pulumi/pulumi-docker-build/sdk/go/dockerbuild"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := dockerbuild.NewImage(ctx, "image", &dockerbuild.ImageArgs{
			Builder: &dockerbuild.BuilderConfigArgs{
				Name: pulumi.String("cloud-builder-name"),
			},
			Context: &dockerbuild.BuildContextArgs{
				Location: pulumi.String("app"),
			},
			Exec: pulumi.Bool(true),
			Push: pulumi.Bool(false),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

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

import (

"github.com/pulumi/pulumi-docker-build/sdk/go/dockerbuild"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

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

``` ### Build target ```go package main

import (

"github.com/pulumi/pulumi-docker-build/sdk/go/dockerbuild"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := dockerbuild.NewImage(ctx, "image", &dockerbuild.ImageArgs{
			Context: &dockerbuild.BuildContextArgs{
				Location: pulumi.String("app"),
			},
			Push:   pulumi.Bool(false),
			Target: pulumi.String("build-me"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

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

import (

"github.com/pulumi/pulumi-docker-build/sdk/go/dockerbuild"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

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

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

import (

"github.com/pulumi/pulumi-docker-build/sdk/go/dockerbuild"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

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

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

import (

"github.com/pulumi/pulumi-docker-build/sdk/go/dockerbuild"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

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

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

import (

"github.com/pulumi/pulumi-docker-build/sdk/go/dockerbuild"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

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

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

import (

"github.com/pulumi/pulumi-docker-build/sdk/go/dockerbuild"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := dockerbuild.NewImage(ctx, "image", &dockerbuild.ImageArgs{
			Context: &dockerbuild.BuildContextArgs{
				Location: pulumi.String("app"),
			},
			Exports: dockerbuild.ExportArray{
				&dockerbuild.ExportArgs{
					Docker: &dockerbuild.ExportDockerArgs{
						Tar: pulumi.Bool(true),
					},
				},
			},
			Push: pulumi.Bool(false),
		})
		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

func (*Image) ToOutput

func (i *Image) ToOutput(ctx context.Context) pulumix.Output[*Image]

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
	// Setting this to `false` will always skip image builds during previews,
	// and setting it to `true` will always build images 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.
	//
	// Defaults to `true` as a safeguard against broken images merging as part
	// of CI pipelines.
	BuildOnPreview pulumi.BoolPtrInput
	// Builder configuration.
	Builder BuilderConfigPtrInput
	// Cache export configuration.
	//
	// Equivalent to Docker's `--cache-from` flag.
	CacheFrom CacheFromArrayInput
	// Cache import configuration.
	//
	// Equivalent to Docker's `--cache-to` flag.
	CacheTo CacheToArrayInput
	// Build context settings. Defaults to the current directory.
	//
	// Equivalent to Docker's `PATH | URL | -` positional argument.
	Context BuildContextPtrInput
	// Dockerfile settings.
	//
	// Equivalent to Docker's `--file` flag.
	Dockerfile DockerfilePtrInput
	// Use `exec` mode to build this image.
	//
	// By default the provider embeds a v25 Docker client with v0.12 buildx
	// support. This helps ensure consistent behavior across environments and
	// is compatible with alternative build backends (e.g. `buildkitd`), but
	// it may not be desirable if you require a specific version of buildx.
	// For example you may want to run a custom `docker-buildx` binary with
	// support for [Docker Build
	// Cloud](https://docs.docker.com/build/cloud/setup/) (DBC).
	//
	// When this is set to `true` the provider will instead execute the
	// `docker-buildx` binary directly to perform its operations. The user is
	// responsible for ensuring this binary exists, with correct permissions
	// and pre-configured builders, at a path Docker expects (e.g.
	// `~/.docker/cli-plugins`).
	//
	// Debugging `exec` mode may be more difficult as Pulumi will not be able
	// to surface fine-grained errors and warnings. Additionally credentials
	// are temporarily written to disk in order to provide them to the
	// `docker-buildx` binary.
	Exec pulumi.BoolPtrInput
	// Controls where images are persisted after building.
	//
	// Images are only stored in the local cache unless `exports` are
	// explicitly configured.
	//
	// Exporting to multiple destinations requires a daemon running BuildKit
	// 0.13 or later.
	//
	// Equivalent to Docker's `--output` flag.
	Exports ExportArrayInput
	// 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.BoolInput
	// 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 RegistryArrayInput
	// 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.
	Target pulumi.StringPtrInput
}

The set of arguments for constructing a Image resource.

func (ImageArgs) ElementType

func (ImageArgs) ElementType() reflect.Type

type ImageInput

type ImageInput interface {
	pulumi.Input

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

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

Setting this to `false` will always skip image builds during previews, and setting it to `true` will always build images 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.

Defaults to `true` as a safeguard against broken images merging as part of CI pipelines.

func (ImageOutput) Builder

func (o ImageOutput) Builder() BuilderConfigPtrOutput

Builder configuration.

func (ImageOutput) CacheFrom

func (o ImageOutput) CacheFrom() CacheFromArrayOutput

Cache export configuration.

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

func (ImageOutput) CacheTo

func (o ImageOutput) CacheTo() CacheToArrayOutput

Cache import configuration.

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

func (ImageOutput) Context

func (o ImageOutput) Context() BuildContextPtrOutput

Build context settings. Defaults to the current directory.

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) Digest

func (o ImageOutput) Digest() pulumi.StringOutput

A SHA256 digest of the image if it was exported to a registry or elsewhere.

Empty if the image was not exported.

Registry images can be referenced precisely as `<tag>@<digest>`. The `ref` output provides one such reference as a convenience.

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) Exec

func (o ImageOutput) Exec() pulumi.BoolPtrOutput

Use `exec` mode to build this image.

By default the provider embeds a v25 Docker client with v0.12 buildx support. This helps ensure consistent behavior across environments and is compatible with alternative build backends (e.g. `buildkitd`), but it may not be desirable if you require a specific version of buildx. For example you may want to run a custom `docker-buildx` binary with support for [Docker Build Cloud](https://docs.docker.com/build/cloud/setup/) (DBC).

When this is set to `true` the provider will instead execute the `docker-buildx` binary directly to perform its operations. The user is responsible for ensuring this binary exists, with correct permissions and pre-configured builders, at a path Docker expects (e.g. `~/.docker/cli-plugins`).

Debugging `exec` mode may be more difficult as Pulumi will not be able to surface fine-grained errors and warnings. Additionally credentials are temporarily written to disk in order to provide them to the `docker-buildx` binary.

func (ImageOutput) Exports

func (o ImageOutput) Exports() ExportArrayOutput

Controls where images are persisted after building.

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

Exporting to multiple destinations requires a daemon running BuildKit 0.13 or later.

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.BoolOutput

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.

If the image had tags but was not exported, this will take on a value of one of those tags.

This will be empty if the image had no exports and no tags.

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 `digest` output.

func (ImageOutput) Registries

func (o ImageOutput) Registries() RegistryArrayOutput

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) Target

func (o ImageOutput) Target() pulumi.StringPtrOutput

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

func (ImageOutput) ToOutput

func (o ImageOutput) ToOutput(ctx context.Context) pulumix.Output[*Image]

type ImageState

type ImageState struct {
}

func (ImageState) ElementType

func (ImageState) ElementType() reflect.Type

type Index

type Index struct {
	pulumi.CustomResourceState

	// If true, push the index to the target registry.
	//
	// Defaults to `true`.
	Push pulumi.BoolPtrOutput `pulumi:"push"`
	// The pushed tag with digest.
	//
	// Identical to the tag if the index was not pushed.
	Ref pulumi.StringOutput `pulumi:"ref"`
	// Authentication for the registry where the tagged index will be pushed.
	//
	// Credentials can also be included with the provider's configuration.
	Registry RegistryPtrOutput `pulumi:"registry"`
	// Existing images to include in the index.
	Sources pulumi.StringArrayOutput `pulumi:"sources"`
	// The tag to apply to the index.
	Tag pulumi.StringOutput `pulumi:"tag"`
}

A wrapper around `docker buildx imagetools create` to create an index (or manifest list) referencing one or more existing images.

In most cases you do not need an `Index` to build a multi-platform image -- specifying multiple platforms on the `Image` will handle this for you automatically.

However, as of April 2024, building multi-platform images _with caching_ will only export a cache for one platform at a time (see [this discussion](https://github.com/docker/buildx/discussions/1382) for more details).

Therefore this resource can be helpful if you are building multi-platform images with caching: each platform can be built and cached separately, and an `Index` can join them all together. An example of this is shown below.

This resource creates an OCI image index or a Docker manifest list depending on the media types of the source images.

## Example Usage ### Multi-platform registry caching ```go package main

import (

"github.com/pulumi/pulumi-docker-build/sdk/go/dockerbuild"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		amd64, err := dockerbuild.NewImage(ctx, "amd64", &dockerbuild.ImageArgs{
			CacheFrom: dockerbuild.CacheFromArray{
				&dockerbuild.CacheFromArgs{
					Registry: &dockerbuild.CacheFromRegistryArgs{
						Ref: pulumi.String("docker.io/pulumi/pulumi:cache-amd64"),
					},
				},
			},
			CacheTo: dockerbuild.CacheToArray{
				&dockerbuild.CacheToArgs{
					Registry: &dockerbuild.CacheToRegistryArgs{
						Mode: dockerbuild.CacheModeMax,
						Ref:  pulumi.String("docker.io/pulumi/pulumi:cache-amd64"),
					},
				},
			},
			Context: &dockerbuild.BuildContextArgs{
				Location: pulumi.String("app"),
			},
			Platforms: docker - build.PlatformArray{
				dockerbuild.Platform_Linux_amd64,
			},
			Tags: pulumi.StringArray{
				pulumi.String("docker.io/pulumi/pulumi:3.107.0-amd64"),
			},
		})
		if err != nil {
			return err
		}
		arm64, err := dockerbuild.NewImage(ctx, "arm64", &dockerbuild.ImageArgs{
			CacheFrom: dockerbuild.CacheFromArray{
				&dockerbuild.CacheFromArgs{
					Registry: &dockerbuild.CacheFromRegistryArgs{
						Ref: pulumi.String("docker.io/pulumi/pulumi:cache-arm64"),
					},
				},
			},
			CacheTo: dockerbuild.CacheToArray{
				&dockerbuild.CacheToArgs{
					Registry: &dockerbuild.CacheToRegistryArgs{
						Mode: dockerbuild.CacheModeMax,
						Ref:  pulumi.String("docker.io/pulumi/pulumi:cache-arm64"),
					},
				},
			},
			Context: &dockerbuild.BuildContextArgs{
				Location: pulumi.String("app"),
			},
			Platforms: docker - build.PlatformArray{
				dockerbuild.Platform_Linux_arm64,
			},
			Tags: pulumi.StringArray{
				pulumi.String("docker.io/pulumi/pulumi:3.107.0-arm64"),
			},
		})
		if err != nil {
			return err
		}
		index, err := dockerbuild.NewIndex(ctx, "index", &dockerbuild.IndexArgs{
			Sources: pulumi.StringArray{
				amd64.Ref,
				arm64.Ref,
			},
			Tag: pulumi.String("docker.io/pulumi/pulumi:3.107.0"),
		})
		if err != nil {
			return err
		}
		ctx.Export("ref", index.Ref)
		return nil
	})
}

```

func GetIndex

func GetIndex(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *IndexState, opts ...pulumi.ResourceOption) (*Index, error)

GetIndex gets an existing Index 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 NewIndex

func NewIndex(ctx *pulumi.Context,
	name string, args *IndexArgs, opts ...pulumi.ResourceOption) (*Index, error)

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

func (*Index) ElementType

func (*Index) ElementType() reflect.Type

func (*Index) ToIndexOutput

func (i *Index) ToIndexOutput() IndexOutput

func (*Index) ToIndexOutputWithContext

func (i *Index) ToIndexOutputWithContext(ctx context.Context) IndexOutput

func (*Index) ToOutput

func (i *Index) ToOutput(ctx context.Context) pulumix.Output[*Index]

type IndexArgs

type IndexArgs struct {
	// If true, push the index to the target registry.
	//
	// Defaults to `true`.
	Push pulumi.BoolPtrInput
	// Authentication for the registry where the tagged index will be pushed.
	//
	// Credentials can also be included with the provider's configuration.
	Registry RegistryPtrInput
	// Existing images to include in the index.
	Sources pulumi.StringArrayInput
	// The tag to apply to the index.
	Tag pulumi.StringInput
}

The set of arguments for constructing a Index resource.

func (IndexArgs) ElementType

func (IndexArgs) ElementType() reflect.Type

type IndexInput

type IndexInput interface {
	pulumi.Input

	ToIndexOutput() IndexOutput
	ToIndexOutputWithContext(ctx context.Context) IndexOutput
}

type IndexOutput

type IndexOutput struct{ *pulumi.OutputState }

func (IndexOutput) ElementType

func (IndexOutput) ElementType() reflect.Type

func (IndexOutput) Push

func (o IndexOutput) Push() pulumi.BoolPtrOutput

If true, push the index to the target registry.

Defaults to `true`.

func (IndexOutput) Ref

The pushed tag with digest.

Identical to the tag if the index was not pushed.

func (IndexOutput) Registry

func (o IndexOutput) Registry() RegistryPtrOutput

Authentication for the registry where the tagged index will be pushed.

Credentials can also be included with the provider's configuration.

func (IndexOutput) Sources

func (o IndexOutput) Sources() pulumi.StringArrayOutput

Existing images to include in the index.

func (IndexOutput) Tag

The tag to apply to the index.

func (IndexOutput) ToIndexOutput

func (o IndexOutput) ToIndexOutput() IndexOutput

func (IndexOutput) ToIndexOutputWithContext

func (o IndexOutput) ToIndexOutputWithContext(ctx context.Context) IndexOutput

func (IndexOutput) ToOutput

func (o IndexOutput) ToOutput(ctx context.Context) pulumix.Output[*Index]

type IndexState

type IndexState struct {
}

func (IndexState) ElementType

func (IndexState) 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) ToOutput

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) ToOutput

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) ToOutput

func (i PlatformArray) ToOutput(ctx context.Context) pulumix.Output[[]Platform]

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) ToOutput

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) ToOutput

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) ToOutput

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 Provider

type Provider struct {
	pulumi.ProviderResourceState

	// The build daemon's address.
	Host pulumi.StringPtrOutput `pulumi:"host"`
}

func NewProvider

func NewProvider(ctx *pulumi.Context,
	name string, args *ProviderArgs, opts ...pulumi.ResourceOption) (*Provider, error)

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

func (*Provider) ElementType

func (*Provider) ElementType() reflect.Type

func (*Provider) ToOutput

func (i *Provider) ToOutput(ctx context.Context) pulumix.Output[*Provider]

func (*Provider) ToProviderOutput

func (i *Provider) ToProviderOutput() ProviderOutput

func (*Provider) ToProviderOutputWithContext

func (i *Provider) ToProviderOutputWithContext(ctx context.Context) ProviderOutput

type ProviderArgs

type ProviderArgs struct {
	// The build daemon's address.
	Host       pulumi.StringPtrInput
	Registries RegistryArrayInput
}

The set of arguments for constructing a Provider resource.

func (ProviderArgs) ElementType

func (ProviderArgs) ElementType() reflect.Type

type ProviderInput

type ProviderInput interface {
	pulumi.Input

	ToProviderOutput() ProviderOutput
	ToProviderOutputWithContext(ctx context.Context) ProviderOutput
}

type ProviderOutput

type ProviderOutput struct{ *pulumi.OutputState }

func (ProviderOutput) ElementType

func (ProviderOutput) ElementType() reflect.Type

func (ProviderOutput) Host

The build daemon's address.

func (ProviderOutput) ToOutput

func (ProviderOutput) ToProviderOutput

func (o ProviderOutput) ToProviderOutput() ProviderOutput

func (ProviderOutput) ToProviderOutputWithContext

func (o ProviderOutput) ToProviderOutputWithContext(ctx context.Context) ProviderOutput

type Registry

type Registry 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 RegistryArgs

type RegistryArgs 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 (RegistryArgs) ElementType

func (RegistryArgs) ElementType() reflect.Type

func (RegistryArgs) ToOutput

func (RegistryArgs) ToRegistryOutput

func (i RegistryArgs) ToRegistryOutput() RegistryOutput

func (RegistryArgs) ToRegistryOutputWithContext

func (i RegistryArgs) ToRegistryOutputWithContext(ctx context.Context) RegistryOutput

func (RegistryArgs) ToRegistryPtrOutput

func (i RegistryArgs) ToRegistryPtrOutput() RegistryPtrOutput

func (RegistryArgs) ToRegistryPtrOutputWithContext

func (i RegistryArgs) ToRegistryPtrOutputWithContext(ctx context.Context) RegistryPtrOutput

type RegistryArray

type RegistryArray []RegistryInput

func (RegistryArray) ElementType

func (RegistryArray) ElementType() reflect.Type

func (RegistryArray) ToOutput

func (i RegistryArray) ToOutput(ctx context.Context) pulumix.Output[[]Registry]

func (RegistryArray) ToRegistryArrayOutput

func (i RegistryArray) ToRegistryArrayOutput() RegistryArrayOutput

func (RegistryArray) ToRegistryArrayOutputWithContext

func (i RegistryArray) ToRegistryArrayOutputWithContext(ctx context.Context) RegistryArrayOutput

type RegistryArrayInput

type RegistryArrayInput interface {
	pulumi.Input

	ToRegistryArrayOutput() RegistryArrayOutput
	ToRegistryArrayOutputWithContext(context.Context) RegistryArrayOutput
}

RegistryArrayInput is an input type that accepts RegistryArray and RegistryArrayOutput values. You can construct a concrete instance of `RegistryArrayInput` via:

RegistryArray{ RegistryArgs{...} }

type RegistryArrayOutput

type RegistryArrayOutput struct{ *pulumi.OutputState }

func (RegistryArrayOutput) ElementType

func (RegistryArrayOutput) ElementType() reflect.Type

func (RegistryArrayOutput) Index

func (RegistryArrayOutput) ToOutput

func (RegistryArrayOutput) ToRegistryArrayOutput

func (o RegistryArrayOutput) ToRegistryArrayOutput() RegistryArrayOutput

func (RegistryArrayOutput) ToRegistryArrayOutputWithContext

func (o RegistryArrayOutput) ToRegistryArrayOutputWithContext(ctx context.Context) RegistryArrayOutput

type RegistryInput

type RegistryInput interface {
	pulumi.Input

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

RegistryInput is an input type that accepts RegistryArgs and RegistryOutput values. You can construct a concrete instance of `RegistryInput` via:

RegistryArgs{...}

type RegistryOutput

type RegistryOutput struct{ *pulumi.OutputState }

func (RegistryOutput) Address

func (o RegistryOutput) Address() pulumi.StringOutput

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

func (RegistryOutput) ElementType

func (RegistryOutput) ElementType() reflect.Type

func (RegistryOutput) Password

func (o RegistryOutput) Password() pulumi.StringPtrOutput

Password or token for the registry.

func (RegistryOutput) ToOutput

func (RegistryOutput) ToRegistryOutput

func (o RegistryOutput) ToRegistryOutput() RegistryOutput

func (RegistryOutput) ToRegistryOutputWithContext

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

func (RegistryOutput) ToRegistryPtrOutput

func (o RegistryOutput) ToRegistryPtrOutput() RegistryPtrOutput

func (RegistryOutput) ToRegistryPtrOutputWithContext

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

func (RegistryOutput) Username

func (o RegistryOutput) Username() pulumi.StringPtrOutput

Username for the registry.

type RegistryPtrInput

type RegistryPtrInput interface {
	pulumi.Input

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

RegistryPtrInput is an input type that accepts RegistryArgs, RegistryPtr and RegistryPtrOutput values. You can construct a concrete instance of `RegistryPtrInput` via:

        RegistryArgs{...}

or:

        nil

func RegistryPtr

func RegistryPtr(v *RegistryArgs) RegistryPtrInput

type RegistryPtrOutput

type RegistryPtrOutput struct{ *pulumi.OutputState }

func (RegistryPtrOutput) Address

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

func (RegistryPtrOutput) Elem

func (RegistryPtrOutput) ElementType

func (RegistryPtrOutput) ElementType() reflect.Type

func (RegistryPtrOutput) Password

Password or token for the registry.

func (RegistryPtrOutput) ToOutput

func (RegistryPtrOutput) ToRegistryPtrOutput

func (o RegistryPtrOutput) ToRegistryPtrOutput() RegistryPtrOutput

func (RegistryPtrOutput) ToRegistryPtrOutputWithContext

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

func (RegistryPtrOutput) 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) ToOutput

func (i SSHArgs) ToOutput(ctx context.Context) pulumix.Output[SSH]

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) ToOutput

func (i SSHArray) ToOutput(ctx context.Context) pulumix.Output[[]SSH]

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) ToOutput

func (o SSHArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SSH]

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) ToOutput

func (o SSHOutput) ToOutput(ctx context.Context) pulumix.Output[SSH]

func (SSHOutput) ToSSHOutput

func (o SSHOutput) ToSSHOutput() SSHOutput

func (SSHOutput) ToSSHOutputWithContext

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

Directories

Path Synopsis
x
A Pulumi provider for building modern Docker images with buildx and BuildKit.
A Pulumi provider for building modern Docker images with buildx and BuildKit.

Jump to

Keyboard shortcuts

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