Documentation ¶
Index ¶
- type Args
- type GatewayConfig
- type GatewayConfigAttributes
- func (gc GatewayConfigAttributes) BackendConfig() terra.ListValue[GatewayConfigBackendConfigAttributes]
- func (gc GatewayConfigAttributes) InternalRef() (terra.Reference, error)
- func (gc GatewayConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (gc GatewayConfigAttributes) InternalWithRef(ref terra.Reference) GatewayConfigAttributes
- type GatewayConfigBackendConfig
- type GatewayConfigBackendConfigAttributes
- func (bc GatewayConfigBackendConfigAttributes) GoogleServiceAccount() terra.StringValue
- func (bc GatewayConfigBackendConfigAttributes) InternalRef() (terra.Reference, error)
- func (bc GatewayConfigBackendConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (bc GatewayConfigBackendConfigAttributes) InternalWithRef(ref terra.Reference) GatewayConfigBackendConfigAttributes
- type GatewayConfigBackendConfigState
- type GatewayConfigState
- type GrpcServices
- type GrpcServicesAttributes
- func (gs GrpcServicesAttributes) FileDescriptorSet() terra.ListValue[GrpcServicesFileDescriptorSetAttributes]
- func (gs GrpcServicesAttributes) InternalRef() (terra.Reference, error)
- func (gs GrpcServicesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (gs GrpcServicesAttributes) InternalWithRef(ref terra.Reference) GrpcServicesAttributes
- func (gs GrpcServicesAttributes) Source() terra.ListValue[GrpcServicesSourceAttributes]
- type GrpcServicesFileDescriptorSet
- type GrpcServicesFileDescriptorSetAttributes
- func (fds GrpcServicesFileDescriptorSetAttributes) Contents() terra.StringValue
- func (fds GrpcServicesFileDescriptorSetAttributes) InternalRef() (terra.Reference, error)
- func (fds GrpcServicesFileDescriptorSetAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (fds GrpcServicesFileDescriptorSetAttributes) InternalWithRef(ref terra.Reference) GrpcServicesFileDescriptorSetAttributes
- func (fds GrpcServicesFileDescriptorSetAttributes) Path() terra.StringValue
- type GrpcServicesFileDescriptorSetState
- type GrpcServicesSource
- type GrpcServicesSourceAttributes
- func (s GrpcServicesSourceAttributes) Contents() terra.StringValue
- func (s GrpcServicesSourceAttributes) InternalRef() (terra.Reference, error)
- func (s GrpcServicesSourceAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (s GrpcServicesSourceAttributes) InternalWithRef(ref terra.Reference) GrpcServicesSourceAttributes
- func (s GrpcServicesSourceAttributes) Path() terra.StringValue
- type GrpcServicesSourceState
- type GrpcServicesState
- type ManagedServiceConfigs
- type ManagedServiceConfigsAttributes
- func (msc ManagedServiceConfigsAttributes) Contents() terra.StringValue
- func (msc ManagedServiceConfigsAttributes) InternalRef() (terra.Reference, error)
- func (msc ManagedServiceConfigsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (msc ManagedServiceConfigsAttributes) InternalWithRef(ref terra.Reference) ManagedServiceConfigsAttributes
- func (msc ManagedServiceConfigsAttributes) Path() terra.StringValue
- type ManagedServiceConfigsState
- type OpenapiDocuments
- type OpenapiDocumentsAttributes
- func (od OpenapiDocumentsAttributes) Document() terra.ListValue[OpenapiDocumentsDocumentAttributes]
- func (od OpenapiDocumentsAttributes) InternalRef() (terra.Reference, error)
- func (od OpenapiDocumentsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (od OpenapiDocumentsAttributes) InternalWithRef(ref terra.Reference) OpenapiDocumentsAttributes
- type OpenapiDocumentsDocument
- type OpenapiDocumentsDocumentAttributes
- func (d OpenapiDocumentsDocumentAttributes) Contents() terra.StringValue
- func (d OpenapiDocumentsDocumentAttributes) InternalRef() (terra.Reference, error)
- func (d OpenapiDocumentsDocumentAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (d OpenapiDocumentsDocumentAttributes) InternalWithRef(ref terra.Reference) OpenapiDocumentsDocumentAttributes
- func (d OpenapiDocumentsDocumentAttributes) Path() terra.StringValue
- type OpenapiDocumentsDocumentState
- type OpenapiDocumentsState
- type Resource
- func (gagac *Resource) Attributes() googleApiGatewayApiConfigAttributes
- func (gagac *Resource) Configuration() interface{}
- func (gagac *Resource) DependOn() terra.Reference
- func (gagac *Resource) Dependencies() terra.Dependencies
- func (gagac *Resource) ImportState(state io.Reader) error
- func (gagac *Resource) LifecycleManagement() *terra.Lifecycle
- func (gagac *Resource) LocalName() string
- func (gagac *Resource) State() (*googleApiGatewayApiConfigState, bool)
- func (gagac *Resource) StateMust() *googleApiGatewayApiConfigState
- func (gagac *Resource) Type() string
- type Timeouts
- type TimeoutsAttributes
- func (t TimeoutsAttributes) Create() terra.StringValue
- func (t TimeoutsAttributes) Delete() terra.StringValue
- func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
- func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
- func (t TimeoutsAttributes) Update() terra.StringValue
- type TimeoutsState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // Api: string, required Api terra.StringValue `hcl:"api,attr" validate:"required"` // ApiConfigId: string, optional ApiConfigId terra.StringValue `hcl:"api_config_id,attr"` // ApiConfigIdPrefix: string, optional ApiConfigIdPrefix terra.StringValue `hcl:"api_config_id_prefix,attr"` // DisplayName: string, optional DisplayName terra.StringValue `hcl:"display_name,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Labels: map of string, optional Labels terra.MapValue[terra.StringValue] `hcl:"labels,attr"` // Project: string, optional Project terra.StringValue `hcl:"project,attr"` // GatewayConfig: optional GatewayConfig *GatewayConfig `hcl:"gateway_config,block"` // GrpcServices: min=0 GrpcServices []GrpcServices `hcl:"grpc_services,block" validate:"min=0"` // ManagedServiceConfigs: min=0 ManagedServiceConfigs []ManagedServiceConfigs `hcl:"managed_service_configs,block" validate:"min=0"` // OpenapiDocuments: min=0 OpenapiDocuments []OpenapiDocuments `hcl:"openapi_documents,block" validate:"min=0"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for google_api_gateway_api_config.
type GatewayConfig ¶
type GatewayConfig struct { // GatewayConfigBackendConfig: required BackendConfig *GatewayConfigBackendConfig `hcl:"backend_config,block" validate:"required"` }
type GatewayConfigAttributes ¶
type GatewayConfigAttributes struct {
// contains filtered or unexported fields
}
func (GatewayConfigAttributes) BackendConfig ¶
func (gc GatewayConfigAttributes) BackendConfig() terra.ListValue[GatewayConfigBackendConfigAttributes]
func (GatewayConfigAttributes) InternalRef ¶
func (gc GatewayConfigAttributes) InternalRef() (terra.Reference, error)
func (GatewayConfigAttributes) InternalTokens ¶
func (gc GatewayConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (GatewayConfigAttributes) InternalWithRef ¶
func (gc GatewayConfigAttributes) InternalWithRef(ref terra.Reference) GatewayConfigAttributes
type GatewayConfigBackendConfig ¶
type GatewayConfigBackendConfig struct { // GoogleServiceAccount: string, required GoogleServiceAccount terra.StringValue `hcl:"google_service_account,attr" validate:"required"` }
type GatewayConfigBackendConfigAttributes ¶
type GatewayConfigBackendConfigAttributes struct {
// contains filtered or unexported fields
}
func (GatewayConfigBackendConfigAttributes) GoogleServiceAccount ¶
func (bc GatewayConfigBackendConfigAttributes) GoogleServiceAccount() terra.StringValue
func (GatewayConfigBackendConfigAttributes) InternalRef ¶
func (bc GatewayConfigBackendConfigAttributes) InternalRef() (terra.Reference, error)
func (GatewayConfigBackendConfigAttributes) InternalTokens ¶
func (bc GatewayConfigBackendConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (GatewayConfigBackendConfigAttributes) InternalWithRef ¶
func (bc GatewayConfigBackendConfigAttributes) InternalWithRef(ref terra.Reference) GatewayConfigBackendConfigAttributes
type GatewayConfigBackendConfigState ¶
type GatewayConfigBackendConfigState struct {
GoogleServiceAccount string `json:"google_service_account"`
}
type GatewayConfigState ¶
type GatewayConfigState struct {
BackendConfig []GatewayConfigBackendConfigState `json:"backend_config"`
}
type GrpcServices ¶
type GrpcServices struct { // GrpcServicesFileDescriptorSet: required FileDescriptorSet *GrpcServicesFileDescriptorSet `hcl:"file_descriptor_set,block" validate:"required"` // GrpcServicesSource: min=0 Source []GrpcServicesSource `hcl:"source,block" validate:"min=0"` }
type GrpcServicesAttributes ¶
type GrpcServicesAttributes struct {
// contains filtered or unexported fields
}
func (GrpcServicesAttributes) FileDescriptorSet ¶
func (gs GrpcServicesAttributes) FileDescriptorSet() terra.ListValue[GrpcServicesFileDescriptorSetAttributes]
func (GrpcServicesAttributes) InternalRef ¶
func (gs GrpcServicesAttributes) InternalRef() (terra.Reference, error)
func (GrpcServicesAttributes) InternalTokens ¶
func (gs GrpcServicesAttributes) InternalTokens() (hclwrite.Tokens, error)
func (GrpcServicesAttributes) InternalWithRef ¶
func (gs GrpcServicesAttributes) InternalWithRef(ref terra.Reference) GrpcServicesAttributes
func (GrpcServicesAttributes) Source ¶
func (gs GrpcServicesAttributes) Source() terra.ListValue[GrpcServicesSourceAttributes]
type GrpcServicesFileDescriptorSet ¶
type GrpcServicesFileDescriptorSet struct { // Contents: string, required Contents terra.StringValue `hcl:"contents,attr" validate:"required"` // Path: string, required Path terra.StringValue `hcl:"path,attr" validate:"required"` }
type GrpcServicesFileDescriptorSetAttributes ¶
type GrpcServicesFileDescriptorSetAttributes struct {
// contains filtered or unexported fields
}
func (GrpcServicesFileDescriptorSetAttributes) Contents ¶
func (fds GrpcServicesFileDescriptorSetAttributes) Contents() terra.StringValue
func (GrpcServicesFileDescriptorSetAttributes) InternalRef ¶
func (fds GrpcServicesFileDescriptorSetAttributes) InternalRef() (terra.Reference, error)
func (GrpcServicesFileDescriptorSetAttributes) InternalTokens ¶
func (fds GrpcServicesFileDescriptorSetAttributes) InternalTokens() (hclwrite.Tokens, error)
func (GrpcServicesFileDescriptorSetAttributes) InternalWithRef ¶
func (fds GrpcServicesFileDescriptorSetAttributes) InternalWithRef(ref terra.Reference) GrpcServicesFileDescriptorSetAttributes
func (GrpcServicesFileDescriptorSetAttributes) Path ¶
func (fds GrpcServicesFileDescriptorSetAttributes) Path() terra.StringValue
type GrpcServicesSource ¶
type GrpcServicesSource struct { // Contents: string, required Contents terra.StringValue `hcl:"contents,attr" validate:"required"` // Path: string, required Path terra.StringValue `hcl:"path,attr" validate:"required"` }
type GrpcServicesSourceAttributes ¶
type GrpcServicesSourceAttributes struct {
// contains filtered or unexported fields
}
func (GrpcServicesSourceAttributes) Contents ¶
func (s GrpcServicesSourceAttributes) Contents() terra.StringValue
func (GrpcServicesSourceAttributes) InternalRef ¶
func (s GrpcServicesSourceAttributes) InternalRef() (terra.Reference, error)
func (GrpcServicesSourceAttributes) InternalTokens ¶
func (s GrpcServicesSourceAttributes) InternalTokens() (hclwrite.Tokens, error)
func (GrpcServicesSourceAttributes) InternalWithRef ¶
func (s GrpcServicesSourceAttributes) InternalWithRef(ref terra.Reference) GrpcServicesSourceAttributes
func (GrpcServicesSourceAttributes) Path ¶
func (s GrpcServicesSourceAttributes) Path() terra.StringValue
type GrpcServicesSourceState ¶
type GrpcServicesState ¶
type GrpcServicesState struct { FileDescriptorSet []GrpcServicesFileDescriptorSetState `json:"file_descriptor_set"` Source []GrpcServicesSourceState `json:"source"` }
type ManagedServiceConfigs ¶
type ManagedServiceConfigs struct { // Contents: string, required Contents terra.StringValue `hcl:"contents,attr" validate:"required"` // Path: string, required Path terra.StringValue `hcl:"path,attr" validate:"required"` }
type ManagedServiceConfigsAttributes ¶
type ManagedServiceConfigsAttributes struct {
// contains filtered or unexported fields
}
func (ManagedServiceConfigsAttributes) Contents ¶
func (msc ManagedServiceConfigsAttributes) Contents() terra.StringValue
func (ManagedServiceConfigsAttributes) InternalRef ¶
func (msc ManagedServiceConfigsAttributes) InternalRef() (terra.Reference, error)
func (ManagedServiceConfigsAttributes) InternalTokens ¶
func (msc ManagedServiceConfigsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ManagedServiceConfigsAttributes) InternalWithRef ¶
func (msc ManagedServiceConfigsAttributes) InternalWithRef(ref terra.Reference) ManagedServiceConfigsAttributes
func (ManagedServiceConfigsAttributes) Path ¶
func (msc ManagedServiceConfigsAttributes) Path() terra.StringValue
type OpenapiDocuments ¶
type OpenapiDocuments struct { // OpenapiDocumentsDocument: required Document *OpenapiDocumentsDocument `hcl:"document,block" validate:"required"` }
type OpenapiDocumentsAttributes ¶
type OpenapiDocumentsAttributes struct {
// contains filtered or unexported fields
}
func (OpenapiDocumentsAttributes) Document ¶
func (od OpenapiDocumentsAttributes) Document() terra.ListValue[OpenapiDocumentsDocumentAttributes]
func (OpenapiDocumentsAttributes) InternalRef ¶
func (od OpenapiDocumentsAttributes) InternalRef() (terra.Reference, error)
func (OpenapiDocumentsAttributes) InternalTokens ¶
func (od OpenapiDocumentsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (OpenapiDocumentsAttributes) InternalWithRef ¶
func (od OpenapiDocumentsAttributes) InternalWithRef(ref terra.Reference) OpenapiDocumentsAttributes
type OpenapiDocumentsDocument ¶
type OpenapiDocumentsDocument struct { // Contents: string, required Contents terra.StringValue `hcl:"contents,attr" validate:"required"` // Path: string, required Path terra.StringValue `hcl:"path,attr" validate:"required"` }
type OpenapiDocumentsDocumentAttributes ¶
type OpenapiDocumentsDocumentAttributes struct {
// contains filtered or unexported fields
}
func (OpenapiDocumentsDocumentAttributes) Contents ¶
func (d OpenapiDocumentsDocumentAttributes) Contents() terra.StringValue
func (OpenapiDocumentsDocumentAttributes) InternalRef ¶
func (d OpenapiDocumentsDocumentAttributes) InternalRef() (terra.Reference, error)
func (OpenapiDocumentsDocumentAttributes) InternalTokens ¶
func (d OpenapiDocumentsDocumentAttributes) InternalTokens() (hclwrite.Tokens, error)
func (OpenapiDocumentsDocumentAttributes) InternalWithRef ¶
func (d OpenapiDocumentsDocumentAttributes) InternalWithRef(ref terra.Reference) OpenapiDocumentsDocumentAttributes
func (OpenapiDocumentsDocumentAttributes) Path ¶
func (d OpenapiDocumentsDocumentAttributes) Path() terra.StringValue
type OpenapiDocumentsState ¶
type OpenapiDocumentsState struct {
Document []OpenapiDocumentsDocumentState `json:"document"`
}
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_api_gateway_api_config.
func (*Resource) Attributes ¶
func (gagac *Resource) Attributes() googleApiGatewayApiConfigAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (gagac *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (gagac *Resource) Dependencies() terra.Dependencies
Dependencies returns the list of resources Resource depends_on.
func (*Resource) ImportState ¶
ImportState imports the given attribute values into Resource's state.
func (*Resource) LifecycleManagement ¶
LifecycleManagement returns the lifecycle block for Resource.
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 (t TimeoutsAttributes) Create() terra.StringValue
func (TimeoutsAttributes) Delete ¶
func (t TimeoutsAttributes) Delete() terra.StringValue
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 ¶
func (t TimeoutsAttributes) Update() terra.StringValue
type TimeoutsState ¶
Click to show internal directories.
Click to hide internal directories.