Documentation ¶
Index ¶
Constants ¶
View Source
const (
AnnotationPlatform = "buildx.docker.com/platform"
)
Variables ¶
This section is empty.
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 // 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 Tolerations []corev1.Toleration RequestsCPU string RequestsMemory string LimitsCPU string LimitsMemory string Platforms []v1.Platform }
Click to show internal directories.
Click to hide internal directories.