Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultStep ¶
type DefaultStep struct { Logger log.Logger URLResolver images.PullURLResolver ImageSaver images.ImageSaver Viper *viper.Viper BuilderBuilder *templates.BuilderBuilder }
DefaultStep is the default implementation of Renderer
func (*DefaultStep) Execute ¶
func (p *DefaultStep) Execute( rootFs root.Fs, asset api.DockerAsset, meta api.ReleaseMetadata, doWithProgress func(ch chan interface{}, debug log.Logger) error, dest string, templateContext map[string]interface{}, configGroups []libyaml.ConfigGroup, ) func(ctx context.Context) error
Execute runs the step for an asset
type Renderer ¶
type Renderer interface { Execute( rootFs root.Fs, asset api.DockerAsset, meta api.ReleaseMetadata, doWithProgress func(ch chan interface{}, debug log.Logger) error, saveDest string, templateContext map[string]interface{}, configGroups []libyaml.ConfigGroup, ) func(ctx context.Context) error }
A Renderer can execute a "docker" step in the lifecycle
func NewStep ¶
func NewStep( logger log.Logger, resolver images.PullURLResolver, saver images.ImageSaver, v *viper.Viper, bb *templates.BuilderBuilder, ) Renderer
NewStep gets a new Renderer with the default impl
Click to show internal directories.
Click to hide internal directories.