services

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CloudTrail

type CloudTrail interface {
	cloudtrailiface.CloudTrailAPI

	// wrapper for LookupEventsPagesWithContext and aggregate result into list
	LookupEventsAsList(ctx context.Context, startTime *time.Time, endTime *time.Time, lookupAttributes []*cloudtrail.LookupAttribute) ([]*cloudtrail.Event, error)
}

CloudTrail client wrapper

func NewCloudTrail

func NewCloudTrail(session *session.Session) CloudTrail

NewCloudTrail creates a new CloudFormatinon wrapper

type Cloudformation

type Cloudformation interface {
	cloudformationiface.CloudFormationAPI

	// wrapper for ListStackInstancesWithContext and aggregate result into list
	ListStackAsList(ctx context.Context, stackStatus []*string) ([]*cloudformation.StackSummary, error)

	// Searchs for stacks with stackname
	ListStackWithNameAsList(ctx context.Context, stackStatus []*string, stackName string) (*cloudformation.StackSummary, error)

	// wrapper for DescribeStackEvents and aggregate result into list
	DescribeStackEventsAsList(ctx context.Context, stackID string) ([]*cloudformation.StackEvent, error)

	DescribeStackResourcesAsList(ctx context.Context, stackID string) ([]*cloudformation.StackResource, error)
}

Cloudformation client wrapper

func NewCloudFormation

func NewCloudFormation(session *session.Session) Cloudformation

NewCloudFormation creates a new CloudFormatinon wrapper

Jump to

Keyboard shortcuts

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