datagluescript

package
v0.0.0-...-964ba77 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 9, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Args

type Args struct {
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Param: bool, optional
	Param terra.BoolValue `hcl:"param,attr"`
	// Value: string, required
	Value terra.StringValue `hcl:"value,attr" validate:"required"`
}

type ArgsAttributes

type ArgsAttributes struct {
	// contains filtered or unexported fields
}

func (ArgsAttributes) InternalRef

func (a ArgsAttributes) InternalRef() (terra.Reference, error)

func (ArgsAttributes) InternalTokens

func (a ArgsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ArgsAttributes) InternalWithRef

func (a ArgsAttributes) InternalWithRef(ref terra.Reference) ArgsAttributes

func (ArgsAttributes) Name

func (a ArgsAttributes) Name() terra.StringValue

func (ArgsAttributes) Param

func (a ArgsAttributes) Param() terra.BoolValue

func (ArgsAttributes) Value

func (a ArgsAttributes) Value() terra.StringValue

type ArgsState

type ArgsState struct {
	Name  string `json:"name"`
	Param bool   `json:"param"`
	Value string `json:"value"`
}

type DagEdge

type DagEdge struct {
	// Source: string, required
	Source terra.StringValue `hcl:"source,attr" validate:"required"`
	// Target: string, required
	Target terra.StringValue `hcl:"target,attr" validate:"required"`
	// TargetParameter: string, optional
	TargetParameter terra.StringValue `hcl:"target_parameter,attr"`
}

type DagEdgeAttributes

type DagEdgeAttributes struct {
	// contains filtered or unexported fields
}

func (DagEdgeAttributes) InternalRef

func (de DagEdgeAttributes) InternalRef() (terra.Reference, error)

func (DagEdgeAttributes) InternalTokens

func (de DagEdgeAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DagEdgeAttributes) InternalWithRef

func (de DagEdgeAttributes) InternalWithRef(ref terra.Reference) DagEdgeAttributes

func (DagEdgeAttributes) Source

func (de DagEdgeAttributes) Source() terra.StringValue

func (DagEdgeAttributes) Target

func (de DagEdgeAttributes) Target() terra.StringValue

func (DagEdgeAttributes) TargetParameter

func (de DagEdgeAttributes) TargetParameter() terra.StringValue

type DagEdgeState

type DagEdgeState struct {
	Source          string `json:"source"`
	Target          string `json:"target"`
	TargetParameter string `json:"target_parameter"`
}

type DagNode

type DagNode struct {
	// Id: string, required
	Id terra.StringValue `hcl:"id,attr" validate:"required"`
	// LineNumber: number, optional
	LineNumber terra.NumberValue `hcl:"line_number,attr"`
	// NodeType: string, required
	NodeType terra.StringValue `hcl:"node_type,attr" validate:"required"`
	// Args: min=1
	Args []Args `hcl:"args,block" validate:"min=1"`
}

type DagNodeAttributes

type DagNodeAttributes struct {
	// contains filtered or unexported fields
}

func (DagNodeAttributes) Args

func (DagNodeAttributes) Id

func (DagNodeAttributes) InternalRef

func (dn DagNodeAttributes) InternalRef() (terra.Reference, error)

func (DagNodeAttributes) InternalTokens

func (dn DagNodeAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DagNodeAttributes) InternalWithRef

func (dn DagNodeAttributes) InternalWithRef(ref terra.Reference) DagNodeAttributes

func (DagNodeAttributes) LineNumber

func (dn DagNodeAttributes) LineNumber() terra.NumberValue

func (DagNodeAttributes) NodeType

func (dn DagNodeAttributes) NodeType() terra.StringValue

type DagNodeState

type DagNodeState struct {
	Id         string      `json:"id"`
	LineNumber float64     `json:"line_number"`
	NodeType   string      `json:"node_type"`
	Args       []ArgsState `json:"args"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL