builder

package
v1.0.1-beta.4 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2019 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Ansible

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

func NewAnsibleBuilder

func NewAnsibleBuilder(config *config.Ansible, path *Extra) *Ansible

func (*Ansible) BeforeInstall

func (b *Ansible) BeforeInstall(container Container) error

func (*Ansible) BeforeInstallChecksum

func (b *Ansible) BeforeInstallChecksum() string

func (*Ansible) BeforeSetup

func (b *Ansible) BeforeSetup(container Container) error

func (*Ansible) BeforeSetupChecksum

func (b *Ansible) BeforeSetupChecksum() string

func (*Ansible) Install

func (b *Ansible) Install(container Container) error

func (*Ansible) InstallChecksum

func (b *Ansible) InstallChecksum() string

func (*Ansible) IsBeforeInstallEmpty

func (b *Ansible) IsBeforeInstallEmpty() bool

func (*Ansible) IsBeforeSetupEmpty

func (b *Ansible) IsBeforeSetupEmpty() bool

func (*Ansible) IsInstallEmpty

func (b *Ansible) IsInstallEmpty() bool

func (*Ansible) IsSetupEmpty

func (b *Ansible) IsSetupEmpty() bool

func (*Ansible) Setup

func (b *Ansible) Setup(container Container) error

func (*Ansible) SetupChecksum

func (b *Ansible) SetupChecksum() string

type Builder

type Builder interface {
	IsBeforeInstallEmpty() bool
	IsInstallEmpty() bool
	IsBeforeSetupEmpty() bool
	IsSetupEmpty() bool
	BeforeInstall(container Container) error
	Install(container Container) error
	BeforeSetup(container Container) error
	Setup(container Container) error
	BeforeInstallChecksum() string
	InstallChecksum() string
	BeforeSetupChecksum() string
	SetupChecksum() string
}

type Container

type Container interface {
	AddRunCommands(commands ...string)
	AddServiceRunCommands(commands ...string)
	AddVolumeFrom(volumesFrom ...string)
	AddVolume(volumes ...string)
	AddExpose(exposes ...string)
	AddEnv(envs map[string]string)
	AddLabel(labels map[string]string)
}

type Extra

type Extra struct {
	ContainerWerfPath string
	TmpPath           string
}

type Shell

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

func NewShellBuilder

func NewShellBuilder(config *config.Shell) *Shell

func (*Shell) BeforeInstall

func (b *Shell) BeforeInstall(container Container) error

func (*Shell) BeforeInstallChecksum

func (b *Shell) BeforeInstallChecksum() string

func (*Shell) BeforeSetup

func (b *Shell) BeforeSetup(container Container) error

func (*Shell) BeforeSetupChecksum

func (b *Shell) BeforeSetupChecksum() string

func (*Shell) Install

func (b *Shell) Install(container Container) error

func (*Shell) InstallChecksum

func (b *Shell) InstallChecksum() string

func (*Shell) IsBeforeInstallEmpty

func (b *Shell) IsBeforeInstallEmpty() bool

func (*Shell) IsBeforeSetupEmpty

func (b *Shell) IsBeforeSetupEmpty() bool

func (*Shell) IsInstallEmpty

func (b *Shell) IsInstallEmpty() bool

func (*Shell) IsSetupEmpty

func (b *Shell) IsSetupEmpty() bool

func (*Shell) Setup

func (b *Shell) Setup(container Container) error

func (*Shell) SetupChecksum

func (b *Shell) SetupChecksum() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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