Documentation ¶
Index ¶
- type Dockerfile
- func (d *Dockerfile) Condition(source string) (bool, error)
- func (d *Dockerfile) ConditionFromSCM(source string, scm scm.Scm) (bool, error)
- func (d *Dockerfile) SetParser() error
- func (d *Dockerfile) Target(source string, dryRun bool) (bool, error)
- func (d *Dockerfile) TargetFromSCM(source string, scm scm.Scm, dryRun bool) (changed bool, files []string, message string, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dockerfile ¶
type Dockerfile struct { File string `yaml:"file"` Instruction types.Instruction `yaml:"instruction"` Value string `yaml:"value"` DryRun bool // contains filtered or unexported fields }
Dockerfile is struct that holds parameters for a "Dockerfile" kind from updatecli's parsing (YAML, command and flags)
func (*Dockerfile) Condition ¶
func (d *Dockerfile) Condition(source string) (bool, error)
Condition test if the Dockerfile contains the correct key/value
func (*Dockerfile) ConditionFromSCM ¶
ConditionFromSCM run based on a file from SCM
func (*Dockerfile) SetParser ¶
func (d *Dockerfile) SetParser() error
Click to show internal directories.
Click to hide internal directories.