automationrunbook

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 ContentLink struct {
	// Uri: string, required
	Uri terra.StringValue `hcl:"uri,attr" validate:"required"`
	// Version: string, optional
	Version terra.StringValue `hcl:"version,attr"`
	// ContentLinkHash: optional
	Hash *ContentLinkHash `hcl:"hash,block"`
}

type ContentLinkAttributes

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

func (ContentLinkAttributes) Hash

func (ContentLinkAttributes) InternalRef

func (cl ContentLinkAttributes) InternalRef() (terra.Reference, error)

func (ContentLinkAttributes) InternalTokens

func (cl ContentLinkAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ContentLinkAttributes) InternalWithRef

func (ContentLinkAttributes) Uri

func (ContentLinkAttributes) Version

type ContentLinkHash

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

type ContentLinkHashAttributes

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

func (ContentLinkHashAttributes) Algorithm

func (ContentLinkHashAttributes) InternalRef

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

func (ContentLinkHashAttributes) InternalTokens

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

func (ContentLinkHashAttributes) InternalWithRef

func (ContentLinkHashAttributes) Value

type ContentLinkHashState

type ContentLinkHashState struct {
	Algorithm string `json:"algorithm"`
	Value     string `json:"value"`
}

type ContentLinkState

type ContentLinkState struct {
	Uri     string                 `json:"uri"`
	Version string                 `json:"version"`
	Hash    []ContentLinkHashState `json:"hash"`
}

type Draft

type Draft struct {
	// EditModeEnabled: bool, optional
	EditModeEnabled terra.BoolValue `hcl:"edit_mode_enabled,attr"`
	// OutputTypes: list of string, optional
	OutputTypes terra.ListValue[terra.StringValue] `hcl:"output_types,attr"`
	// ContentLink: optional
	ContentLink *ContentLink `hcl:"content_link,block"`
	// Parameters: min=0
	Parameters []Parameters `hcl:"parameters,block" validate:"min=0"`
}

type DraftAttributes

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

func (DraftAttributes) CreationTime

func (d DraftAttributes) CreationTime() terra.StringValue

func (DraftAttributes) EditModeEnabled

func (d DraftAttributes) EditModeEnabled() terra.BoolValue

func (DraftAttributes) InternalRef

func (d DraftAttributes) InternalRef() (terra.Reference, error)

func (DraftAttributes) InternalTokens

func (d DraftAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DraftAttributes) InternalWithRef

func (d DraftAttributes) InternalWithRef(ref terra.Reference) DraftAttributes

func (DraftAttributes) LastModifiedTime

func (d DraftAttributes) LastModifiedTime() terra.StringValue

func (DraftAttributes) OutputTypes

func (d DraftAttributes) OutputTypes() terra.ListValue[terra.StringValue]

func (DraftAttributes) Parameters

type DraftState

type DraftState struct {
	CreationTime     string             `json:"creation_time"`
	EditModeEnabled  bool               `json:"edit_mode_enabled"`
	LastModifiedTime string             `json:"last_modified_time"`
	OutputTypes      []string           `json:"output_types"`
	ContentLink      []ContentLinkState `json:"content_link"`
	Parameters       []ParametersState  `json:"parameters"`
}

type JobSchedule

type JobSchedule struct {
	// JobScheduleId: string, optional
	JobScheduleId terra.StringValue `hcl:"job_schedule_id,attr"`
	// Parameters: map of string, optional
	Parameters terra.MapValue[terra.StringValue] `hcl:"parameters,attr"`
	// RunOn: string, optional
	RunOn terra.StringValue `hcl:"run_on,attr"`
	// ScheduleName: string, optional
	ScheduleName terra.StringValue `hcl:"schedule_name,attr"`
}

type JobScheduleAttributes

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

func (JobScheduleAttributes) InternalRef

func (js JobScheduleAttributes) InternalRef() (terra.Reference, error)

func (JobScheduleAttributes) InternalTokens

func (js JobScheduleAttributes) InternalTokens() (hclwrite.Tokens, error)

func (JobScheduleAttributes) InternalWithRef

func (JobScheduleAttributes) JobScheduleId

func (js JobScheduleAttributes) JobScheduleId() terra.StringValue

func (JobScheduleAttributes) Parameters

func (JobScheduleAttributes) RunOn

func (JobScheduleAttributes) ScheduleName

func (js JobScheduleAttributes) ScheduleName() terra.StringValue

type JobScheduleState

type JobScheduleState struct {
	JobScheduleId string            `json:"job_schedule_id"`
	Parameters    map[string]string `json:"parameters"`
	RunOn         string            `json:"run_on"`
	ScheduleName  string            `json:"schedule_name"`
}

type Parameters

type Parameters struct {
	// DefaultValue: string, optional
	DefaultValue terra.StringValue `hcl:"default_value,attr"`
	// Key: string, required
	Key terra.StringValue `hcl:"key,attr" validate:"required"`
	// Mandatory: bool, optional
	Mandatory terra.BoolValue `hcl:"mandatory,attr"`
	// Position: number, optional
	Position terra.NumberValue `hcl:"position,attr"`
	// Type: string, required
	Type terra.StringValue `hcl:"type,attr" validate:"required"`
}

type ParametersAttributes

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

func (ParametersAttributes) DefaultValue

func (p ParametersAttributes) DefaultValue() terra.StringValue

func (ParametersAttributes) InternalRef

func (p ParametersAttributes) InternalRef() (terra.Reference, error)

func (ParametersAttributes) InternalTokens

func (p ParametersAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ParametersAttributes) InternalWithRef

func (ParametersAttributes) Key

func (ParametersAttributes) Mandatory

func (p ParametersAttributes) Mandatory() terra.BoolValue

func (ParametersAttributes) Position

func (p ParametersAttributes) Position() terra.NumberValue

func (ParametersAttributes) Type

type ParametersState

type ParametersState struct {
	DefaultValue string  `json:"default_value"`
	Key          string  `json:"key"`
	Mandatory    bool    `json:"mandatory"`
	Position     float64 `json:"position"`
	Type         string  `json:"type"`
}
type PublishContentLink struct {
	// Uri: string, required
	Uri terra.StringValue `hcl:"uri,attr" validate:"required"`
	// Version: string, optional
	Version terra.StringValue `hcl:"version,attr"`
	// PublishContentLinkHash: optional
	Hash *PublishContentLinkHash `hcl:"hash,block"`
}

type PublishContentLinkAttributes

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

func (PublishContentLinkAttributes) Hash

func (PublishContentLinkAttributes) InternalRef

func (pcl PublishContentLinkAttributes) InternalRef() (terra.Reference, error)

func (PublishContentLinkAttributes) InternalTokens

func (pcl PublishContentLinkAttributes) InternalTokens() (hclwrite.Tokens, error)

func (PublishContentLinkAttributes) InternalWithRef

func (PublishContentLinkAttributes) Uri

func (PublishContentLinkAttributes) Version

type PublishContentLinkHash

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

type PublishContentLinkHashAttributes

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

func (PublishContentLinkHashAttributes) Algorithm

func (PublishContentLinkHashAttributes) InternalRef

func (PublishContentLinkHashAttributes) InternalTokens

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

func (PublishContentLinkHashAttributes) InternalWithRef

func (PublishContentLinkHashAttributes) Value

type PublishContentLinkHashState

type PublishContentLinkHashState struct {
	Algorithm string `json:"algorithm"`
	Value     string `json:"value"`
}

type PublishContentLinkState

type PublishContentLinkState struct {
	Uri     string                        `json:"uri"`
	Version string                        `json:"version"`
	Hash    []PublishContentLinkHashState `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