gcp

package
v0.8.18 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 21, 2021 License: Apache-2.0 Imports: 29 Imported by: 4

Documentation

Overview

AUTO-GENERATED CODE. DO NOT EDIT.

AUTO-GENERATED CODE. DO NOT EDIT.

AUTO-GENERATED CODE. DO NOT EDIT.

AUTO-GENERATED CODE. DO NOT EDIT.

AUTO-GENERATED CODE. DO NOT EDIT.

AUTO-GENERATED CODE. DO NOT EDIT.

AUTO-GENERATED CODE. DO NOT EDIT.

AUTO-GENERATED CODE. DO NOT EDIT.

AUTO-GENERATED CODE. DO NOT EDIT.

AUTO-GENERATED CODE. DO NOT EDIT.

AUTO-GENERATED CODE. DO NOT EDIT.

AUTO-GENERATED CODE. DO NOT EDIT.

AUTO-GENERATED CODE. DO NOT EDIT.

AUTO-GENERATED CODE. DO NOT EDIT.

AUTO-GENERATED CODE. DO NOT EDIT.

AUTO-GENERATED CODE. DO NOT EDIT.

AUTO-GENERATED CODE. DO NOT EDIT.

AUTO-GENERATED CODE. DO NOT EDIT.

AUTO-GENERATED CODE. DO NOT EDIT.

AUTO-GENERATED CODE. DO NOT EDIT.

AUTO-GENERATED CODE. DO NOT EDIT.

AUTO-GENERATED CODE. DO NOT EDIT.

AUTO-GENERATED CODE. DO NOT EDIT.

AUTO-GENERATED CODE. DO NOT EDIT.

AUTO-GENERATED CODE. DO NOT EDIT.

AUTO-GENERATED CODE. DO NOT EDIT.

AUTO-GENERATED CODE. DO NOT EDIT.

AUTO-GENERATED CODE. DO NOT EDIT.

AUTO-GENERATED CODE. DO NOT EDIT.

AUTO-GENERATED CODE. DO NOT EDIT.

AUTO-GENERATED CODE. DO NOT EDIT.

AUTO-GENERATED CODE. DO NOT EDIT.

AUTO-GENERATED CODE. DO NOT EDIT.

AUTO-GENERATED CODE. DO NOT EDIT.

AUTO-GENERATED CODE. DO NOT EDIT.

AUTO-GENERATED CODE. DO NOT EDIT.

AUTO-GENERATED CODE. DO NOT EDIT.

AUTO-GENERATED CODE. DO NOT EDIT.

AUTO-GENERATED CODE. DO NOT EDIT.

AUTO-GENERATED CODE. DO NOT EDIT.

AUTO-GENERATED CODE. DO NOT EDIT.

AUTO-GENERATED CODE. DO NOT EDIT.

AUTO-GENERATED CODE. DO NOT EDIT.

AUTO-GENERATED CODE. DO NOT EDIT.

AUTO-GENERATED CODE. DO NOT EDIT.

AUTO-GENERATED CODE. DO NOT EDIT.

AUTO-GENERATED CODE. DO NOT EDIT.

AUTO-GENERATED CODE. DO NOT EDIT.

AUTO-GENERATED CODE. DO NOT EDIT.

AUTO-GENERATED CODE. DO NOT EDIT.

AUTO-GENERATED CODE. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

