build

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckClusterFile added in v0.1.5

func CheckClusterFile(imageName string) bool

func CheckIsImageExist added in v0.1.5

func CheckIsImageExist(imageName string) bool

func GetCloudBuildDir added in v0.1.5

func GetCloudBuildDir() string

func GetContainerBuildDir added in v0.3.1

func GetContainerBuildDir() string

func GetFixtures added in v0.1.5

func GetFixtures() string

func GetImageNameTemplate added in v0.2.0

func GetImageNameTemplate(name string) string

GetImageNameTemplate return image name only for local build

func GetLiteBuildDir added in v0.5.0

func GetLiteBuildDir() string

func GetTestImageName added in v0.1.5

func GetTestImageName() string

GetTestImageName return specific image name that will be push to registry

func UpdateKubeFromImage added in v0.3.1

func UpdateKubeFromImage(imageName string, KubefilePath string)

Types

type ArgsOfBuild added in v0.1.5

type ArgsOfBuild struct {
	KubeFile, ImageName, Context, BuildType string
}

func NewArgsOfBuild added in v0.1.5

func NewArgsOfBuild() *ArgsOfBuild

func (*ArgsOfBuild) Build added in v0.1.5

func (a *ArgsOfBuild) Build() string

func (*ArgsOfBuild) SetBuildType added in v0.1.5

func (a *ArgsOfBuild) SetBuildType(buildType string) *ArgsOfBuild

func (*ArgsOfBuild) SetContext added in v0.1.5

func (a *ArgsOfBuild) SetContext(context string) *ArgsOfBuild

func (*ArgsOfBuild) SetImageName added in v0.1.5

func (a *ArgsOfBuild) SetImageName(imageName string) *ArgsOfBuild

func (*ArgsOfBuild) SetKubeFile added in v0.1.5

func (a *ArgsOfBuild) SetKubeFile(kubeFile string) *ArgsOfBuild

Jump to

Keyboard shortcuts

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