Documentation ¶
Index ¶
- Constants
- func NewComputeBackendServiceConverter(provider *schema.Provider) common.Converter
- func NewComputeForwardingRuleConverter(provider *schema.Provider) common.Converter
- func NewComputeInstanceConverter(provider *schema.Provider) common.Converter
- func NewComputeRegionBackendServiceConverter(provider *schema.Provider) common.Converter
- func NewComputeRegionHealthCheckConverter(provider *schema.Provider) common.Converter
- type ComputeBackendServiceConverter
- type ComputeForwardingRuleConverter
- type ComputeInstanceConverter
- type ComputeRegionBackendServiceConverter
- type ComputeRegionHealthCheckConverter
Constants ¶
const ComputeBackendServiceAssetType string = "compute.googleapis.com/BackendService"
ComputeBackendServiceAssetType is the CAI asset type name.
const ComputeBackendServiceSchemaName string = "google_compute_backend_service"
ComputeBackendServiceSchemaName is a TF resource schema name.
const ComputeForwardingRuleAssetType string = "compute.googleapis.com/ForwardingRule"
ComputeForwardingRuleAssetType is the CAI asset type name.
const ComputeForwardingRuleSchemaName string = "google_compute_forwarding_rule"
ComputeForwardingRuleSchemaName is a TF resource schema name.
const ComputeInstanceAssetType string = "compute.googleapis.com/Instance"
ComputeInstanceAssetType is the CAI asset type name for compute instance.
const ComputeInstanceSchemaName string = "google_compute_instance"
ComputeInstanceSchemaName is the TF resource schema name for compute instance.
const ComputeRegionBackendServiceAssetType string = "compute.googleapis.com/RegionBackendService"
ComputeRegionBackendServiceAssetType is the CAI asset type name.
const ComputeRegionBackendServiceSchemaName string = "google_compute_region_backend_service"
ComputeRegionBackendServiceSchemaName is a TF resource schema name.
const ComputeRegionHealthCheckAssetNameRegex string = "projects/(?P<project>[^/]+)/regions/(?P<region>[^/]+)/healthChecks"
const ComputeRegionHealthCheckAssetType string = "compute.googleapis.com/RegionHealthCheck"
const ComputeRegionHealthCheckSchemaName string = "google_compute_region_health_check"
ComputeRegionHealthCheckSchemaName is a TF resource schema name.
Variables ¶
This section is empty.
Functions ¶
func NewComputeBackendServiceConverter ¶ added in v5.18.0
NewComputeBackendServiceConverter returns an HCL converter for compute backend service.
func NewComputeForwardingRuleConverter ¶
NewComputeForwardingRuleConverter returns an HCL converter for compute instance.
func NewComputeInstanceConverter ¶
NewComputeInstanceConverter returns an HCL converter for compute instance.
func NewComputeRegionBackendServiceConverter ¶ added in v5.18.0
NewComputeRegionBackendServiceConverter returns an HCL converter for compute backend service.
Types ¶
type ComputeBackendServiceConverter ¶ added in v5.18.0
type ComputeBackendServiceConverter struct {
// contains filtered or unexported fields
}
func (*ComputeBackendServiceConverter) Convert ¶ added in v5.18.0
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.
type ComputeRegionBackendServiceConverter ¶ added in v5.18.0
type ComputeRegionBackendServiceConverter struct {
// contains filtered or unexported fields
}
func (*ComputeRegionBackendServiceConverter) Convert ¶ added in v5.18.0
func (c *ComputeRegionBackendServiceConverter) Convert(assets []*caiasset.Asset) ([]*common.HCLResourceBlock, error)
type ComputeRegionHealthCheckConverter ¶ added in v5.26.0
type ComputeRegionHealthCheckConverter struct {
// contains filtered or unexported fields
}
func (*ComputeRegionHealthCheckConverter) Convert ¶ added in v5.26.0
func (c *ComputeRegionHealthCheckConverter) Convert(assets []*caiasset.Asset) ([]*common.HCLResourceBlock, error)