View Source
var ComputeServices = map[string]terraformutils.ServiceGenerator{

	"addresses":                   &GCPFacade{service: &AddressesGenerator{}},
	"autoscalers":                 &GCPFacade{service: &AutoscalersGenerator{}},
	"backendBuckets":              &GCPFacade{service: &BackendBucketsGenerator{}},
	"backendServices":             &GCPFacade{service: &BackendServicesGenerator{}},
	"disks":                       &GCPFacade{service: &DisksGenerator{}},
	"externalVpnGateways":         &GCPFacade{service: &ExternalVpnGatewaysGenerator{}},
	"firewall":                    &GCPFacade{service: &FirewallGenerator{}},
	"forwardingRules":             &GCPFacade{service: &ForwardingRulesGenerator{}},
	"globalAddresses":             &GCPFacade{service: &GlobalAddressesGenerator{}},
	"globalForwardingRules":       &GCPFacade{service: &GlobalForwardingRulesGenerator{}},
	"healthChecks":                &GCPFacade{service: &HealthChecksGenerator{}},
	"httpHealthChecks":            &GCPFacade{service: &HttpHealthChecksGenerator{}},
	"httpsHealthChecks":           &GCPFacade{service: &HttpsHealthChecksGenerator{}},
	"images":                      &GCPFacade{service: &ImagesGenerator{}},
	"instanceGroupManagers":       &GCPFacade{service: &InstanceGroupManagersGenerator{}},
	"instanceGroups":              &GCPFacade{service: &InstanceGroupsGenerator{}},
	"instanceTemplates":           &GCPFacade{service: &InstanceTemplatesGenerator{}},
	"interconnectAttachments":     &GCPFacade{service: &InterconnectAttachmentsGenerator{}},
	"networkEndpointGroups":       &GCPFacade{service: &NetworkEndpointGroupsGenerator{}},
	"networks":                    &GCPFacade{service: &NetworksGenerator{}},
	"nodeGroups":                  &GCPFacade{service: &NodeGroupsGenerator{}},
	"nodeTemplates":               &GCPFacade{service: &NodeTemplatesGenerator{}},
	"packetMirrorings":            &GCPFacade{service: &PacketMirroringsGenerator{}},
	"regionAutoscalers":           &GCPFacade{service: &RegionAutoscalersGenerator{}},
	"regionBackendServices":       &GCPFacade{service: &RegionBackendServicesGenerator{}},
	"regionDisks":                 &GCPFacade{service: &RegionDisksGenerator{}},
	"regionHealthChecks":          &GCPFacade{service: &RegionHealthChecksGenerator{}},
	"regionInstanceGroupManagers": &GCPFacade{service: &RegionInstanceGroupManagersGenerator{}},
	"regionInstanceGroups":        &GCPFacade{service: &RegionInstanceGroupsGenerator{}},
	"regionSslCertificates":       &GCPFacade{service: &RegionSslCertificatesGenerator{}},
	"regionTargetHttpProxies":     &GCPFacade{service: &RegionTargetHttpProxiesGenerator{}},
	"regionTargetHttpsProxies":    &GCPFacade{service: &RegionTargetHttpsProxiesGenerator{}},
	"regionUrlMaps":               &GCPFacade{service: &RegionUrlMapsGenerator{}},
	"reservations":                &GCPFacade{service: &ReservationsGenerator{}},
	"resourcePolicies":            &GCPFacade{service: &ResourcePoliciesGenerator{}},
	"routers":                     &GCPFacade{service: &RoutersGenerator{}},
	"routes":                      &GCPFacade{service: &RoutesGenerator{}},
	"securityPolicies":            &GCPFacade{service: &SecurityPoliciesGenerator{}},
	"sslCertificates":             &GCPFacade{service: &SslCertificatesGenerator{}},
	"sslPolicies":                 &GCPFacade{service: &SslPoliciesGenerator{}},
	"subnetworks":                 &GCPFacade{service: &SubnetworksGenerator{}},
	"targetHttpProxies":           &GCPFacade{service: &TargetHttpProxiesGenerator{}},
	"targetHttpsProxies":          &GCPFacade{service: &TargetHttpsProxiesGenerator{}},
	"targetInstances":             &GCPFacade{service: &TargetInstancesGenerator{}},
	"targetPools":                 &GCPFacade{service: &TargetPoolsGenerator{}},
	"targetSslProxies":            &GCPFacade{service: &TargetSslProxiesGenerator{}},
	"targetTcpProxies":            &GCPFacade{service: &TargetTcpProxiesGenerator{}},
	"targetVpnGateways":           &GCPFacade{service: &TargetVpnGatewaysGenerator{}},
	"urlMaps":                     &GCPFacade{service: &UrlMapsGenerator{}},
	"vpnTunnels":                  &GCPFacade{service: &VpnTunnelsGenerator{}},
}

Map of supported GCP compute service with code generate

