Documentation
¶
Index ¶
- func GetCopyReader(finalFile string, directory string, log logger.Log) ciutil.OnReadCloseFunc
- func GetDockerfileWriterFunc(buildRoot string, buildID cidocker.BuildID, directories []string, ...) ciutil.OnWriterFunc
- func NewPipeline(buildCache cibuildcache.BuildCache, ...) pipelines.Pipeline
- func RestoreCache(cacheRestoreCommands []string) ciutil.OnWriterFunc
- type Pipeline
- func (pipeline *Pipeline) GetNames() (key string, longName string)
- func (pipeline *Pipeline) OnPreCacheDir(ctx context.Context, buildID cidocker.BuildID, userOptions *config.UserOptions, ...) ciutil.OnDirFunc
- func (pipeline *Pipeline) Run(config *config.Config, buildID cidocker.BuildID, buildOS buildos.BuildOS, ...) pipelines.PipelineRunReturnFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCopyReader ¶
GetCopyReader returns a function that copies the contents of a reader to the given file.
func GetDockerfileWriterFunc ¶
func NewPipeline ¶
func NewPipeline(buildCache cibuildcache.BuildCache, createDockerClientFunc cidocker.CreateDockerClientFunc, fnGetBuildSystemsFunc cibuildsystem.GetBuildSystemsFunc) pipelines.Pipeline
NewPipeline creates a new pipeline
func RestoreCache ¶
func RestoreCache(cacheRestoreCommands []string) ciutil.OnWriterFunc
RestoreCache restores the data from the cache
Types ¶
type Pipeline ¶
type Pipeline struct {
// contains filtered or unexported fields
}
Pipeline represents the step to restore cache directories from a given cache
func (*Pipeline) GetNames ¶
GetNames returns the names of the pipelines . Returns a tuple , a key and a long descriptive name
func (*Pipeline) OnPreCacheDir ¶
Click to show internal directories.
Click to hide internal directories.