Documentation ¶
Index ¶
- Constants
- func ConveyorShouldBeResetError() error
- type BuildOptions
- type BuildPhase
- type Conveyor
- func (c *Conveyor) BP(repo string, buildOpts BuildOptions, pushOpts PushOptions) error
- func (c *Conveyor) Build(opts BuildOptions) 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) ReInitRuntimeFields()
- func (c *Conveyor) SetBuildingGAStage(dimgName string, stageName stage.StageName)
- func (c *Conveyor) SetImageBySignature(signature string, img image.Image)
- func (c *Conveyor) Tag(repo string, opts TagOptions) error
- 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 TagPhase
- 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 ¶
func ConveyorShouldBeResetError ¶
func ConveyorShouldBeResetError() error
Types ¶
type BuildOptions ¶
type BuildOptions struct {
ImageBuildOptions image.BuildOptions
}
type BuildPhase ¶ added in v1.1.0
type BuildPhase struct {
BuildOptions
}
func NewBuildPhase ¶ added in v1.1.0
func NewBuildPhase(opts BuildOptions) *BuildPhase
func (*BuildPhase) Run ¶
func (p *BuildPhase) Run(c *Conveyor) error
type Conveyor ¶
type Conveyor struct {
// contains filtered or unexported fields
}
func NewConveyor ¶
func (*Conveyor) BP ¶
func (c *Conveyor) BP(repo string, buildOpts BuildOptions, pushOpts PushOptions) error
func (*Conveyor) Build ¶
func (c *Conveyor) Build(opts BuildOptions) error
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) ReInitRuntimeFields ¶
func (c *Conveyor) ReInitRuntimeFields()
func (*Conveyor) SetBuildingGAStage ¶
func (*Conveyor) SetImageBySignature ¶
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 ¶
type TagPhase ¶
func NewTagPhase ¶
func NewTagPhase(repo string, opts TagOptions) *TagPhase
Source Files ¶
Click to show internal directories.
Click to hide internal directories.