google_clouddeploy_delivery_pipeline

package
v0.0.0-...-4deecce Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 5 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 {
	// Annotations: map of string, optional
	Annotations terra.MapValue[terra.StringValue] `hcl:"annotations,attr"`
	// Description: string, optional
	Description terra.StringValue `hcl:"description,attr"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Labels: map of string, optional
	Labels terra.MapValue[terra.StringValue] `hcl:"labels,attr"`
	// Location: string, required
	Location terra.StringValue `hcl:"location,attr" validate:"required"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Project: string, optional
	Project terra.StringValue `hcl:"project,attr"`
	// Suspended: bool, optional
	Suspended terra.BoolValue `hcl:"suspended,attr"`
	// SerialPipeline: optional
	SerialPipeline *SerialPipeline `hcl:"serial_pipeline,block"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
}

Args contains the configurations for google_clouddeploy_delivery_pipeline.

type ConditionAttributes

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

func (ConditionAttributes) InternalRef

func (c ConditionAttributes) InternalRef() (terra.Reference, error)

func (ConditionAttributes) InternalTokens

func (c ConditionAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ConditionAttributes) InternalWithRef

func (c ConditionAttributes) InternalWithRef(ref terra.Reference) ConditionAttributes

func (ConditionAttributes) PipelineReadyCondition

func (ConditionAttributes) TargetsPresentCondition

func (ConditionAttributes) TargetsTypeCondition

type ConditionPipelineReadyConditionAttributes

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

func (ConditionPipelineReadyConditionAttributes) InternalRef

func (ConditionPipelineReadyConditionAttributes) InternalTokens

func (ConditionPipelineReadyConditionAttributes) InternalWithRef

func (ConditionPipelineReadyConditionAttributes) Status

func (ConditionPipelineReadyConditionAttributes) UpdateTime

type ConditionPipelineReadyConditionState

type ConditionPipelineReadyConditionState struct {
	Status     bool   `json:"status"`
	UpdateTime string `json:"update_time"`
}

type ConditionState

type ConditionState struct {
	PipelineReadyCondition  []ConditionPipelineReadyConditionState  `json:"pipeline_ready_condition"`
	TargetsPresentCondition []ConditionTargetsPresentConditionState `json:"targets_present_condition"`
	TargetsTypeCondition    []ConditionTargetsTypeConditionState    `json:"targets_type_condition"`
}

type ConditionTargetsPresentConditionAttributes

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

func (ConditionTargetsPresentConditionAttributes) InternalRef

func (ConditionTargetsPresentConditionAttributes) InternalTokens

func (ConditionTargetsPresentConditionAttributes) InternalWithRef

func (ConditionTargetsPresentConditionAttributes) MissingTargets

func (ConditionTargetsPresentConditionAttributes) Status

func (ConditionTargetsPresentConditionAttributes) UpdateTime

type ConditionTargetsPresentConditionState

type ConditionTargetsPresentConditionState struct {
	MissingTargets []string `json:"missing_targets"`
	Status         bool     `json:"status"`
	UpdateTime     string   `json:"update_time"`
}

type ConditionTargetsTypeConditionAttributes

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

func (ConditionTargetsTypeConditionAttributes) ErrorDetails

func (ConditionTargetsTypeConditionAttributes) InternalRef

func (ConditionTargetsTypeConditionAttributes) InternalTokens

func (ConditionTargetsTypeConditionAttributes) InternalWithRef

func (ConditionTargetsTypeConditionAttributes) Status

type ConditionTargetsTypeConditionState

type ConditionTargetsTypeConditionState struct {
	ErrorDetails string `json:"error_details"`
	Status       bool   `json:"status"`
}

type Resource

type Resource struct {
	Name string
	Args Args

	DependsOn terra.Dependencies
	Lifecycle *terra.Lifecycle
	// contains filtered or unexported fields
}

Resource represents the Terraform resource google_clouddeploy_delivery_pipeline.

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (gcdp *Resource) Attributes() googleClouddeployDeliveryPipelineAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

func (gcdp *Resource) Configuration() interface{}

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

func (gcdp *Resource) DependOn() terra.Reference

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

func (gcdp *Resource) Dependencies() terra.Dependencies

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

func (gcdp *Resource) ImportState(state io.Reader) error

ImportState imports the given attribute values into Resource's state.

func (*Resource) LifecycleManagement

func (gcdp *Resource) LifecycleManagement() *terra.Lifecycle

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (gcdp *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (gcdp *Resource) State() (*googleClouddeployDeliveryPipelineState, bool)

State returns the state and a bool indicating if Resource has state.

func (*Resource) StateMust

func (gcdp *Resource) StateMust() *googleClouddeployDeliveryPipelineState

StateMust returns the state for Resource. Panics if the state is nil.

func (*Resource) Type

func (gcdp *Resource) Type() string

Type returns the Terraform object type for Resource.

type SerialPipeline

type SerialPipeline struct {
	// SerialPipelineStages: min=0
	Stages []SerialPipelineStages `hcl:"stages,block" validate:"min=0"`
}

type SerialPipelineAttributes

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

func (SerialPipelineAttributes) InternalRef

func (sp SerialPipelineAttributes) InternalRef() (terra.Reference, error)

func (SerialPipelineAttributes) InternalTokens

func (sp SerialPipelineAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SerialPipelineAttributes) InternalWithRef

func (SerialPipelineAttributes) Stages

type SerialPipelineStages

type SerialPipelineStages struct {
	// Profiles: list of string, optional
	Profiles terra.ListValue[terra.StringValue] `hcl:"profiles,attr"`
	// TargetId: string, optional
	TargetId terra.StringValue `hcl:"target_id,attr"`
	// SerialPipelineStagesDeployParameters: min=0
	DeployParameters []SerialPipelineStagesDeployParameters `hcl:"deploy_parameters,block" validate:"min=0"`
	// SerialPipelineStagesStrategy: optional
	Strategy *SerialPipelineStagesStrategy `hcl:"strategy,block"`
}

type SerialPipelineStages02038B58

type SerialPipelineStages02038B58 struct {
	// Deployment: string, required
	Deployment terra.StringValue `hcl:"deployment,attr" validate:"required"`
	// HttpRoute: string, required
	HttpRoute terra.StringValue `hcl:"http_route,attr" validate:"required"`
	// RouteUpdateWaitTime: string, optional
	RouteUpdateWaitTime terra.StringValue `hcl:"route_update_wait_time,attr"`
	// Service: string, required
	Service terra.StringValue `hcl:"service,attr" validate:"required"`
	// StableCutbackDuration: string, optional
	StableCutbackDuration terra.StringValue `hcl:"stable_cutback_duration,attr"`
}

type SerialPipelineStages02038B58Attributes

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

func (SerialPipelineStages02038B58Attributes) Deployment

func (SerialPipelineStages02038B58Attributes) HttpRoute

func (SerialPipelineStages02038B58Attributes) InternalRef

func (SerialPipelineStages02038B58Attributes) InternalTokens

func (SerialPipelineStages02038B58Attributes) InternalWithRef

func (SerialPipelineStages02038B58Attributes) RouteUpdateWaitTime

func (gsm SerialPipelineStages02038B58Attributes) RouteUpdateWaitTime() terra.StringValue

func (SerialPipelineStages02038B58Attributes) Service

func (SerialPipelineStages02038B58Attributes) StableCutbackDuration

func (gsm SerialPipelineStages02038B58Attributes) StableCutbackDuration() terra.StringValue

type SerialPipelineStages02038B58State

type SerialPipelineStages02038B58State struct {
	Deployment            string `json:"deployment"`
	HttpRoute             string `json:"http_route"`
	RouteUpdateWaitTime   string `json:"route_update_wait_time"`
	Service               string `json:"service"`
	StableCutbackDuration string `json:"stable_cutback_duration"`
}

type SerialPipelineStages3801A9Ba

type SerialPipelineStages3801A9Ba struct {
	// Actions: list of string, optional
	Actions terra.ListValue[terra.StringValue] `hcl:"actions,attr"`
}

type SerialPipelineStages3801A9BaAttributes

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

func (SerialPipelineStages3801A9BaAttributes) Actions

func (SerialPipelineStages3801A9BaAttributes) InternalRef

func (SerialPipelineStages3801A9BaAttributes) InternalTokens

func (SerialPipelineStages3801A9BaAttributes) InternalWithRef

type SerialPipelineStages3801A9BaState

type SerialPipelineStages3801A9BaState struct {
	Actions []string `json:"actions"`
}

type SerialPipelineStages604F3D28

type SerialPipelineStages604F3D28 struct {
	// Actions: list of string, optional
	Actions terra.ListValue[terra.StringValue] `hcl:"actions,attr"`
}

type SerialPipelineStages604F3D28Attributes

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

func (SerialPipelineStages604F3D28Attributes) Actions

func (SerialPipelineStages604F3D28Attributes) InternalRef

func (SerialPipelineStages604F3D28Attributes) InternalTokens

func (SerialPipelineStages604F3D28Attributes) InternalWithRef

type SerialPipelineStages604F3D28State

type SerialPipelineStages604F3D28State struct {
	Actions []string `json:"actions"`
}

type SerialPipelineStages78B13Fff

type SerialPipelineStages78B13Fff struct {
	// Actions: list of string, optional
	Actions terra.ListValue[terra.StringValue] `hcl:"actions,attr"`
}

type SerialPipelineStages78B13FffAttributes

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

func (SerialPipelineStages78B13FffAttributes) Actions

func (SerialPipelineStages78B13FffAttributes) InternalRef

func (SerialPipelineStages78B13FffAttributes) InternalTokens

func (SerialPipelineStages78B13FffAttributes) InternalWithRef

type SerialPipelineStages78B13FffState

type SerialPipelineStages78B13FffState struct {
	Actions []string `json:"actions"`
}

type SerialPipelineStages8Bf2B010

type SerialPipelineStages8Bf2B010 struct {
	// SerialPipelineStagesAb11F70F: min=1
	PhaseConfigs []SerialPipelineStagesAb11F70F `hcl:"phase_configs,block" validate:"min=1"`
}

type SerialPipelineStages8Bf2B010Attributes

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

func (SerialPipelineStages8Bf2B010Attributes) InternalRef

func (SerialPipelineStages8Bf2B010Attributes) InternalTokens

func (SerialPipelineStages8Bf2B010Attributes) InternalWithRef

func (SerialPipelineStages8Bf2B010Attributes) PhaseConfigs

type SerialPipelineStages8Bf2B010State

type SerialPipelineStages8Bf2B010State struct {
	PhaseConfigs []SerialPipelineStagesAb11F70FState `json:"phase_configs"`
}

type SerialPipelineStages937Fc815

type SerialPipelineStages937Fc815 struct {
	// Actions: list of string, optional
	Actions terra.ListValue[terra.StringValue] `hcl:"actions,attr"`
}

type SerialPipelineStages937Fc815Attributes

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

func (SerialPipelineStages937Fc815Attributes) Actions

func (SerialPipelineStages937Fc815Attributes) InternalRef

func (SerialPipelineStages937Fc815Attributes) InternalTokens

func (SerialPipelineStages937Fc815Attributes) InternalWithRef

type SerialPipelineStages937Fc815State

type SerialPipelineStages937Fc815State struct {
	Actions []string `json:"actions"`
}

type SerialPipelineStagesAb11F70F

type SerialPipelineStagesAb11F70F struct {
	// Percentage: number, required
	Percentage terra.NumberValue `hcl:"percentage,attr" validate:"required"`
	// PhaseId: string, required
	PhaseId terra.StringValue `hcl:"phase_id,attr" validate:"required"`
	// Profiles: list of string, optional
	Profiles terra.ListValue[terra.StringValue] `hcl:"profiles,attr"`
	// Verify: bool, optional
	Verify terra.BoolValue `hcl:"verify,attr"`
	// SerialPipelineStagesD11E18C9: optional
	Postdeploy *SerialPipelineStagesD11E18C9 `hcl:"postdeploy,block"`
	// SerialPipelineStages3801A9Ba: optional
	Predeploy *SerialPipelineStages3801A9Ba `hcl:"predeploy,block"`
}

type SerialPipelineStagesAb11F70FAttributes

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

func (SerialPipelineStagesAb11F70FAttributes) InternalRef

func (SerialPipelineStagesAb11F70FAttributes) InternalTokens

func (SerialPipelineStagesAb11F70FAttributes) InternalWithRef

func (SerialPipelineStagesAb11F70FAttributes) Percentage

func (SerialPipelineStagesAb11F70FAttributes) PhaseId

func (SerialPipelineStagesAb11F70FAttributes) Postdeploy

func (SerialPipelineStagesAb11F70FAttributes) Predeploy

func (SerialPipelineStagesAb11F70FAttributes) Profiles

func (SerialPipelineStagesAb11F70FAttributes) Verify

type SerialPipelineStagesAb11F70FState

type SerialPipelineStagesAb11F70FState struct {
	Percentage float64                             `json:"percentage"`
	PhaseId    string                              `json:"phase_id"`
	Profiles   []string                            `json:"profiles"`
	Verify     bool                                `json:"verify"`
	Postdeploy []SerialPipelineStagesD11E18C9State `json:"postdeploy"`
	Predeploy  []SerialPipelineStages3801A9BaState `json:"predeploy"`
}

type SerialPipelineStagesAttributes

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

func (SerialPipelineStagesAttributes) DeployParameters

func (SerialPipelineStagesAttributes) InternalRef

func (SerialPipelineStagesAttributes) InternalTokens

func (s SerialPipelineStagesAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SerialPipelineStagesAttributes) InternalWithRef

func (SerialPipelineStagesAttributes) Profiles

func (SerialPipelineStagesAttributes) Strategy

func (SerialPipelineStagesAttributes) TargetId

type SerialPipelineStagesB177Fec6

type SerialPipelineStagesB177Fec6 struct {
	// SerialPipelineStagesD2430Afd: optional
	CloudRun *SerialPipelineStagesD2430Afd `hcl:"cloud_run,block"`
	// SerialPipelineStagesB8Cb2C73: optional
	Kubernetes *SerialPipelineStagesB8Cb2C73 `hcl:"kubernetes,block"`
}

type SerialPipelineStagesB177Fec6Attributes

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

func (SerialPipelineStagesB177Fec6Attributes) CloudRun

func (SerialPipelineStagesB177Fec6Attributes) InternalRef

func (SerialPipelineStagesB177Fec6Attributes) InternalTokens

func (SerialPipelineStagesB177Fec6Attributes) InternalWithRef

func (SerialPipelineStagesB177Fec6Attributes) Kubernetes

type SerialPipelineStagesB177Fec6State

type SerialPipelineStagesB177Fec6State struct {
	CloudRun   []SerialPipelineStagesD2430AfdState `json:"cloud_run"`
	Kubernetes []SerialPipelineStagesB8Cb2C73State `json:"kubernetes"`
}

type SerialPipelineStagesB8Cb2C73

type SerialPipelineStagesB8Cb2C73 struct {
	// SerialPipelineStages02038B58: optional
	GatewayServiceMesh *SerialPipelineStages02038B58 `hcl:"gateway_service_mesh,block"`
	// SerialPipelineStagesCc66Ae03: optional
	ServiceNetworking *SerialPipelineStagesCc66Ae03 `hcl:"service_networking,block"`
}

type SerialPipelineStagesB8Cb2C73Attributes

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

func (SerialPipelineStagesB8Cb2C73Attributes) GatewayServiceMesh

func (SerialPipelineStagesB8Cb2C73Attributes) InternalRef

func (SerialPipelineStagesB8Cb2C73Attributes) InternalTokens

func (SerialPipelineStagesB8Cb2C73Attributes) InternalWithRef

func (SerialPipelineStagesB8Cb2C73Attributes) ServiceNetworking

type SerialPipelineStagesB8Cb2C73State

type SerialPipelineStagesB8Cb2C73State struct {
	GatewayServiceMesh []SerialPipelineStages02038B58State `json:"gateway_service_mesh"`
	ServiceNetworking  []SerialPipelineStagesCc66Ae03State `json:"service_networking"`
}

type SerialPipelineStagesC8E975Ec

type SerialPipelineStagesC8E975Ec struct {
	// Percentages: list of number, required
	Percentages terra.ListValue[terra.NumberValue] `hcl:"percentages,attr" validate:"required"`
	// Verify: bool, optional
	Verify terra.BoolValue `hcl:"verify,attr"`
	// SerialPipelineStages78B13Fff: optional
	Postdeploy *SerialPipelineStages78B13Fff `hcl:"postdeploy,block"`
	// SerialPipelineStages937Fc815: optional
	Predeploy *SerialPipelineStages937Fc815 `hcl:"predeploy,block"`
}

type SerialPipelineStagesC8E975EcAttributes

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

func (SerialPipelineStagesC8E975EcAttributes) InternalRef

func (SerialPipelineStagesC8E975EcAttributes) InternalTokens

func (SerialPipelineStagesC8E975EcAttributes) InternalWithRef

func (SerialPipelineStagesC8E975EcAttributes) Percentages

func (SerialPipelineStagesC8E975EcAttributes) Postdeploy

func (SerialPipelineStagesC8E975EcAttributes) Predeploy

func (SerialPipelineStagesC8E975EcAttributes) Verify

type SerialPipelineStagesC8E975EcState

type SerialPipelineStagesC8E975EcState struct {
	Percentages []float64                           `json:"percentages"`
	Verify      bool                                `json:"verify"`
	Postdeploy  []SerialPipelineStages78B13FffState `json:"postdeploy"`
	Predeploy   []SerialPipelineStages937Fc815State `json:"predeploy"`
}

type SerialPipelineStagesCc66Ae03

type SerialPipelineStagesCc66Ae03 struct {
	// Deployment: string, required
	Deployment terra.StringValue `hcl:"deployment,attr" validate:"required"`
	// DisablePodOverprovisioning: bool, optional
	DisablePodOverprovisioning terra.BoolValue `hcl:"disable_pod_overprovisioning,attr"`
	// Service: string, required
	Service terra.StringValue `hcl:"service,attr" validate:"required"`
}

type SerialPipelineStagesCc66Ae03Attributes

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

func (SerialPipelineStagesCc66Ae03Attributes) Deployment

func (SerialPipelineStagesCc66Ae03Attributes) DisablePodOverprovisioning

func (sn SerialPipelineStagesCc66Ae03Attributes) DisablePodOverprovisioning() terra.BoolValue

func (SerialPipelineStagesCc66Ae03Attributes) InternalRef

func (SerialPipelineStagesCc66Ae03Attributes) InternalTokens

func (SerialPipelineStagesCc66Ae03Attributes) InternalWithRef

func (SerialPipelineStagesCc66Ae03Attributes) Service

type SerialPipelineStagesCc66Ae03State

type SerialPipelineStagesCc66Ae03State struct {
	Deployment                 string `json:"deployment"`
	DisablePodOverprovisioning bool   `json:"disable_pod_overprovisioning"`
	Service                    string `json:"service"`
}

type SerialPipelineStagesD11E18C9

type SerialPipelineStagesD11E18C9 struct {
	// Actions: list of string, optional
	Actions terra.ListValue[terra.StringValue] `hcl:"actions,attr"`
}

type SerialPipelineStagesD11E18C9Attributes

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

func (SerialPipelineStagesD11E18C9Attributes) Actions

func (SerialPipelineStagesD11E18C9Attributes) InternalRef

func (SerialPipelineStagesD11E18C9Attributes) InternalTokens

func (SerialPipelineStagesD11E18C9Attributes) InternalWithRef

type SerialPipelineStagesD11E18C9State

type SerialPipelineStagesD11E18C9State struct {
	Actions []string `json:"actions"`
}

type SerialPipelineStagesD2430Afd

type SerialPipelineStagesD2430Afd struct {
	// AutomaticTrafficControl: bool, optional
	AutomaticTrafficControl terra.BoolValue `hcl:"automatic_traffic_control,attr"`
	// CanaryRevisionTags: list of string, optional
	CanaryRevisionTags terra.ListValue[terra.StringValue] `hcl:"canary_revision_tags,attr"`
	// PriorRevisionTags: list of string, optional
	PriorRevisionTags terra.ListValue[terra.StringValue] `hcl:"prior_revision_tags,attr"`
	// StableRevisionTags: list of string, optional
	StableRevisionTags terra.ListValue[terra.StringValue] `hcl:"stable_revision_tags,attr"`
}

type SerialPipelineStagesD2430AfdAttributes

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

func (SerialPipelineStagesD2430AfdAttributes) AutomaticTrafficControl

func (cr SerialPipelineStagesD2430AfdAttributes) AutomaticTrafficControl() terra.BoolValue

func (SerialPipelineStagesD2430AfdAttributes) CanaryRevisionTags

func (SerialPipelineStagesD2430AfdAttributes) InternalRef

func (SerialPipelineStagesD2430AfdAttributes) InternalTokens

func (SerialPipelineStagesD2430AfdAttributes) InternalWithRef

func (SerialPipelineStagesD2430AfdAttributes) PriorRevisionTags

func (SerialPipelineStagesD2430AfdAttributes) StableRevisionTags

type SerialPipelineStagesD2430AfdState

type SerialPipelineStagesD2430AfdState struct {
	AutomaticTrafficControl bool     `json:"automatic_traffic_control"`
	CanaryRevisionTags      []string `json:"canary_revision_tags"`
	PriorRevisionTags       []string `json:"prior_revision_tags"`
	StableRevisionTags      []string `json:"stable_revision_tags"`
}

type SerialPipelineStagesDeployParameters

type SerialPipelineStagesDeployParameters struct {
	// MatchTargetLabels: map of string, optional
	MatchTargetLabels terra.MapValue[terra.StringValue] `hcl:"match_target_labels,attr"`
	// Values: map of string, required
	Values terra.MapValue[terra.StringValue] `hcl:"values,attr" validate:"required"`
}

type SerialPipelineStagesDeployParametersAttributes

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

func (SerialPipelineStagesDeployParametersAttributes) InternalRef

func (SerialPipelineStagesDeployParametersAttributes) InternalTokens

func (SerialPipelineStagesDeployParametersAttributes) InternalWithRef

func (SerialPipelineStagesDeployParametersAttributes) MatchTargetLabels

func (SerialPipelineStagesDeployParametersAttributes) Values

type SerialPipelineStagesDeployParametersState

type SerialPipelineStagesDeployParametersState struct {
	MatchTargetLabels map[string]string `json:"match_target_labels"`
	Values            map[string]string `json:"values"`
}

type SerialPipelineStagesDf0Ea91A

type SerialPipelineStagesDf0Ea91A struct {
	// Actions: list of string, optional
	Actions terra.ListValue[terra.StringValue] `hcl:"actions,attr"`
}

type SerialPipelineStagesDf0Ea91AAttributes

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

func (SerialPipelineStagesDf0Ea91AAttributes) Actions

func (SerialPipelineStagesDf0Ea91AAttributes) InternalRef

func (SerialPipelineStagesDf0Ea91AAttributes) InternalTokens

func (SerialPipelineStagesDf0Ea91AAttributes) InternalWithRef

type SerialPipelineStagesDf0Ea91AState

type SerialPipelineStagesDf0Ea91AState struct {
	Actions []string `json:"actions"`
}

type SerialPipelineStagesState

type SerialPipelineStagesState struct {
	Profiles         []string                                    `json:"profiles"`
	TargetId         string                                      `json:"target_id"`
	DeployParameters []SerialPipelineStagesDeployParametersState `json:"deploy_parameters"`
	Strategy         []SerialPipelineStagesStrategyState         `json:"strategy"`
}

type SerialPipelineStagesStrategy

type SerialPipelineStagesStrategy struct {
	// SerialPipelineStagesStrategyCanary: optional
	Canary *SerialPipelineStagesStrategyCanary `hcl:"canary,block"`
	// SerialPipelineStagesStrategyStandard: optional
	Standard *SerialPipelineStagesStrategyStandard `hcl:"standard,block"`
}

type SerialPipelineStagesStrategyAttributes

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

func (SerialPipelineStagesStrategyAttributes) Canary

func (SerialPipelineStagesStrategyAttributes) InternalRef

func (SerialPipelineStagesStrategyAttributes) InternalTokens

func (SerialPipelineStagesStrategyAttributes) InternalWithRef

func (SerialPipelineStagesStrategyAttributes) Standard

type SerialPipelineStagesStrategyCanary

type SerialPipelineStagesStrategyCanary struct {
	// SerialPipelineStagesC8E975Ec: optional
	CanaryDeployment *SerialPipelineStagesC8E975Ec `hcl:"canary_deployment,block"`
	// SerialPipelineStages8Bf2B010: optional
	CustomCanaryDeployment *SerialPipelineStages8Bf2B010 `hcl:"custom_canary_deployment,block"`
	// SerialPipelineStagesB177Fec6: optional
	RuntimeConfig *SerialPipelineStagesB177Fec6 `hcl:"runtime_config,block"`
}

type SerialPipelineStagesStrategyCanaryAttributes

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

func (SerialPipelineStagesStrategyCanaryAttributes) CanaryDeployment

func (SerialPipelineStagesStrategyCanaryAttributes) CustomCanaryDeployment

func (SerialPipelineStagesStrategyCanaryAttributes) InternalRef

func (SerialPipelineStagesStrategyCanaryAttributes) InternalTokens

func (SerialPipelineStagesStrategyCanaryAttributes) InternalWithRef

func (SerialPipelineStagesStrategyCanaryAttributes) RuntimeConfig

type SerialPipelineStagesStrategyCanaryState

type SerialPipelineStagesStrategyCanaryState struct {
	CanaryDeployment       []SerialPipelineStagesC8E975EcState `json:"canary_deployment"`
	CustomCanaryDeployment []SerialPipelineStages8Bf2B010State `json:"custom_canary_deployment"`
	RuntimeConfig          []SerialPipelineStagesB177Fec6State `json:"runtime_config"`
}

type SerialPipelineStagesStrategyStandard

type SerialPipelineStagesStrategyStandard struct {
	// Verify: bool, optional
	Verify terra.BoolValue `hcl:"verify,attr"`
	// SerialPipelineStagesDf0Ea91A: optional
	Postdeploy *SerialPipelineStagesDf0Ea91A `hcl:"postdeploy,block"`
	// SerialPipelineStages604F3D28: optional
	Predeploy *SerialPipelineStages604F3D28 `hcl:"predeploy,block"`
}

type SerialPipelineStagesStrategyStandardAttributes

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

func (SerialPipelineStagesStrategyStandardAttributes) InternalRef

func (SerialPipelineStagesStrategyStandardAttributes) InternalTokens

func (SerialPipelineStagesStrategyStandardAttributes) InternalWithRef

func (SerialPipelineStagesStrategyStandardAttributes) Postdeploy

func (SerialPipelineStagesStrategyStandardAttributes) Predeploy

func (SerialPipelineStagesStrategyStandardAttributes) Verify

type SerialPipelineStagesStrategyStandardState

type SerialPipelineStagesStrategyStandardState struct {
	Verify     bool                                `json:"verify"`
	Postdeploy []SerialPipelineStagesDf0Ea91AState `json:"postdeploy"`
	Predeploy  []SerialPipelineStages604F3D28State `json:"predeploy"`
}

type SerialPipelineStagesStrategyState

type SerialPipelineStagesStrategyState struct {
	Canary   []SerialPipelineStagesStrategyCanaryState   `json:"canary"`
	Standard []SerialPipelineStagesStrategyStandardState `json:"standard"`
}

type SerialPipelineState

type SerialPipelineState struct {
	Stages []SerialPipelineStagesState `json:"stages"`
}

type Timeouts

type Timeouts struct {
	// Create: string, optional
	Create terra.StringValue `hcl:"create,attr"`
	// Delete: string, optional
	Delete terra.StringValue `hcl:"delete,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) Update

type TimeoutsState

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

Jump to

Keyboard shortcuts

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