View Source
var GcsAdditionalFields = map[string]interface{}{}
View Source
var GcsAllowEmptyValues = []string{"labels.", "created_before"}
View Source
var GkeAdditionalFields = map[string]interface{}{}
View Source
var GkeAllowEmptyValues = []string{"labels."}
View Source
var IamAdditionalFields = map[string]interface{}{}
View Source
var IamAllowEmptyValues = []string{"tags."}

Functions

func GetRegions

func GetRegions(project string) []string

Types

type AddressesGenerator

type AddressesGenerator struct {
	GCPService
}

func (*AddressesGenerator) InitResources

func (g *AddressesGenerator) InitResources() error

Generate TerraformResources from GCP API, from each addresses create 1 TerraformResource Need addresses name as ID for terraform resource

type AutoscalersGenerator

type AutoscalersGenerator struct {
	GCPService
}

func (*AutoscalersGenerator) InitResources

func (g *AutoscalersGenerator) InitResources() error

Generate TerraformResources from GCP API, from each autoscalers create 1 TerraformResource Need autoscalers name as ID for terraform resource

type BackendBucketsGenerator

type BackendBucketsGenerator struct {
	GCPService
}

func (*BackendBucketsGenerator) InitResources

func (g *BackendBucketsGenerator) InitResources() error

Generate TerraformResources from GCP API, from each backendBuckets create 1 TerraformResource Need backendBuckets name as ID for terraform resource

type BackendServicesGenerator

type BackendServicesGenerator struct {
	GCPService
}

func (*BackendServicesGenerator) InitResources

func (g *BackendServicesGenerator) InitResources() error

Generate TerraformResources from GCP API, from each backendServices create 1 TerraformResource Need backendServices name as ID for terraform resource

type BigQueryGenerator

type BigQueryGenerator struct {
	GCPService
}

func (*BigQueryGenerator) InitResources

func (g *BigQueryGenerator) InitResources() error

Generate TerraformResources from GCP API,

func (*BigQueryGenerator) PostConvertHook

func (g *BigQueryGenerator) PostConvertHook() error

PostGenerateHook for convert schema json as heredoc

type CloudDNSGenerator

type CloudDNSGenerator struct {
	GCPService
}

func (*CloudDNSGenerator) InitResources

func (g *CloudDNSGenerator) InitResources() error

Generate TerraformResources from GCP API, create terraform resource for each zone + each record

func (*CloudDNSGenerator) PostConvertHook

func (g *CloudDNSGenerator) PostConvertHook() error

type CloudFunctionsGenerator

type CloudFunctionsGenerator struct {
	GCPService
}

func (*CloudFunctionsGenerator) InitResources

func (g *CloudFunctionsGenerator) InitResources() error

Generate TerraformResources from GCP API, from each CloudFunctions create 1 TerraformResource Need CloudFunctions name as ID for terraform resource

type CloudSQLGenerator

type CloudSQLGenerator struct {
	GCPService
}

func (*CloudSQLGenerator) InitResources

func (g *CloudSQLGenerator) InitResources() error

Generate TerraformResources from GCP API, from each databases create many TerraformResource(dbinstance + databases) Need dbinstance name as ID for terraform resource

type DataprocGenerator

type DataprocGenerator struct {
	GCPService
}

func (*DataprocGenerator) InitResources

func (g *DataprocGenerator) InitResources() error

Generate TerraformResources from GCP API, from each DataprocGenerator create 1 TerraformResource Need DataprocGenerator name as ID for terraform resource

type DisksGenerator

type DisksGenerator struct {
	GCPService
}

func (*DisksGenerator) InitResources

func (g *DisksGenerator) InitResources() error

Generate TerraformResources from GCP API, from each disks create 1 TerraformResource Need disks name as ID for terraform resource

type ExternalVpnGatewaysGenerator

type ExternalVpnGatewaysGenerator struct {
	GCPService
}

func (*ExternalVpnGatewaysGenerator) InitResources

func (g *ExternalVpnGatewaysGenerator) InitResources() error

Generate TerraformResources from GCP API, from each externalVpnGateways create 1 TerraformResource Need externalVpnGateways name as ID for terraform resource

type FirewallGenerator

type FirewallGenerator struct {
	GCPService
}

func (*FirewallGenerator) InitResources

func (g *FirewallGenerator) InitResources() error

