google_cloud_tasks_queue

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 AppEngineRoutingOverride

type AppEngineRoutingOverride struct {
	// Instance: string, optional
	Instance terra.StringValue `hcl:"instance,attr"`
	// Service: string, optional
	Service terra.StringValue `hcl:"service,attr"`
	// Version: string, optional
	Version terra.StringValue `hcl:"version,attr"`
}

type AppEngineRoutingOverrideAttributes

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

func (AppEngineRoutingOverrideAttributes) Host

func (AppEngineRoutingOverrideAttributes) Instance

func (AppEngineRoutingOverrideAttributes) InternalRef

func (AppEngineRoutingOverrideAttributes) InternalTokens

func (aero AppEngineRoutingOverrideAttributes) InternalTokens() (hclwrite.Tokens, error)

func (AppEngineRoutingOverrideAttributes) InternalWithRef

func (AppEngineRoutingOverrideAttributes) Service

func (AppEngineRoutingOverrideAttributes) Version

type AppEngineRoutingOverrideState

type AppEngineRoutingOverrideState struct {
	Host     string `json:"host"`
	Instance string `json:"instance"`
	Service  string `json:"service"`
	Version  string `json:"version"`
}

type Args

type Args struct {
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Location: string, required
	Location terra.StringValue `hcl:"location,attr" validate:"required"`
	// Name: string, optional
	Name terra.StringValue `hcl:"name,attr"`
	// Project: string, optional
	Project terra.StringValue `hcl:"project,attr"`
	// AppEngineRoutingOverride: optional
	AppEngineRoutingOverride *AppEngineRoutingOverride `hcl:"app_engine_routing_override,block"`
	// RateLimits: optional
	RateLimits *RateLimits `hcl:"rate_limits,block"`
	// RetryConfig: optional
	RetryConfig *RetryConfig `hcl:"retry_config,block"`
	// StackdriverLoggingConfig: optional
	StackdriverLoggingConfig *StackdriverLoggingConfig `hcl:"stackdriver_logging_config,block"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
}

Args contains the configurations for google_cloud_tasks_queue.

type RateLimits

type RateLimits struct {
	// MaxConcurrentDispatches: number, optional
	MaxConcurrentDispatches terra.NumberValue `hcl:"max_concurrent_dispatches,attr"`
	// MaxDispatchesPerSecond: number, optional
	MaxDispatchesPerSecond terra.NumberValue `hcl:"max_dispatches_per_second,attr"`
}

type RateLimitsAttributes

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

func (RateLimitsAttributes) InternalRef

func (rl RateLimitsAttributes) InternalRef() (terra.Reference, error)

func (RateLimitsAttributes) InternalTokens

func (rl RateLimitsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (RateLimitsAttributes) InternalWithRef

func (rl RateLimitsAttributes) InternalWithRef(ref terra.Reference) RateLimitsAttributes

func (RateLimitsAttributes) MaxBurstSize

func (rl RateLimitsAttributes) MaxBurstSize() terra.NumberValue

func (RateLimitsAttributes) MaxConcurrentDispatches

func (rl RateLimitsAttributes) MaxConcurrentDispatches() terra.NumberValue

func (RateLimitsAttributes) MaxDispatchesPerSecond

func (rl RateLimitsAttributes) MaxDispatchesPerSecond() terra.NumberValue

type RateLimitsState

type RateLimitsState struct {
	MaxBurstSize            float64 `json:"max_burst_size"`
	MaxConcurrentDispatches float64 `json:"max_concurrent_dispatches"`
	MaxDispatchesPerSecond  float64 `json:"max_dispatches_per_second"`
}

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_cloud_tasks_queue.

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (gctq *Resource) Attributes() googleCloudTasksQueueAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (gctq *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (gctq *Resource) State() (*googleCloudTasksQueueState, bool)

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

func (*Resource) StateMust

func (gctq *Resource) StateMust() *googleCloudTasksQueueState

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

func (*Resource) Type

func (gctq *Resource) Type() string

Type returns the Terraform object type for Resource.

type RetryConfig

type RetryConfig struct {
	// MaxAttempts: number, optional
	MaxAttempts terra.NumberValue `hcl:"max_attempts,attr"`
	// MaxBackoff: string, optional
	MaxBackoff terra.StringValue `hcl:"max_backoff,attr"`
	// MaxDoublings: number, optional
	MaxDoublings terra.NumberValue `hcl:"max_doublings,attr"`
	// MaxRetryDuration: string, optional
	MaxRetryDuration terra.StringValue `hcl:"max_retry_duration,attr"`
	// MinBackoff: string, optional
	MinBackoff terra.StringValue `hcl:"min_backoff,attr"`
}

type RetryConfigAttributes

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

func (RetryConfigAttributes) InternalRef

func (rc RetryConfigAttributes) InternalRef() (terra.Reference, error)

func (RetryConfigAttributes) InternalTokens

func (rc RetryConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (RetryConfigAttributes) InternalWithRef

func (RetryConfigAttributes) MaxAttempts

func (rc RetryConfigAttributes) MaxAttempts() terra.NumberValue

func (RetryConfigAttributes) MaxBackoff

func (rc RetryConfigAttributes) MaxBackoff() terra.StringValue

func (RetryConfigAttributes) MaxDoublings

func (rc RetryConfigAttributes) MaxDoublings() terra.NumberValue

func (RetryConfigAttributes) MaxRetryDuration

func (rc RetryConfigAttributes) MaxRetryDuration() terra.StringValue

func (RetryConfigAttributes) MinBackoff

func (rc RetryConfigAttributes) MinBackoff() terra.StringValue

type RetryConfigState

type RetryConfigState struct {
	MaxAttempts      float64 `json:"max_attempts"`
	MaxBackoff       string  `json:"max_backoff"`
	MaxDoublings     float64 `json:"max_doublings"`
	MaxRetryDuration string  `json:"max_retry_duration"`
	MinBackoff       string  `json:"min_backoff"`
}

type StackdriverLoggingConfig

type StackdriverLoggingConfig struct {
	// SamplingRatio: number, required
	SamplingRatio terra.NumberValue `hcl:"sampling_ratio,attr" validate:"required"`
}

type StackdriverLoggingConfigAttributes

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

func (StackdriverLoggingConfigAttributes) InternalRef

func (StackdriverLoggingConfigAttributes) InternalTokens

func (slc StackdriverLoggingConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (StackdriverLoggingConfigAttributes) InternalWithRef

func (StackdriverLoggingConfigAttributes) SamplingRatio

type StackdriverLoggingConfigState

type StackdriverLoggingConfigState struct {
	SamplingRatio float64 `json:"sampling_ratio"`
}

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