Documentation ¶
Index ¶
- type Action
- type ActionAttributes
- func (a ActionAttributes) Category() terra.StringValue
- func (a ActionAttributes) Configuration() terra.MapValue[terra.StringValue]
- func (a ActionAttributes) InputArtifacts() terra.ListValue[terra.StringValue]
- func (a ActionAttributes) InternalRef() (terra.Reference, error)
- func (a ActionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (a ActionAttributes) InternalWithRef(ref terra.Reference) ActionAttributes
- func (a ActionAttributes) Name() terra.StringValue
- func (a ActionAttributes) Namespace() terra.StringValue
- func (a ActionAttributes) OutputArtifacts() terra.ListValue[terra.StringValue]
- func (a ActionAttributes) Owner() terra.StringValue
- func (a ActionAttributes) Provider() terra.StringValue
- func (a ActionAttributes) Region() terra.StringValue
- func (a ActionAttributes) RoleArn() terra.StringValue
- func (a ActionAttributes) RunOrder() terra.NumberValue
- func (a ActionAttributes) Version() terra.StringValue
- type ActionState
- type ArtifactStore
- type ArtifactStoreAttributes
- func (as ArtifactStoreAttributes) EncryptionKey() terra.ListValue[EncryptionKeyAttributes]
- func (as ArtifactStoreAttributes) InternalRef() (terra.Reference, error)
- func (as ArtifactStoreAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (as ArtifactStoreAttributes) InternalWithRef(ref terra.Reference) ArtifactStoreAttributes
- func (as ArtifactStoreAttributes) Location() terra.StringValue
- func (as ArtifactStoreAttributes) Region() terra.StringValue
- func (as ArtifactStoreAttributes) Type() terra.StringValue
- type ArtifactStoreState
- type EncryptionKey
- type EncryptionKeyAttributes
- func (ek EncryptionKeyAttributes) Id() terra.StringValue
- func (ek EncryptionKeyAttributes) InternalRef() (terra.Reference, error)
- func (ek EncryptionKeyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ek EncryptionKeyAttributes) InternalWithRef(ref terra.Reference) EncryptionKeyAttributes
- func (ek EncryptionKeyAttributes) Type() terra.StringValue
- type EncryptionKeyState
- type Stage
- type StageAttributes
- func (s StageAttributes) Action() terra.ListValue[ActionAttributes]
- func (s StageAttributes) InternalRef() (terra.Reference, error)
- func (s StageAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (s StageAttributes) InternalWithRef(ref terra.Reference) StageAttributes
- func (s StageAttributes) Name() terra.StringValue
- type StageState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Action ¶
type Action struct { // Category: string, required Category terra.StringValue `hcl:"category,attr" validate:"required"` // Configuration: map of string, optional Configuration terra.MapValue[terra.StringValue] `hcl:"configuration,attr"` // InputArtifacts: list of string, optional InputArtifacts terra.ListValue[terra.StringValue] `hcl:"input_artifacts,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Namespace: string, optional Namespace terra.StringValue `hcl:"namespace,attr"` // OutputArtifacts: list of string, optional OutputArtifacts terra.ListValue[terra.StringValue] `hcl:"output_artifacts,attr"` // Owner: string, required Owner terra.StringValue `hcl:"owner,attr" validate:"required"` // Provider: string, required Provider terra.StringValue `hcl:"provider,attr" validate:"required"` // Region: string, optional Region terra.StringValue `hcl:"region,attr"` // RoleArn: string, optional RoleArn terra.StringValue `hcl:"role_arn,attr"` // RunOrder: number, optional RunOrder terra.NumberValue `hcl:"run_order,attr"` // Version: string, required Version terra.StringValue `hcl:"version,attr" validate:"required"` }
type ActionAttributes ¶
type ActionAttributes struct {
// contains filtered or unexported fields
}
func (ActionAttributes) Category ¶
func (a ActionAttributes) Category() terra.StringValue
func (ActionAttributes) Configuration ¶
func (a ActionAttributes) Configuration() terra.MapValue[terra.StringValue]
func (ActionAttributes) InputArtifacts ¶
func (a ActionAttributes) InputArtifacts() terra.ListValue[terra.StringValue]
func (ActionAttributes) InternalRef ¶
func (a ActionAttributes) InternalRef() (terra.Reference, error)
func (ActionAttributes) InternalTokens ¶
func (a ActionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ActionAttributes) InternalWithRef ¶
func (a ActionAttributes) InternalWithRef(ref terra.Reference) ActionAttributes
func (ActionAttributes) Name ¶
func (a ActionAttributes) Name() terra.StringValue
func (ActionAttributes) Namespace ¶
func (a ActionAttributes) Namespace() terra.StringValue
func (ActionAttributes) OutputArtifacts ¶
func (a ActionAttributes) OutputArtifacts() terra.ListValue[terra.StringValue]
func (ActionAttributes) Owner ¶
func (a ActionAttributes) Owner() terra.StringValue
func (ActionAttributes) Provider ¶
func (a ActionAttributes) Provider() terra.StringValue
func (ActionAttributes) Region ¶
func (a ActionAttributes) Region() terra.StringValue
func (ActionAttributes) RoleArn ¶
func (a ActionAttributes) RoleArn() terra.StringValue
func (ActionAttributes) RunOrder ¶
func (a ActionAttributes) RunOrder() terra.NumberValue
func (ActionAttributes) Version ¶
func (a ActionAttributes) Version() terra.StringValue
type ActionState ¶
type ActionState struct { Category string `json:"category"` Configuration map[string]string `json:"configuration"` InputArtifacts []string `json:"input_artifacts"` Name string `json:"name"` Namespace string `json:"namespace"` OutputArtifacts []string `json:"output_artifacts"` Owner string `json:"owner"` Provider string `json:"provider"` Region string `json:"region"` RoleArn string `json:"role_arn"` RunOrder float64 `json:"run_order"` Version string `json:"version"` }
type ArtifactStore ¶
type ArtifactStore struct { // Location: string, required Location terra.StringValue `hcl:"location,attr" validate:"required"` // Region: string, optional Region terra.StringValue `hcl:"region,attr"` // Type: string, required Type terra.StringValue `hcl:"type,attr" validate:"required"` // EncryptionKey: optional EncryptionKey *EncryptionKey `hcl:"encryption_key,block"` }
type ArtifactStoreAttributes ¶
type ArtifactStoreAttributes struct {
// contains filtered or unexported fields
}
func (ArtifactStoreAttributes) EncryptionKey ¶
func (as ArtifactStoreAttributes) EncryptionKey() terra.ListValue[EncryptionKeyAttributes]
func (ArtifactStoreAttributes) InternalRef ¶
func (as ArtifactStoreAttributes) InternalRef() (terra.Reference, error)
func (ArtifactStoreAttributes) InternalTokens ¶
func (as ArtifactStoreAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ArtifactStoreAttributes) InternalWithRef ¶
func (as ArtifactStoreAttributes) InternalWithRef(ref terra.Reference) ArtifactStoreAttributes
func (ArtifactStoreAttributes) Location ¶
func (as ArtifactStoreAttributes) Location() terra.StringValue
func (ArtifactStoreAttributes) Region ¶
func (as ArtifactStoreAttributes) Region() terra.StringValue
func (ArtifactStoreAttributes) Type ¶
func (as ArtifactStoreAttributes) Type() terra.StringValue
type ArtifactStoreState ¶
type ArtifactStoreState struct { Location string `json:"location"` Region string `json:"region"` Type string `json:"type"` EncryptionKey []EncryptionKeyState `json:"encryption_key"` }
type EncryptionKey ¶
type EncryptionKey struct { // Id: string, required Id terra.StringValue `hcl:"id,attr" validate:"required"` // Type: string, required Type terra.StringValue `hcl:"type,attr" validate:"required"` }
type EncryptionKeyAttributes ¶
type EncryptionKeyAttributes struct {
// contains filtered or unexported fields
}
func (EncryptionKeyAttributes) Id ¶
func (ek EncryptionKeyAttributes) Id() terra.StringValue
func (EncryptionKeyAttributes) InternalRef ¶
func (ek EncryptionKeyAttributes) InternalRef() (terra.Reference, error)
func (EncryptionKeyAttributes) InternalTokens ¶
func (ek EncryptionKeyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (EncryptionKeyAttributes) InternalWithRef ¶
func (ek EncryptionKeyAttributes) InternalWithRef(ref terra.Reference) EncryptionKeyAttributes
func (EncryptionKeyAttributes) Type ¶
func (ek EncryptionKeyAttributes) Type() terra.StringValue
type EncryptionKeyState ¶
type Stage ¶
type Stage struct { // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Action: min=1 Action []Action `hcl:"action,block" validate:"min=1"` }
type StageAttributes ¶
type StageAttributes struct {
// contains filtered or unexported fields
}
func (StageAttributes) Action ¶
func (s StageAttributes) Action() terra.ListValue[ActionAttributes]
func (StageAttributes) InternalRef ¶
func (s StageAttributes) InternalRef() (terra.Reference, error)
func (StageAttributes) InternalTokens ¶
func (s StageAttributes) InternalTokens() (hclwrite.Tokens, error)
func (StageAttributes) InternalWithRef ¶
func (s StageAttributes) InternalWithRef(ref terra.Reference) StageAttributes
func (StageAttributes) Name ¶
func (s StageAttributes) Name() terra.StringValue
type StageState ¶
type StageState struct { Name string `json:"name"` Action []ActionState `json:"action"` }
Click to show internal directories.
Click to hide internal directories.