Documentation ¶
Index ¶
- type BuildTree
- func (t *BuildTree) Build() error
- func (t *BuildTree) Clean()
- func (t *BuildTree) FindLatestTag(name string) (string, error)
- func (t *BuildTree) Prepare(optFns ...PrepareOptFn) error
- func (t *BuildTree) PrintTree(noColor bool)
- func (t *BuildTree) Pull() error
- func (t *BuildTree) Push() error
- func (t *BuildTree) TryBuild() error
- func (t *BuildTree) WaitImageExist(name string, timeout time.Duration, interval time.Duration) error
- type ErrCyclicDependency
- type ErrDependencyMissing
- type ErrImageTagOutdated
- type ErrMismatchDependencyImage
- type ErrMismatchDependencyTag
- type ErrMissingCredential
- type ErrMissingTag
- type PrepareOptFn
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuildTree ¶
type BuildTree struct {
// contains filtered or unexported fields
}
BuildTree is a build tree
func ReadBuildTree ¶
func ReadBuildTree(r io.Reader, variableMap map[string]string, variableFiles []string) (*BuildTree, error)
ReadBuildTree reads a build tree from reader
func ReadBuildTreeFromFile ¶
func ReadBuildTreeFromFile(buildFile string, variableMap map[string]string, variableFiles []string) (*BuildTree, error)
ReadBuildTreeFromFile reads BuildTree from a build file
func (*BuildTree) FindLatestTag ¶ added in v1.4.0
FindLatestTag .
func (*BuildTree) Prepare ¶
func (t *BuildTree) Prepare(optFns ...PrepareOptFn) error
type ErrCyclicDependency ¶ added in v1.3.0
type ErrCyclicDependency struct {
Name string
}
func (ErrCyclicDependency) Error ¶ added in v1.3.0
func (e ErrCyclicDependency) Error() string
type ErrDependencyMissing ¶ added in v1.3.0
func (ErrDependencyMissing) Error ¶ added in v1.3.0
func (e ErrDependencyMissing) Error() string
type ErrImageTagOutdated ¶ added in v1.3.0
type ErrImageTagOutdated struct {
Name string
}
func (ErrImageTagOutdated) Error ¶ added in v1.3.0
func (e ErrImageTagOutdated) Error() string
type ErrMismatchDependencyImage ¶ added in v1.3.0
func (ErrMismatchDependencyImage) Error ¶ added in v1.3.0
func (e ErrMismatchDependencyImage) Error() string
type ErrMismatchDependencyTag ¶ added in v1.3.0
type ErrMismatchDependencyTag struct { Name string Depend string ExpectedTag string ActualTag string }
func (ErrMismatchDependencyTag) Error ¶ added in v1.3.0
func (e ErrMismatchDependencyTag) Error() string
type ErrMissingCredential ¶ added in v1.3.0
type ErrMissingCredential struct {
RegistryName string
}
func (ErrMissingCredential) Error ¶ added in v1.3.0
func (e ErrMissingCredential) Error() string
type ErrMissingTag ¶ added in v1.3.0
func (ErrMissingTag) Error ¶ added in v1.3.0
func (e ErrMissingTag) Error() string
type PrepareOptFn ¶ added in v1.6.0
type PrepareOptFn func(opt *prepareOpt)
func SkipDirtyCheck ¶ added in v1.6.0
func SkipDirtyCheck() PrepareOptFn
Click to show internal directories.
Click to hide internal directories.