Generate TerraformResources from GCP API, from each firewall create 1 TerraformResource Need firewall name as ID for terraform resource

type ForwardingRulesGenerator

type ForwardingRulesGenerator struct {
	GCPService
}

func (*ForwardingRulesGenerator) InitResources

func (g *ForwardingRulesGenerator) InitResources() error

Generate TerraformResources from GCP API, from each forwardingRules create 1 TerraformResource Need forwardingRules name as ID for terraform resource

type GCPFacade

type GCPFacade struct {
	GCPService
	// contains filtered or unexported fields
}

func (*GCPFacade) GetArgs

func (s *GCPFacade) GetArgs() map[string]interface{}

func (*GCPFacade) GetName

func (s *GCPFacade) GetName() string

func (*GCPFacade) GetResources

func (s *GCPFacade) GetResources() []terraformutils.Resource

func (*GCPFacade) InitResources

func (s *GCPFacade) InitResources() error

func (*GCPFacade) InitialCleanup

func (s *GCPFacade) InitialCleanup()

func (*GCPFacade) ParseFilter

func (s *GCPFacade) ParseFilter(rawFilter string) []terraformutils.ResourceFilter

func (*GCPFacade) ParseFilters

func (s *GCPFacade) ParseFilters(rawFilters []string)

func (*GCPFacade) PopulateIgnoreKeys

func (s *GCPFacade) PopulateIgnoreKeys(providerWrapper *providerwrapper.ProviderWrapper)

func (*GCPFacade) PostConvertHook

func (s *GCPFacade) PostConvertHook() error

func (*GCPFacade) PostRefreshCleanup

func (s *GCPFacade) PostRefreshCleanup()

func (*GCPFacade) SetArgs

func (s *GCPFacade) SetArgs(args map[string]interface{})

func (*GCPFacade) SetName

func (s *GCPFacade) SetName(name string)

func (*GCPFacade) SetProviderName

func (s *GCPFacade) SetProviderName(providerName string)

func (*GCPFacade) SetResources

func (s *GCPFacade) SetResources(resources []terraformutils.Resource)

func (*GCPFacade) SetVerbose

func (s *GCPFacade) SetVerbose(verbose bool)

type GCPProvider

type GCPProvider struct {
	terraformutils.Provider
	// contains filtered or unexported fields
}

func (*GCPProvider) GetName

func (p *GCPProvider) GetName() string

func (GCPProvider) GetProviderData

func (p GCPProvider) GetProviderData(arg ...string) map[string]interface{}

func (GCPProvider) GetResourceConnections

func (GCPProvider) GetResourceConnections() map[string]map[string][]string

func (*GCPProvider) GetSupportedService

func (p *GCPProvider) GetSupportedService() map[string]terraformutils.ServiceGenerator

GetGCPSupportService return map of support service for GCP

func (*GCPProvider) Init

func (p *GCPProvider) Init(args []string) error

check projectName in env params

func (*GCPProvider) InitService

func (p *GCPProvider) InitService(serviceName string, verbose bool) error

type GCPService

type GCPService struct {
	terraformutils.Service
}

type GcsGenerator

type GcsGenerator struct {
	GCPService
}

func (*GcsGenerator) InitResources

func (g *GcsGenerator) InitResources() error

Generate TerraformResources from GCP API, from each bucket create 1 TerraformResource Need bucket name as ID for terraform resource

func (*GcsGenerator) PostConvertHook

func (g *GcsGenerator) PostConvertHook() error

PostGenerateHook for add bucket policy json as heredoc support only bucket with policy

type GkeGenerator

type GkeGenerator struct {
	GCPService
}

func (*GkeGenerator) InitResources

func (g *GkeGenerator) InitResources() error

Generate TerraformResources from GCP API,

func (*GkeGenerator) PostConvertHook

func (g *GkeGenerator) PostConvertHook() error

type GlobalAddressesGenerator

type GlobalAddressesGenerator struct {
	GCPService
}

func (*GlobalAddressesGenerator) InitResources

func (g *GlobalAddressesGenerator) InitResources() error

Generate TerraformResources from GCP API, from each globalAddresses create 1 TerraformResource Need globalAddresses name as ID for terraform resource

