sts

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: May 31, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateAccountID

func ValidateAccountID(str string) bool

ValidateAccountID checks an account ID is valid

Types

type Service

type Service struct {
	STS stsiface.STSAPI
}

Service holds a collection of interfaces. The interfaces are broken down like this to group functions together. One alternative is to have a large list of functions from the ec2 client.

func NewService

func NewService(sts stsiface.STSAPI) *Service

NewService returns a new service given the api clients.

func (*Service) AccountID

func (s *Service) AccountID() (string, error)

AccountID gets the current account ID

Jump to

Keyboard shortcuts

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