Documentation ¶
Index ¶
- Constants
- func BuildDevImage(threeportPath string) error
- func BuildGoBinary(threeportPath, arch string, component *v0.ControlPlaneComponent, noCache bool) error
- func DockerBuildxImage(threeportPath, dockerFilePath, tag, arch string, ...) error
- func LoadDevImage(kindKubernetesRuntimeName, imageName string) error
- func PrepareDevImage(threeportPath, kindKubernetesRuntimeName string, ...) error
- func PushDockerImage(tag string) error
- type BuildErrorLine
- type ErrorDetail
Constants ¶
View Source
const DefaultInstanceName = "dev-0"
Variables ¶
This section is empty.
Functions ¶
func BuildDevImage ¶
BuildDevImage builds all the threeport control plane container images using the dev dockerfile to provide live reload of code in the container.
func BuildGoBinary ¶
func BuildGoBinary(threeportPath, arch string, component *v0.ControlPlaneComponent, noCache bool) error
BuildGoBinary builds the go binary for a threeport control plane component.
func DockerBuildxImage ¶
func DockerBuildxImage(threeportPath, dockerFilePath, tag, arch string, component *v0.ControlPlaneComponent) error
DockerBuildxImage builds a specified docker image with the 'docker buildx' command.
func LoadDevImage ¶
LoadDevImage loads the threeport control plane development container images onto the kind cluster nodes.
func PrepareDevImage ¶ added in v0.5.0
func PrepareDevImage(threeportPath, kindKubernetesRuntimeName string, cpi *threeport.ControlPlaneInstaller) error
PrepareDevImage builds and loads the threeport control plane images for development use.
func PushDockerImage ¶
PushDockerImage pushes a specified docker image to the docker registry.
Types ¶
type BuildErrorLine ¶
type BuildErrorLine struct { Error string `json:"error"` ErrorDetail ErrorDetail `json:"errorDetail"` }
type ErrorDetail ¶
type ErrorDetail struct {
Message string `json:"message"`
}
Click to show internal directories.
Click to hide internal directories.