type GlobalForwardingRulesGenerator

type GlobalForwardingRulesGenerator struct {
	GCPService
}

func (*GlobalForwardingRulesGenerator) InitResources

func (g *GlobalForwardingRulesGenerator) InitResources() error

Generate TerraformResources from GCP API, from each globalForwardingRules create 1 TerraformResource Need globalForwardingRules name as ID for terraform resource

type HealthChecksGenerator

type HealthChecksGenerator struct {
	GCPService
}

func (*HealthChecksGenerator) InitResources

func (g *HealthChecksGenerator) InitResources() error

Generate TerraformResources from GCP API, from each healthChecks create 1 TerraformResource Need healthChecks name as ID for terraform resource

type HttpHealthChecksGenerator

type HttpHealthChecksGenerator struct {
	GCPService
}

func (*HttpHealthChecksGenerator) InitResources

func (g *HttpHealthChecksGenerator) InitResources() error

Generate TerraformResources from GCP API, from each httpHealthChecks create 1 TerraformResource Need httpHealthChecks name as ID for terraform resource

type HttpsHealthChecksGenerator

type HttpsHealthChecksGenerator struct {
	GCPService
}

func (*HttpsHealthChecksGenerator) InitResources

func (g *HttpsHealthChecksGenerator) InitResources() error

Generate TerraformResources from GCP API, from each httpsHealthChecks create 1 TerraformResource Need httpsHealthChecks name as ID for terraform resource

type IamGenerator

type IamGenerator struct {
	GCPService
}

func (*IamGenerator) InitResources

func (g *IamGenerator) InitResources() error

type ImagesGenerator

type ImagesGenerator struct {
	GCPService
}

func (*ImagesGenerator) InitResources

func (g *ImagesGenerator) InitResources() error

Generate TerraformResources from GCP API, from each images create 1 TerraformResource Need images name as ID for terraform resource

type InstanceGroupManagersGenerator

type InstanceGroupManagersGenerator struct {
	GCPService
}

func (*InstanceGroupManagersGenerator) InitResources

func (g *InstanceGroupManagersGenerator) InitResources() error

Generate TerraformResources from GCP API, from each instanceGroupManagers create 1 TerraformResource Need instanceGroupManagers name as ID for terraform resource

type InstanceGroupsGenerator

type InstanceGroupsGenerator struct {
	GCPService
}

func (*InstanceGroupsGenerator) InitResources

func (g *InstanceGroupsGenerator) InitResources() error

Generate TerraformResources from GCP API, from each instanceGroups create 1 TerraformResource Need instanceGroups name as ID for terraform resource

type InstanceTemplatesGenerator

type InstanceTemplatesGenerator struct {
	GCPService
}

func (*InstanceTemplatesGenerator) InitResources

func (g *InstanceTemplatesGenerator) InitResources() error

Generate TerraformResources from GCP API, from each instanceTemplates create 1 TerraformResource Need instanceTemplates name as ID for terraform resource

type InstancesGenerator

type InstancesGenerator struct {
	GCPService
}

func (*InstancesGenerator) InitResources

func (g *InstancesGenerator) InitResources() error

Generate TerraformResources from GCP API, from each instances create 1 TerraformResource Need instances name as ID for terraform resource

type InterconnectAttachmentsGenerator

type InterconnectAttachmentsGenerator struct {
	GCPService
}

func (*InterconnectAttachmentsGenerator) InitResources

func (g *InterconnectAttachmentsGenerator) InitResources() error

Generate TerraformResources from GCP API, from each interconnectAttachments create 1 TerraformResource Need interconnectAttachments name as ID for terraform resource

type KmsGenerator

type KmsGenerator struct {
	GCPService
}

func (*KmsGenerator) InitResources

func (g *KmsGenerator) InitResources() error

Generate TerraformResources from GCP API,

func (*KmsGenerator) PostConvertHook

func (g *KmsGenerator) PostConvertHook() error

type LoggingGenerator

type LoggingGenerator struct {
	GCPService
}

func (*LoggingGenerator) InitResources

func (g *LoggingGenerator) InitResources() error

Generate TerraformResources from GCP API

type MemoryStoreGenerator

type MemoryStoreGenerator struct {
	GCPService
}

