build

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidImageBuilder = errors.New("invalid image manager")
)

Functions

This section is empty.

Types

type Case

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

func NewCase

func NewCase(builder ImageBuilder) (*Case, error)

func (*Case) Exec

func (c *Case) Exec(ctx context.Context) error

func (*Case) WithBuildBasic

func (c *Case) WithBuildBasic() *Case

func (*Case) WithBuildPG

func (c *Case) WithBuildPG() *Case

type ImageBuilder

type ImageBuilder interface {
	BuildImage(ctx context.Context, dockerfile string, tag string) error
}

Jump to

Keyboard shortcuts

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