Documentation ¶
Index ¶
- type DataArgs
- type DataSource
- type DataWorkloadPropertiesAttributes
- func (wp DataWorkloadPropertiesAttributes) GcpProject() terra.StringValue
- func (wp DataWorkloadPropertiesAttributes) InternalRef() (terra.Reference, error)
- func (wp DataWorkloadPropertiesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (wp DataWorkloadPropertiesAttributes) InternalWithRef(ref terra.Reference) DataWorkloadPropertiesAttributes
- func (wp DataWorkloadPropertiesAttributes) Location() terra.StringValue
- func (wp DataWorkloadPropertiesAttributes) Zone() terra.StringValue
- type DataWorkloadPropertiesState
- type DataWorkloadReferenceAttributes
- func (wr DataWorkloadReferenceAttributes) InternalRef() (terra.Reference, error)
- func (wr DataWorkloadReferenceAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (wr DataWorkloadReferenceAttributes) InternalWithRef(ref terra.Reference) DataWorkloadReferenceAttributes
- func (wr DataWorkloadReferenceAttributes) Uri() terra.StringValue
- type DataWorkloadReferenceState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DataArgs ¶
type DataArgs struct { // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Location: string, required Location terra.StringValue `hcl:"location,attr" validate:"required"` // Project: string, optional Project terra.StringValue `hcl:"project,attr"` // WorkloadUri: string, required WorkloadUri terra.StringValue `hcl:"workload_uri,attr" validate:"required"` }
DataArgs contains the configurations for google_apphub_discovered_workload.
type DataSource ¶
DataSource represents the Terraform data resource google_apphub_discovered_workload.
func Data ¶
func Data(name string, args DataArgs) *DataSource
Data creates a new instance of DataSource.
func (*DataSource) Attributes ¶
func (gadw *DataSource) Attributes() dataGoogleApphubDiscoveredWorkloadAttributes
Attributes returns the attributes for DataSource.
func (*DataSource) Configuration ¶
func (gadw *DataSource) Configuration() interface{}
Configuration returns the configuration (args) for DataSource.
func (*DataSource) DataSource ¶
func (gadw *DataSource) DataSource() string
DataSource returns the Terraform object type for DataSource.
func (*DataSource) LocalName ¶
func (gadw *DataSource) LocalName() string
LocalName returns the local name for DataSource.
type DataWorkloadPropertiesAttributes ¶
type DataWorkloadPropertiesAttributes struct {
// contains filtered or unexported fields
}
func (DataWorkloadPropertiesAttributes) GcpProject ¶
func (wp DataWorkloadPropertiesAttributes) GcpProject() terra.StringValue
func (DataWorkloadPropertiesAttributes) InternalRef ¶
func (wp DataWorkloadPropertiesAttributes) InternalRef() (terra.Reference, error)
func (DataWorkloadPropertiesAttributes) InternalTokens ¶
func (wp DataWorkloadPropertiesAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataWorkloadPropertiesAttributes) InternalWithRef ¶
func (wp DataWorkloadPropertiesAttributes) InternalWithRef(ref terra.Reference) DataWorkloadPropertiesAttributes
func (DataWorkloadPropertiesAttributes) Location ¶
func (wp DataWorkloadPropertiesAttributes) Location() terra.StringValue
func (DataWorkloadPropertiesAttributes) Zone ¶
func (wp DataWorkloadPropertiesAttributes) Zone() terra.StringValue
type DataWorkloadReferenceAttributes ¶
type DataWorkloadReferenceAttributes struct {
// contains filtered or unexported fields
}
func (DataWorkloadReferenceAttributes) InternalRef ¶
func (wr DataWorkloadReferenceAttributes) InternalRef() (terra.Reference, error)
func (DataWorkloadReferenceAttributes) InternalTokens ¶
func (wr DataWorkloadReferenceAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataWorkloadReferenceAttributes) InternalWithRef ¶
func (wr DataWorkloadReferenceAttributes) InternalWithRef(ref terra.Reference) DataWorkloadReferenceAttributes
func (DataWorkloadReferenceAttributes) Uri ¶
func (wr DataWorkloadReferenceAttributes) Uri() terra.StringValue
type DataWorkloadReferenceState ¶
type DataWorkloadReferenceState struct {
Uri string `json:"uri"`
}
Click to show internal directories.
Click to hide internal directories.