Documentation ¶
Index ¶
- Constants
- type BuildPhase
- type Conveyor
- func (c *Conveyor) BP(repo string, opts PushOptions) error
- func (c *Conveyor) Build() error
- func (c *Conveyor) GetBuildingGAStage(dimgName string) stage.StageName
- func (c *Conveyor) GetDimg(name string) *Dimg
- func (c *Conveyor) GetDimgImageName(dimgName string) string
- func (c *Conveyor) GetDimgSignature(dimgName string) string
- func (c *Conveyor) GetDimgTmpDir(dimgName string) string
- func (c *Conveyor) GetDockerAuthorizer() DockerAuthorizer
- func (c *Conveyor) GetImage(name string) *image.Stage
- func (c *Conveyor) GetImageBySignature(signature string) image.Image
- func (c *Conveyor) GetOrCreateImage(fromImage *image.Stage, name string) *image.Stage
- func (c *Conveyor) Push(repo string, opts PushOptions) error
- func (c *Conveyor) SetBuildingGAStage(dimgName string, stageName stage.StageName)
- func (c *Conveyor) SetImageBySignature(signature string, img image.Image)
- type Dimg
- func (d *Dimg) GetBaseImage() *image.Stage
- func (d *Dimg) GetName() string
- func (d *Dimg) GetStage(name stage.StageName) stage.Interface
- func (d *Dimg) GetStages() []stage.Interface
- func (d *Dimg) LatestStage() stage.Interface
- func (d *Dimg) PrepareBaseImage(c *Conveyor) error
- func (d *Dimg) SetStages(stages []stage.Interface)
- func (d *Dimg) SetupBaseImage(c *Conveyor)
- type DockerAuthorizer
- type InitializationPhase
- type Phase
- type PrepareImagesPhase
- type PushOptions
- type PushPhase
- type RenewPhase
- type ShouldBeBuiltPhase
- type SignaturesPhase
- type TagOptions
- type TagScheme
Constants ¶
View Source
const ( BuildCacheVersion = "33" LocalDimgstageImageNameFormat = "dimgstage-%s" LocalDimgstageImageFormat = "dimgstage-%s:%s" )
View Source
const DappCacheVersionLabel = "dapp-cache-version"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuildPhase ¶
type BuildPhase struct{}
func NewBuildPhase ¶
func NewBuildPhase() *BuildPhase
func (*BuildPhase) Run ¶
func (p *BuildPhase) Run(c *Conveyor) error
type Conveyor ¶
type Conveyor struct { Dappfile []*config.Dimg DimgsInOrder []*Dimg DimgNamesToProcess []string ProjectName string ProjectDir string ProjectBuildDir string ContainerDappDir string TmpDir string SSHAuthSock string // contains filtered or unexported fields }
func NewConveyor ¶
func (*Conveyor) GetBuildingGAStage ¶
func (*Conveyor) GetDimgImageName ¶
func (*Conveyor) GetDimgSignature ¶
func (*Conveyor) GetDimgTmpDir ¶
func (*Conveyor) GetDockerAuthorizer ¶
func (c *Conveyor) GetDockerAuthorizer() DockerAuthorizer
func (*Conveyor) GetImageBySignature ¶
func (*Conveyor) GetOrCreateImage ¶
func (*Conveyor) SetBuildingGAStage ¶
type Dimg ¶
type Dimg struct {
// contains filtered or unexported fields
}
func (*Dimg) GetBaseImage ¶
func (*Dimg) LatestStage ¶
func (*Dimg) PrepareBaseImage ¶
func (*Dimg) SetupBaseImage ¶
type DockerAuthorizer ¶
type InitializationPhase ¶
type InitializationPhase struct{}
func NewInitializationPhase ¶
func NewInitializationPhase() *InitializationPhase
func (*InitializationPhase) Run ¶
func (p *InitializationPhase) Run(c *Conveyor) error
type PrepareImagesPhase ¶
type PrepareImagesPhase struct{}
func NewPrepareImagesPhase ¶
func NewPrepareImagesPhase() *PrepareImagesPhase
func (*PrepareImagesPhase) Run ¶
func (p *PrepareImagesPhase) Run(c *Conveyor) error
type PushOptions ¶
type PushOptions struct { TagOptions WithStages bool }
type PushPhase ¶
func NewPushPhase ¶
func NewPushPhase(repo string, opts PushOptions) *PushPhase
type RenewPhase ¶
type RenewPhase struct{}
func NewRenewPhase ¶
func NewRenewPhase() *RenewPhase
func (*RenewPhase) Run ¶
func (p *RenewPhase) Run(c *Conveyor) error
type ShouldBeBuiltPhase ¶
type ShouldBeBuiltPhase struct{}
func NewShouldBeBuiltPhase ¶
func NewShouldBeBuiltPhase() *ShouldBeBuiltPhase
func (*ShouldBeBuiltPhase) Run ¶
func (p *ShouldBeBuiltPhase) Run(c *Conveyor) error
type SignaturesPhase ¶
type SignaturesPhase struct{}
func NewSignaturesPhase ¶
func NewSignaturesPhase() *SignaturesPhase
func (*SignaturesPhase) Run ¶
func (p *SignaturesPhase) Run(c *Conveyor) error
type TagOptions ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.