func (*MemoryStoreGenerator) InitResources

func (g *MemoryStoreGenerator) InitResources() error

Generate TerraformResources from GCP API, from each redis create 1 TerraformResource Need Redis name as ID for terraform resource

type MonitoringGenerator

type MonitoringGenerator struct {
	GCPService
}

func (*MonitoringGenerator) InitResources

func (g *MonitoringGenerator) InitResources() error

Generate TerraformResources from GCP API, from each alert create 1 TerraformResource Need alert name as ID for terraform resource

type NetworkEndpointGroupsGenerator

type NetworkEndpointGroupsGenerator struct {
	GCPService
}

func (*NetworkEndpointGroupsGenerator) InitResources

func (g *NetworkEndpointGroupsGenerator) InitResources() error

Generate TerraformResources from GCP API, from each networkEndpointGroups create 1 TerraformResource Need networkEndpointGroups name as ID for terraform resource

type NetworksGenerator

type NetworksGenerator struct {
	GCPService
}

func (*NetworksGenerator) InitResources

func (g *NetworksGenerator) InitResources() error

Generate TerraformResources from GCP API, from each networks create 1 TerraformResource Need networks name as ID for terraform resource

type NodeGroupsGenerator

type NodeGroupsGenerator struct {
	GCPService
}

func (*NodeGroupsGenerator) InitResources

func (g *NodeGroupsGenerator) InitResources() error

Generate TerraformResources from GCP API, from each nodeGroups create 1 TerraformResource Need nodeGroups name as ID for terraform resource

type NodeTemplatesGenerator

type NodeTemplatesGenerator struct {
	GCPService
}

func (*NodeTemplatesGenerator) InitResources

func (g *NodeTemplatesGenerator) InitResources() error

Generate TerraformResources from GCP API, from each nodeTemplates create 1 TerraformResource Need nodeTemplates name as ID for terraform resource

type PacketMirroringsGenerator

type PacketMirroringsGenerator struct {
	GCPService
}

func (*PacketMirroringsGenerator) InitResources

func (g *PacketMirroringsGenerator) InitResources() error

Generate TerraformResources from GCP API, from each packetMirrorings create 1 TerraformResource Need packetMirrorings name as ID for terraform resource

type ProjectGenerator

type ProjectGenerator struct {
	GCPService
}

func (*ProjectGenerator) InitResources

func (g *ProjectGenerator) InitResources() error

Generate TerraformResources from GCP API,

type PubsubGenerator

type PubsubGenerator struct {
	GCPService
}

func (*PubsubGenerator) InitResources

func (g *PubsubGenerator) InitResources() error

Generate TerraformResources from GCP API,

func (*PubsubGenerator) PostConvertHook

func (g *PubsubGenerator) PostConvertHook() error

type RegionAutoscalersGenerator

type RegionAutoscalersGenerator struct {
	GCPService
}

func (*RegionAutoscalersGenerator) InitResources

func (g *RegionAutoscalersGenerator) InitResources() error

Generate TerraformResources from GCP API, from each regionAutoscalers create 1 TerraformResource Need regionAutoscalers name as ID for terraform resource

type RegionBackendServicesGenerator

type RegionBackendServicesGenerator struct {
	GCPService
}

func (*RegionBackendServicesGenerator) InitResources

func (g *RegionBackendServicesGenerator) InitResources() error

Generate TerraformResources from GCP API, from each regionBackendServices create 1 TerraformResource Need regionBackendServices name as ID for terraform resource

type RegionDisksGenerator

type RegionDisksGenerator struct {
	GCPService
}

func (*RegionDisksGenerator) InitResources

func (g *RegionDisksGenerator) InitResources() error

Generate TerraformResources from GCP API, from each regionDisks create 1 TerraformResource Need regionDisks name as ID for terraform resource

type RegionHealthChecksGenerator

type RegionHealthChecksGenerator struct {
	GCPService
}

func (*RegionHealthChecksGenerator) InitResources

func (g *RegionHealthChecksGenerator) InitResources() error

Generate TerraformResources from GCP API, from each regionHealthChecks create 1 TerraformResource Need regionHealthChecks name as ID for terraform resource

