Documentation ¶
Index ¶
- type ContainerImagesBuildScript
- func (t *ContainerImagesBuildScript) DirectoryDetect(dir string) (services map[string][]transformertypes.Artifact, err error)
- func (t *ContainerImagesBuildScript) GetConfig() (transformertypes.Transformer, *environment.Environment)
- func (t *ContainerImagesBuildScript) Init(tc transformertypes.Transformer, env *environment.Environment) (err error)
- func (t *ContainerImagesBuildScript) Transform(newArtifacts []transformertypes.Artifact, ...) ([]transformertypes.PathMapping, []transformertypes.Artifact, error)
- type ContainerImagesPushScript
- func (t *ContainerImagesPushScript) DirectoryDetect(dir string) (services map[string][]transformertypes.Artifact, err error)
- func (t *ContainerImagesPushScript) GetConfig() (transformertypes.Transformer, *environment.Environment)
- func (t *ContainerImagesPushScript) Init(tc transformertypes.Transformer, env *environment.Environment) (err error)
- func (t *ContainerImagesPushScript) Transform(newArtifacts []transformertypes.Artifact, ...) ([]transformertypes.PathMapping, []transformertypes.Artifact, error)
- type ImageBuildTemplateConfig
- type ImagePushTemplateConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContainerImagesBuildScript ¶
type ContainerImagesBuildScript struct { Config transformertypes.Transformer Env *environment.Environment }
ContainerImagesBuildScript implements Transformer interface
func (*ContainerImagesBuildScript) DirectoryDetect ¶
func (t *ContainerImagesBuildScript) DirectoryDetect(dir string) (services map[string][]transformertypes.Artifact, err error)
DirectoryDetect runs detect in each sub directory
func (*ContainerImagesBuildScript) GetConfig ¶
func (t *ContainerImagesBuildScript) GetConfig() (transformertypes.Transformer, *environment.Environment)
GetConfig returns the transformer config
func (*ContainerImagesBuildScript) Init ¶
func (t *ContainerImagesBuildScript) Init(tc transformertypes.Transformer, env *environment.Environment) (err error)
Init Initializes the transformer
func (*ContainerImagesBuildScript) Transform ¶
func (t *ContainerImagesBuildScript) Transform(newArtifacts []transformertypes.Artifact, oldArtifacts []transformertypes.Artifact) ([]transformertypes.PathMapping, []transformertypes.Artifact, error)
Transform transforms the artifacts
type ContainerImagesPushScript ¶
type ContainerImagesPushScript struct { Config transformertypes.Transformer Env *environment.Environment }
ContainerImagesPushScript implements Transformer interface
func (*ContainerImagesPushScript) DirectoryDetect ¶
func (t *ContainerImagesPushScript) DirectoryDetect(dir string) (services map[string][]transformertypes.Artifact, err error)
DirectoryDetect runs detect in each sub directory
func (*ContainerImagesPushScript) GetConfig ¶
func (t *ContainerImagesPushScript) GetConfig() (transformertypes.Transformer, *environment.Environment)
GetConfig returns the transformer config
func (*ContainerImagesPushScript) Init ¶
func (t *ContainerImagesPushScript) Init(tc transformertypes.Transformer, env *environment.Environment) (err error)
Init Initializes the transformer
func (*ContainerImagesPushScript) Transform ¶
func (t *ContainerImagesPushScript) Transform(newArtifacts []transformertypes.Artifact, oldArtifacts []transformertypes.Artifact) ([]transformertypes.PathMapping, []transformertypes.Artifact, error)
Transform transforms the artifacts
type ImageBuildTemplateConfig ¶
ImageBuildTemplateConfig represents template config used by ImagePush script
type ImagePushTemplateConfig ¶
ImagePushTemplateConfig represents template config used by ImagePush script
Click to show internal directories.
Click to hide internal directories.