Documentation ¶
Index ¶
- type ApisAttributes
- func (a ApisAttributes) InternalRef() (terra.Reference, error)
- func (a ApisAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (a ApisAttributes) InternalWithRef(ref terra.Reference) ApisAttributes
- func (a ApisAttributes) Methods() terra.ListValue[ApisMethodsAttributes]
- func (a ApisAttributes) Name() terra.StringValue
- func (a ApisAttributes) Syntax() terra.StringValue
- func (a ApisAttributes) Version() terra.StringValue
- type ApisMethodsAttributes
- func (m ApisMethodsAttributes) InternalRef() (terra.Reference, error)
- func (m ApisMethodsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (m ApisMethodsAttributes) InternalWithRef(ref terra.Reference) ApisMethodsAttributes
- func (m ApisMethodsAttributes) Name() terra.StringValue
- func (m ApisMethodsAttributes) RequestType() terra.StringValue
- func (m ApisMethodsAttributes) ResponseType() terra.StringValue
- func (m ApisMethodsAttributes) Syntax() terra.StringValue
- type ApisMethodsState
- type ApisState
- type Args
- type EndpointsAttributes
- func (e EndpointsAttributes) Address() terra.StringValue
- func (e EndpointsAttributes) InternalRef() (terra.Reference, error)
- func (e EndpointsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (e EndpointsAttributes) InternalWithRef(ref terra.Reference) EndpointsAttributes
- func (e EndpointsAttributes) Name() terra.StringValue
- type EndpointsState
- type Resource
- func (ges *Resource) Attributes() googleEndpointsServiceAttributes
- func (ges *Resource) Configuration() interface{}
- func (ges *Resource) DependOn() terra.Reference
- func (ges *Resource) Dependencies() terra.Dependencies
- func (ges *Resource) ImportState(state io.Reader) error
- func (ges *Resource) LifecycleManagement() *terra.Lifecycle
- func (ges *Resource) LocalName() string
- func (ges *Resource) State() (*googleEndpointsServiceState, bool)
- func (ges *Resource) StateMust() *googleEndpointsServiceState
- func (ges *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 ApisAttributes ¶
type ApisAttributes struct {
// contains filtered or unexported fields
}
func (ApisAttributes) InternalRef ¶
func (a ApisAttributes) InternalRef() (terra.Reference, error)
func (ApisAttributes) InternalTokens ¶
func (a ApisAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ApisAttributes) InternalWithRef ¶
func (a ApisAttributes) InternalWithRef(ref terra.Reference) ApisAttributes
func (ApisAttributes) Methods ¶
func (a ApisAttributes) Methods() terra.ListValue[ApisMethodsAttributes]
func (ApisAttributes) Name ¶
func (a ApisAttributes) Name() terra.StringValue
func (ApisAttributes) Syntax ¶
func (a ApisAttributes) Syntax() terra.StringValue
func (ApisAttributes) Version ¶
func (a ApisAttributes) Version() terra.StringValue
type ApisMethodsAttributes ¶
type ApisMethodsAttributes struct {
// contains filtered or unexported fields
}
func (ApisMethodsAttributes) InternalRef ¶
func (m ApisMethodsAttributes) InternalRef() (terra.Reference, error)
func (ApisMethodsAttributes) InternalTokens ¶
func (m ApisMethodsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ApisMethodsAttributes) InternalWithRef ¶
func (m ApisMethodsAttributes) InternalWithRef(ref terra.Reference) ApisMethodsAttributes
func (ApisMethodsAttributes) Name ¶
func (m ApisMethodsAttributes) Name() terra.StringValue
func (ApisMethodsAttributes) RequestType ¶
func (m ApisMethodsAttributes) RequestType() terra.StringValue
func (ApisMethodsAttributes) ResponseType ¶
func (m ApisMethodsAttributes) ResponseType() terra.StringValue
func (ApisMethodsAttributes) Syntax ¶
func (m ApisMethodsAttributes) Syntax() terra.StringValue
type ApisMethodsState ¶
type ApisState ¶
type ApisState struct { Name string `json:"name"` Syntax string `json:"syntax"` Version string `json:"version"` Methods []ApisMethodsState `json:"methods"` }
type Args ¶
type Args struct { // GrpcConfig: string, optional GrpcConfig terra.StringValue `hcl:"grpc_config,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // OpenapiConfig: string, optional OpenapiConfig terra.StringValue `hcl:"openapi_config,attr"` // Project: string, optional Project terra.StringValue `hcl:"project,attr"` // ProtocOutputBase64: string, optional ProtocOutputBase64 terra.StringValue `hcl:"protoc_output_base64,attr"` // ServiceName: string, required ServiceName terra.StringValue `hcl:"service_name,attr" validate:"required"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for google_endpoints_service.
type EndpointsAttributes ¶
type EndpointsAttributes struct {
// contains filtered or unexported fields
}
func (EndpointsAttributes) Address ¶
func (e EndpointsAttributes) Address() terra.StringValue
func (EndpointsAttributes) InternalRef ¶
func (e EndpointsAttributes) InternalRef() (terra.Reference, error)
func (EndpointsAttributes) InternalTokens ¶
func (e EndpointsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (EndpointsAttributes) InternalWithRef ¶
func (e EndpointsAttributes) InternalWithRef(ref terra.Reference) EndpointsAttributes
func (EndpointsAttributes) Name ¶
func (e EndpointsAttributes) Name() terra.StringValue
type EndpointsState ¶
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_endpoints_service.
func (*Resource) Attributes ¶
func (ges *Resource) Attributes() googleEndpointsServiceAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (ges *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (ges *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.