codepipeline

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 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 (ActionAttributes) Namespace

func (a ActionAttributes) Namespace() terra.StringValue

func (ActionAttributes) OutputArtifacts

func (a ActionAttributes) OutputArtifacts() terra.ListValue[terra.StringValue]

func (ActionAttributes) Owner

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 (ArtifactStoreAttributes) InternalRef

func (as ArtifactStoreAttributes) InternalRef() (terra.Reference, error)

func (ArtifactStoreAttributes) InternalTokens

func (as ArtifactStoreAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ArtifactStoreAttributes) InternalWithRef

func (ArtifactStoreAttributes) Location

func (ArtifactStoreAttributes) Region

func (ArtifactStoreAttributes) Type

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 (EncryptionKeyAttributes) InternalRef

func (ek EncryptionKeyAttributes) InternalRef() (terra.Reference, error)

func (EncryptionKeyAttributes) InternalTokens

func (ek EncryptionKeyAttributes) InternalTokens() (hclwrite.Tokens, error)

func (EncryptionKeyAttributes) InternalWithRef

func (EncryptionKeyAttributes) Type

type EncryptionKeyState

type EncryptionKeyState struct {
	Id   string `json:"id"`
	Type string `json:"type"`
}

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 (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

type StageState

type StageState struct {
	Name   string        `json:"name"`
	Action []ActionState `json:"action"`
}

Jump to

Keyboard shortcuts

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