BuildxBuilderState constructor

const BuildxBuilderState({
  1. Input<bool?>? append,
  2. Input<bool?>? bootstrap,
  3. Input<String?>? buildkitConfig,
  4. Input<String?>? buildkitFlags,
  5. Input<BuildxBuilderDockerContainer?>? dockerContainer,
  6. Input<String?>? driver,
  7. Input<Map<String, String>?>? driverOptions,
  8. Input<String?>? endpoint,
  9. Input<BuildxBuilderKubernetes?>? kubernetes,
  10. Input<String?>? name,
  11. Input<String?>? node,
  12. Input<List<String>?>? platforms,
  13. Input<BuildxBuilderRemote?>? remote,
  14. Input<bool?>? use,
})

Creates a new BuildxBuilderState. append Append a node to builder instead of changing it bootstrap Automatically boot the builder after creation. Defaults to false buildkitConfig BuildKit daemon config file buildkitFlags BuildKit flags to set for the builder. dockerContainer Configuration block for the Docker-Container driver. driver The driver to use for the Buildx builder (e.g., docker-container, kubernetes). driverOptions Additional options for the Buildx driver in the form of key=value,.... These options are driver-specific. endpoint The endpoint or context to use for the Buildx builder, where context is the name of a context from docker context ls and endpoint is the address for Docker socket (eg. DOCKER_HOST value). By default, the current Docker configuration is used for determining the context/endpoint value. kubernetes Configuration block for the Kubernetes driver. name The name of the Buildx builder. IF not specified, a random name will be generated. node Create/modify node with given name platforms Fixed platforms for current node remote Configuration block for the Remote driver. use Set the current builder instance as the default for the current context.

Implementation

const BuildxBuilderState({
  this.append,
  this.bootstrap,
  this.buildkitConfig,
  this.buildkitFlags,
  this.dockerContainer,
  this.driver,
  this.driverOptions,
  this.endpoint,
  this.kubernetes,
  this.name,
  this.node,
  this.platforms,
  this.remote,
  this.use,
});