Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ComputedAttrs ¶
type ComputedAttrs struct {
File string `hcl:"file,attr"`
Variables *string `hcl:"variables,attr"`
LibraryDir []string `hcl:"library_dir,optional"`
Format string `hcl:"format,optional"`
}
ComputedAttrs used to store the computed attributes of a local_exec target
type Target ¶
type Target struct {
*base.RawTarget `json:"-"`
File hcl.Expression `hcl:"file,attr"`
Variables hcl.Expression `hcl:"variables,attr"`
LibraryDir hcl.Expression `hcl:"library_dir,optional"`
Format hcl.Expression `hcl:"format,optional"`
}
Target defines the required and optional attributes for defining a jsonnetutils execution
func (Target) Attributes ¶
Attributes return combined rawTarget.Attributes with typedTarget.Attributes.
func (Target) Build ¶
Build constructs a jsonnet manifest from the information provided in the jsonnet target
func (Target) ComputedAttrs ¶
func (t Target) ComputedAttrs() *ComputedAttrs
ComputedAttrs returns a pointer to computed attributes from the state store. If attributes are not in the state store it will create a new pointer and insert it into the state store.
func (Target) RenderedFilePath ¶
RenderedFilePath path of ark artifacts directory where the manifest will be written to
Click to show internal directories.
Click to hide internal directories.