automationmodule

package
v0.0.0-...-c2cc54e Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2023 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 Hash

type Hash struct {
	// Algorithm: string, required
	Algorithm terra.StringValue `hcl:"algorithm,attr" validate:"required"`
	// Value: string, required
	Value terra.StringValue `hcl:"value,attr" validate:"required"`
}

type HashAttributes

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

func (HashAttributes) Algorithm

func (h HashAttributes) Algorithm() terra.StringValue

func (HashAttributes) InternalRef

func (h HashAttributes) InternalRef() (terra.Reference, error)

func (HashAttributes) InternalTokens

func (h HashAttributes) InternalTokens() (hclwrite.Tokens, error)

func (HashAttributes) InternalWithRef

func (h HashAttributes) InternalWithRef(ref terra.Reference) HashAttributes

func (HashAttributes) Value

func (h HashAttributes) Value() terra.StringValue

type HashState

type HashState struct {
	Algorithm string `json:"algorithm"`
	Value     string `json:"value"`
}
type ModuleLink struct {
	// Uri: string, required
	Uri terra.StringValue `hcl:"uri,attr" validate:"required"`
	// Hash: optional
	Hash *Hash `hcl:"hash,block"`
}

type ModuleLinkAttributes

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

func (ModuleLinkAttributes) Hash

func (ModuleLinkAttributes) InternalRef

func (ml ModuleLinkAttributes) InternalRef() (terra.Reference, error)

func (ModuleLinkAttributes) InternalTokens

func (ml ModuleLinkAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ModuleLinkAttributes) InternalWithRef

func (ml ModuleLinkAttributes) InternalWithRef(ref terra.Reference) ModuleLinkAttributes

func (ModuleLinkAttributes) Uri

type ModuleLinkState

type ModuleLinkState struct {
	Uri  string      `json:"uri"`
	Hash []HashState `json:"hash"`
}

type Timeouts

type Timeouts struct {
	// Create: string, optional
	Create terra.StringValue `hcl:"create,attr"`
	// Delete: string, optional
	Delete terra.StringValue `hcl:"delete,attr"`
	// Read: string, optional
	Read terra.StringValue `hcl:"read,attr"`
	// Update: string, optional
	Update terra.StringValue `hcl:"update,attr"`
}

type TimeoutsAttributes

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

func (TimeoutsAttributes) Create

func (TimeoutsAttributes) Delete

func (TimeoutsAttributes) InternalRef

func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)

func (TimeoutsAttributes) InternalTokens

func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TimeoutsAttributes) InternalWithRef

func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes

func (TimeoutsAttributes) Read

func (TimeoutsAttributes) Update

type TimeoutsState

type TimeoutsState struct {
	Create string `json:"create"`
	Delete string `json:"delete"`
	Read   string `json:"read"`
	Update string `json:"update"`
}

Jump to

Keyboard shortcuts

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