builder

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2023 License: Apache-2.0 Imports: 39 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewOverlayBDBuilderEngine

func NewOverlayBDBuilderEngine(base *builderEngineBase) builderEngine

func NewTurboOCIBuilderEngine added in v1.0.0

func NewTurboOCIBuilderEngine(base *builderEngineBase) builderEngine

Types

type Builder

type Builder interface {
	Build(ctx context.Context) error
}

func NewOverlayBDBuilder

func NewOverlayBDBuilder(ctx context.Context, opt BuilderOptions) (Builder, error)

type BuilderEngineType

type BuilderEngineType int
const (
	Overlaybd BuilderEngineType = iota
	TurboOCI
)

type BuilderOptions

type BuilderOptions struct {
	Ref       string
	TargetRef string
	Auth      string
	PlainHTTP bool
	WorkDir   string
	OCI       bool
	Mkfs      bool
	DB        database.ConversionDatabase
	Engine    BuilderEngineType
	CertOption
}

type CertOption added in v1.0.1

type CertOption struct {
	CertDirs    []string
	RootCAs     []string
	ClientCerts []string
	Insecure    bool
}

-------------------- certification --------------------

Jump to

Keyboard shortcuts

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