base

package
v0.0.17 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultCmd added in v0.0.15

func DefaultCmd() []string

DefaultCmd returns the default command used for multiple harnesses. This is currently used like this in several places, so we might as well make it reusable. Not safe to be made into a variable since slices are mutable and therefore cannot be made constant in Go.

func DefaultEntrypoint added in v0.0.15

func DefaultEntrypoint() []string

DefaultEntrypoint returns the default entrypoint command used for multiple harnesses. This is currently used like this in several places, so we might as well make it reusable. Not safe to be made into a variable since slices are mutable and therefore cannot be made constant in Go.

Types

type Base

type Base struct {
	// contains filtered or unexported fields
}

Base is a Base harness implementation. It's often useful to embed this into other harness implementations.

func New

func New() *Base

func (*Base) Done

func (h *Base) Done() error

func (*Base) Finish

func (h *Base) Finish() types.StepFn

func (*Base) WithCreate

func (h *Base) WithCreate(f types.StepFn) types.StepFn

type RegistryAuthOpt added in v0.0.17

type RegistryAuthOpt struct {
	Username string
	Password string
	Auth     string
}

type RegistryTlsOpt added in v0.0.17

type RegistryTlsOpt struct {
	CertFile string
	KeyFile  string
	CaFile   string
}

Jump to

Keyboard shortcuts

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