package manifest
import "github.com/docker/buildx/driver/kubernetes/manifest"
Index ¶
- Constants
- Variables
- func NewDeployment(opt *DeploymentOpt) (d *appsv1.Deployment, c []*corev1.ConfigMap, err error)
- type DeploymentOpt
Constants ¶
const ( AnnotationPlatform = "buildx.docker.com/platform" LabelApp = "app" )
Variables ¶
var ( ErrReservedAnnotationPlatform = errors.Errorf("the annotation \"%s\" is reserved and cannot be customized", AnnotationPlatform) ErrReservedLabelApp = errors.Errorf("the label \"%s\" is reserved and cannot be customized", LabelApp) )
Functions ¶
func NewDeployment ¶
func NewDeployment(opt *DeploymentOpt) (d *appsv1.Deployment, c []*corev1.ConfigMap, err error)
Types ¶
type DeploymentOpt ¶
type DeploymentOpt struct { Namespace string Name string Image string Replicas int ServiceAccountName string SchedulerName string // Qemu Qemu struct { // when true, will install binfmt Install bool Image string } BuildkitFlags []string // files mounted at /etc/buildkitd ConfigFiles map[string][]byte Rootless bool NodeSelector map[string]string CustomAnnotations map[string]string CustomLabels map[string]string Tolerations []corev1.Toleration RequestsCPU string RequestsMemory string RequestsEphemeralStorage string LimitsCPU string LimitsMemory string LimitsEphemeralStorage string Platforms []v1.Platform }
Source Files ¶
- Version
- v0.14.0-rc2
- Published
- Apr 17, 2024
- Platform
- js/wasm
- Imports
- 10 packages
- Last checked
- 6 hours ago –
Tools for package owners.