build

package
v0.11.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckIsImageExist

func CheckIsImageExist(imageName string) bool

func CheckIsMultiArchImageExist added in v0.9.3

func CheckIsMultiArchImageExist(imageName string) bool

func GetBuildImageName added in v0.9.2

func GetBuildImageName() string

GetBuildImageName return specific image name for sealer build test

func WithAPPCmdsBuildDir added in v0.9.2

func WithAPPCmdsBuildDir() string

func WithCmdsBuildDir added in v0.9.2

func WithCmdsBuildDir() string

func WithImageListFlagBuildDir added in v0.9.2

func WithImageListFlagBuildDir() string

func WithLaunchBuildDir added in v0.9.2

func WithLaunchBuildDir() string

func WithMultiArchBuildDir added in v0.9.2

func WithMultiArchBuildDir() string

Types

type ArgsOfBuild

type ArgsOfBuild struct {
	KubeFile, ImageName, Context string
	Platform                     []string
	ImageList                    string
	ImageType                    string
}

func NewArgsOfBuild

func NewArgsOfBuild() *ArgsOfBuild

func (*ArgsOfBuild) SetContext

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

func (*ArgsOfBuild) SetImageList added in v0.9.2

func (a *ArgsOfBuild) SetImageList(imageList string) *ArgsOfBuild

func (*ArgsOfBuild) SetImageName

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

func (*ArgsOfBuild) SetImageType added in v0.9.2

func (a *ArgsOfBuild) SetImageType(imageType string) *ArgsOfBuild

func (*ArgsOfBuild) SetKubeFile

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

func (*ArgsOfBuild) SetPlatforms added in v0.9.2

func (a *ArgsOfBuild) SetPlatforms(platforms []string) *ArgsOfBuild

func (*ArgsOfBuild) String added in v0.9.2

func (a *ArgsOfBuild) String() string

Jump to

Keyboard shortcuts

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