type RegionInstanceGroupManagersGenerator

type RegionInstanceGroupManagersGenerator struct {
	GCPService
}

func (*RegionInstanceGroupManagersGenerator) InitResources

func (g *RegionInstanceGroupManagersGenerator) InitResources() error

Generate TerraformResources from GCP API, from each regionInstanceGroupManagers create 1 TerraformResource Need regionInstanceGroupManagers name as ID for terraform resource

type RegionInstanceGroupsGenerator

type RegionInstanceGroupsGenerator struct {
	GCPService
}

func (*RegionInstanceGroupsGenerator) InitResources

func (g *RegionInstanceGroupsGenerator) InitResources() error

Generate TerraformResources from GCP API, from each regionInstanceGroups create 1 TerraformResource Need regionInstanceGroups name as ID for terraform resource

type RegionSslCertificatesGenerator

type RegionSslCertificatesGenerator struct {
	GCPService
}

func (*RegionSslCertificatesGenerator) InitResources

func (g *RegionSslCertificatesGenerator) InitResources() error

Generate TerraformResources from GCP API, from each regionSslCertificates create 1 TerraformResource Need regionSslCertificates name as ID for terraform resource

type RegionTargetHttpProxiesGenerator

type RegionTargetHttpProxiesGenerator struct {
	GCPService
}

func (*RegionTargetHttpProxiesGenerator) InitResources

func (g *RegionTargetHttpProxiesGenerator) InitResources() error

Generate TerraformResources from GCP API, from each regionTargetHttpProxies create 1 TerraformResource Need regionTargetHttpProxies name as ID for terraform resource

type RegionTargetHttpsProxiesGenerator

type RegionTargetHttpsProxiesGenerator struct {
	GCPService
}

func (*RegionTargetHttpsProxiesGenerator) InitResources

func (g *RegionTargetHttpsProxiesGenerator) InitResources() error

Generate TerraformResources from GCP API, from each regionTargetHttpsProxies create 1 TerraformResource Need regionTargetHttpsProxies name as ID for terraform resource

type RegionUrlMapsGenerator

type RegionUrlMapsGenerator struct {
	GCPService
}

func (*RegionUrlMapsGenerator) InitResources

func (g *RegionUrlMapsGenerator) InitResources() error

Generate TerraformResources from GCP API, from each regionUrlMaps create 1 TerraformResource Need regionUrlMaps name as ID for terraform resource

type ReservationsGenerator

type ReservationsGenerator struct {
	GCPService
}

func (*ReservationsGenerator) InitResources

func (g *ReservationsGenerator) InitResources() error

Generate TerraformResources from GCP API, from each reservations create 1 TerraformResource Need reservations name as ID for terraform resource

type ResourcePoliciesGenerator

type ResourcePoliciesGenerator struct {
	GCPService
}

func (*ResourcePoliciesGenerator) InitResources

func (g *ResourcePoliciesGenerator) InitResources() error

Generate TerraformResources from GCP API, from each resourcePolicies create 1 TerraformResource Need resourcePolicies name as ID for terraform resource

type RoutersGenerator

type RoutersGenerator struct {
	GCPService
}

func (*RoutersGenerator) InitResources

func (g *RoutersGenerator) InitResources() error

Generate TerraformResources from GCP API, from each routers create 1 TerraformResource Need routers name as ID for terraform resource

type RoutesGenerator

type RoutesGenerator struct {
	GCPService
}

func (*RoutesGenerator) InitResources

func (g *RoutesGenerator) InitResources() error

Generate TerraformResources from GCP API, from each routes create 1 TerraformResource Need routes name as ID for terraform resource

type SchedulerJobsGenerator

type SchedulerJobsGenerator struct {
	GCPService
}

func (*SchedulerJobsGenerator) InitResources

func (g *SchedulerJobsGenerator) InitResources() error

Generate TerraformResources from GCP API,

type SecurityPoliciesGenerator

type SecurityPoliciesGenerator struct {
	GCPService
}

func (*SecurityPoliciesGenerator) InitResources

func (g *SecurityPoliciesGenerator) InitResources() error

Generate TerraformResources from GCP API, from each securityPolicies create 1 TerraformResource Need securityPolicies name as ID for terraform resource

