aws

package
v0.8.7 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckIfServiceExcistsInScope

func CheckIfServiceExcistsInScope(scope, service string, e *ec2.Client) (exists bool, err error)

func CheckNameLen

func CheckNameLen(name string) error

func GetPublicDNS

func GetPublicDNS(server, scope string, a *AWS) (publicDNS string, err error)

Types

type AWS

type AWS struct {
	// contains filtered or unexported fields
}

func (AWS) GetEC2

func (a AWS) GetEC2() *ec2.Client

func (AWS) GetELB

func (a AWS) GetELB() *elbv2.Client

func (AWS) GetRDS

func (a AWS) GetRDS() *rds.Client

func (*AWS) NewEC2

func (a *AWS) NewEC2(c aws.Config)

func (*AWS) NewELB

func (a *AWS) NewELB(c aws.Config)

func (*AWS) NewRDS

func (a *AWS) NewRDS(c aws.Config)

type Stack

type Stack struct {
	// contains filtered or unexported fields
}

func NewStack

func NewStack() Stack

func (Stack) Empty

func (s Stack) Empty() bool

func (Stack) First

func (s Stack) First() func()

func (Stack) Last

func (s Stack) Last() func()

func (Stack) Len

func (s Stack) Len() int

func (*Stack) Pop

func (s *Stack) Pop() func()

func (*Stack) Push

func (s *Stack) Push(fun func())

Jump to

Keyboard shortcuts

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