ct

package
v0.0.0-...-ec2e68e Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const AK = "AK"

AK & SK will be got from env on init()

View Source
const Region = "ru-moscow-1"

Default region

View Source
const SK = "SK"

Variables

This section is empty.

Functions

This section is empty.

Types

type CTProvider

type CTProvider struct {
	terraformutils.Provider
	Region string
	AK     string
	SK     string
}

func (*CTProvider) GetConfig

func (p *CTProvider) GetConfig() cty.Value

Configure provider:

func (*CTProvider) GetName

func (p *CTProvider) GetName() string

func (*CTProvider) GetProviderData

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

func (CTProvider) GetResourceConnections

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

func (*CTProvider) GetSupportedService

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

func (*CTProvider) Init

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

func (*CTProvider) InitService

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

type CTService

type CTService struct {
	terraformutils.Service
}

type ECSGenerator

type ECSGenerator struct {
	CTService
}

func (*ECSGenerator) InitResources

func (g *ECSGenerator) InitResources() error

InitResources Gets the list of all ECS instance ids and generates resources

type EVSGenerator

type EVSGenerator struct {
	CTService
}

func (*EVSGenerator) InitResources

func (g *EVSGenerator) InitResources() error

InitResources Gets the list of all EVS instance ids and generates resources

Jump to

Keyboard shortcuts

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