types

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: May 17, 2022 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ECSServiceType = "ecs:service"
View Source
var RDSClusterType = "rds:cluster"
View Source
var RDSInstanceType = "rds:db"

Functions

This section is empty.

Types

type AWSService

type AWSService interface {
	Halt() error
	Resume() error
	GetARN() string
	GetType() string
}

type ECSService

type ECSService struct {
	ARN          string `json:"arn"`
	Cluster      string `json:"cluster"`
	DesiredCount int64  `json:"desiredCount"`
}

func (ECSService) GetARN

func (s ECSService) GetARN() string

func (ECSService) GetType

func (s ECSService) GetType() string

func (ECSService) Halt

func (s ECSService) Halt() error

func (ECSService) Resume

func (s ECSService) Resume() error

type RDSCluster added in v0.3.0

type RDSCluster struct {
	ARN string `json:"arn"`
}

func (RDSCluster) GetARN added in v0.3.0

func (s RDSCluster) GetARN() string

func (RDSCluster) GetType added in v0.3.0

func (s RDSCluster) GetType() string

func (RDSCluster) Halt added in v0.3.0

func (s RDSCluster) Halt() error

func (RDSCluster) Resume added in v0.3.0

func (s RDSCluster) Resume() error

type RDSInstance added in v0.3.0

type RDSInstance struct {
	ARN string `json:"arn"`
}

func (RDSInstance) GetARN added in v0.3.0

func (s RDSInstance) GetARN() string

func (RDSInstance) GetType added in v0.3.0

func (s RDSInstance) GetType() string

func (RDSInstance) Halt added in v0.3.0

func (s RDSInstance) Halt() error

func (RDSInstance) Resume added in v0.3.0

func (s RDSInstance) Resume() error

Jump to

Keyboard shortcuts

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