Documentation ¶
Index ¶
- 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 DockerfileImagePushScriptConfig
- type ImagePushTemplateConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContainerImagesPushScript ¶
type ContainerImagesPushScript struct { Config transformertypes.Transformer Env *environment.Environment DockerfileImagePushScriptConfig *DockerfileImagePushScriptConfig }
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, alreadySeenArtifacts []transformertypes.Artifact) ([]transformertypes.PathMapping, []transformertypes.Artifact, error)
Transform transforms the artifacts
type DockerfileImagePushScriptConfig ¶ added in v0.3.5
type DockerfileImagePushScriptConfig struct {
OutputPath string `yaml:"outputPath"`
}
DockerfileImagePushScriptConfig stores the transformer specific configuration
type ImagePushTemplateConfig ¶
ImagePushTemplateConfig represents template config used by ImagePush script
Click to show internal directories.
Click to hide internal directories.