aws

package
v0.3.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Adapt

func Adapt(ctx context.Context, state *state.State, opt options.Options) error

func AllServices

func AllServices() []string

func RegisterServiceAdapter

func RegisterServiceAdapter(adapter ServiceAdapter)

Types

type RootAdapter

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

func NewRootAdapter

func NewRootAdapter(ctx context.Context, cfg aws.Config, tracker progress.ServiceTracker) *RootAdapter

func (*RootAdapter) ConcurrencyStrategy

func (a *RootAdapter) ConcurrencyStrategy() concurrency.Strategy

func (*RootAdapter) Context

func (a *RootAdapter) Context() context.Context

func (*RootAdapter) CreateMetadata

func (a *RootAdapter) CreateMetadata(resource string) types.Metadata

func (*RootAdapter) CreateMetadataFromARN

func (a *RootAdapter) CreateMetadataFromARN(arn string) types.Metadata

func (*RootAdapter) Debug

func (a *RootAdapter) Debug(format string, args ...interface{})

func (*RootAdapter) Region

func (a *RootAdapter) Region() string

func (*RootAdapter) SessionConfig

func (a *RootAdapter) SessionConfig() aws.Config

func (*RootAdapter) Tracker

func (a *RootAdapter) Tracker() progress.ServiceTracker

type ServiceAdapter

type ServiceAdapter interface {
	Name() string
	Provider() string
	Adapt(root *RootAdapter, state *state.State) error
}

Jump to

Keyboard shortcuts

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