Documentation ¶
Index ¶
- Constants
- func NewComputeBackendServiceConverter(provider *schema.Provider) common.Converter
- func NewComputeForwardingRuleConverter(provider *schema.Provider) common.Converter
- func NewComputeInstanceConverter(provider *schema.Provider) common.Converter
- type ComputeBackendServiceConverter
- type ComputeForwardingRuleConverter
- type ComputeInstanceConverter
Constants ¶
View Source
const ComputeBackendServiceAssetType string = "compute.googleapis.com/BackendService"
ComputeBackendServiceAssetType is the CAI asset type name.
View Source
const ComputeBackendServiceSchemaName string = "google_compute_backend_service"
ComputeBackendServiceSchemaName is a TF resource schema name.
View Source
const ComputeForwardingRuleAssetType string = "compute.googleapis.com/ForwardingRule"
ComputeForwardingRuleAssetType is the CAI asset type name.
View Source
const ComputeForwardingRuleSchemaName string = "google_compute_forwarding_rule"
ComputeForwardingRuleSchemaName is a TF resource schema name.
View Source
const ComputeInstanceAssetType string = "compute.googleapis.com/Instance"
ComputeInstanceAssetType is the CAI asset type name for compute instance.
View Source
const ComputeInstanceSchemaName string = "google_compute_instance"
ComputeInstanceSchemaName is the TF resource schema name for compute instance.
Variables ¶
This section is empty.
Functions ¶
func NewComputeBackendServiceConverter ¶
NewComputeBackendServiceConverter returns an HCL converter for compute backend service.
func NewComputeForwardingRuleConverter ¶
NewComputeForwardingRuleConverter returns an HCL converter for compute instance.
Types ¶
type ComputeBackendServiceConverter ¶
type ComputeBackendServiceConverter struct {
// contains filtered or unexported fields
}
func (*ComputeBackendServiceConverter) Convert ¶
func (c *ComputeBackendServiceConverter) Convert(assets []*caiasset.Asset) ([]*common.HCLResourceBlock, error)
type ComputeForwardingRuleConverter ¶
type ComputeForwardingRuleConverter struct {
// contains filtered or unexported fields
}
func (*ComputeForwardingRuleConverter) Convert ¶
func (c *ComputeForwardingRuleConverter) Convert(assets []*caiasset.Asset) ([]*common.HCLResourceBlock, error)
type ComputeInstanceConverter ¶
type ComputeInstanceConverter struct {
// contains filtered or unexported fields
}
ComputeInstanceConverter for compute instance resource.
func (*ComputeInstanceConverter) Convert ¶
func (c *ComputeInstanceConverter) Convert(assets []*caiasset.Asset) ([]*common.HCLResourceBlock, error)
Convert converts asset to HCL resource blocks.
Click to show internal directories.
Click to hide internal directories.