aws

package
v0.0.0-...-ee8936d Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: MIT Imports: 14 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, logger *log.Logger) *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) Logger

func (a *RootAdapter) Logger() *log.Logger

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