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: 4 Imported by: 0

README

集群镜像的构建流程

  1. kubefile的解析
  2. build上下文构建打包等
  3. infra申请云资源启动临时集群
  4. 在临时集群中执行指令
  5. 存储集群中的容器镜像等资源
  6. 打包集群镜像

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type Config

type Config struct {
	BuildType string
	NoCache   bool
	NoBase    bool
	ImageName string
}

type Interface

type Interface interface {
	Build(name string, context string, kubefileName string) error
}

func NewBuilder

func NewBuilder(config *Config) (Interface, error)

func NewCloudBuilder

func NewCloudBuilder(config *Config) (Interface, error)

func NewLiteBuilder added in v0.3.0

func NewLiteBuilder(config *Config) (Interface, error)

func NewLocalBuilder

func NewLocalBuilder(config *Config) (Interface, error)

Jump to

Keyboard shortcuts

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