manifest

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Portions Copyright (C) 2020 VMware, Inc. SPDX-License-Identifier: Apache-2.0

Index

Constants

View Source
const (
	AnnotationKey = "buildkit.mobyproject.org/builder"
)

Variables

This section is empty.

Functions

func NewConfigMap

func NewConfigMap(opt *DeploymentOpt, contents []byte) *corev1.ConfigMap

func NewDeployment

func NewDeployment(opt *DeploymentOpt) (*appsv1.Deployment, error)

Types

type DeploymentOpt

type DeploymentOpt struct {
	Namespace              string
	Name                   string
	Image                  string
	Replicas               int
	BuildkitFlags          []string
	Rootless               bool
	Worker                 string
	ContainerdNamespace    string
	ContainerdSockHostPath string
	DockerSockHostPath     string
	ContainerRuntime       string
	CustomConfig           string
	Environments           map[string]string
}

Jump to

Keyboard shortcuts

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