Documentation ¶
Index ¶
Constants ¶
View Source
const Type = "local_file"
Type is the string value of the Target type
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Action ¶
type Action struct { Artifact *Artifact Target *Target Logger logz.FieldLogger }
Action is the executor for writing a local file to disk
func (*Action) UseLogger ¶
func (a *Action) UseLogger(logger logz.FieldLogger)
UseLogger injects a logger into the target's action
type Artifact ¶
type Artifact struct { ark.RawArtifact `mapstructure:",squash"` RenderedFilePath string `json:"renderedFilePath" mapstructure:"renderedFilePath"` }
Artifact the result of a successful actions.LocalFile
func (Artifact) Cacheable ¶
Cacheable always returns false because the contents of a generated file might change depending on the configuration provided to the target at runtime
func (Artifact) LocallyCached ¶
LocallyCached always returns false because the target is not cacheable
Click to show internal directories.
Click to hide internal directories.