type SslCertificatesGenerator

type SslCertificatesGenerator struct {
	GCPService
}

func (*SslCertificatesGenerator) InitResources

func (g *SslCertificatesGenerator) InitResources() error

Generate TerraformResources from GCP API, from each sslCertificates create 1 TerraformResource Need sslCertificates name as ID for terraform resource

type SslPoliciesGenerator

type SslPoliciesGenerator struct {
	GCPService
}

func (*SslPoliciesGenerator) InitResources

func (g *SslPoliciesGenerator) InitResources() error

Generate TerraformResources from GCP API, from each sslPolicies create 1 TerraformResource Need sslPolicies name as ID for terraform resource

type SubnetworksGenerator

type SubnetworksGenerator struct {
	GCPService
}

func (*SubnetworksGenerator) InitResources

func (g *SubnetworksGenerator) InitResources() error

Generate TerraformResources from GCP API, from each subnetworks create 1 TerraformResource Need subnetworks name as ID for terraform resource

type TargetHttpProxiesGenerator

type TargetHttpProxiesGenerator struct {
	GCPService
}

func (*TargetHttpProxiesGenerator) InitResources

func (g *TargetHttpProxiesGenerator) InitResources() error

Generate TerraformResources from GCP API, from each targetHttpProxies create 1 TerraformResource Need targetHttpProxies name as ID for terraform resource

type TargetHttpsProxiesGenerator

type TargetHttpsProxiesGenerator struct {
	GCPService
}

func (*TargetHttpsProxiesGenerator) InitResources

func (g *TargetHttpsProxiesGenerator) InitResources() error

Generate TerraformResources from GCP API, from each targetHttpsProxies create 1 TerraformResource Need targetHttpsProxies name as ID for terraform resource

type TargetInstancesGenerator

type TargetInstancesGenerator struct {
	GCPService
}

func (*TargetInstancesGenerator) InitResources

func (g *TargetInstancesGenerator) InitResources() error

Generate TerraformResources from GCP API, from each targetInstances create 1 TerraformResource Need targetInstances name as ID for terraform resource

type TargetPoolsGenerator

type TargetPoolsGenerator struct {
	GCPService
}

func (*TargetPoolsGenerator) InitResources

func (g *TargetPoolsGenerator) InitResources() error

Generate TerraformResources from GCP API, from each targetPools create 1 TerraformResource Need targetPools name as ID for terraform resource

type TargetSslProxiesGenerator

type TargetSslProxiesGenerator struct {
	GCPService
}

func (*TargetSslProxiesGenerator) InitResources

func (g *TargetSslProxiesGenerator) InitResources() error

Generate TerraformResources from GCP API, from each targetSslProxies create 1 TerraformResource Need targetSslProxies name as ID for terraform resource

type TargetTcpProxiesGenerator

type TargetTcpProxiesGenerator struct {
	GCPService
}

func (*TargetTcpProxiesGenerator) InitResources

func (g *TargetTcpProxiesGenerator) InitResources() error

Generate TerraformResources from GCP API, from each targetTcpProxies create 1 TerraformResource Need targetTcpProxies name as ID for terraform resource

type TargetVpnGatewaysGenerator

type TargetVpnGatewaysGenerator struct {
	GCPService
}

func (*TargetVpnGatewaysGenerator) InitResources

func (g *TargetVpnGatewaysGenerator) InitResources() error

Generate TerraformResources from GCP API, from each targetVpnGateways create 1 TerraformResource Need targetVpnGateways name as ID for terraform resource

type UrlMapsGenerator

type UrlMapsGenerator struct {
	GCPService
}

func (*UrlMapsGenerator) InitResources

func (g *UrlMapsGenerator) InitResources() error

Generate TerraformResources from GCP API, from each urlMaps create 1 TerraformResource Need urlMaps name as ID for terraform resource

type VpnTunnelsGenerator

type VpnTunnelsGenerator struct {
	GCPService
}

func (*VpnTunnelsGenerator) InitResources

func (g *VpnTunnelsGenerator) InitResources() error

Generate TerraformResources from GCP API, from each vpnTunnels create 1 TerraformResource Need vpnTunnels name as ID for terraform resource

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL