Documentation ¶
Index ¶
- func Adapt(ctx context.Context, state *state.State, opt options.Options) error
- func AllServices() []string
- func RegisterServiceAdapter(adapter ServiceAdapter)
- type RootAdapter
- func (a *RootAdapter) ConcurrencyStrategy() concurrency.Strategy
- func (a *RootAdapter) Context() context.Context
- func (a *RootAdapter) CreateMetadata(resource string) types.Metadata
- func (a *RootAdapter) CreateMetadataFromARN(arn string) types.Metadata
- func (a *RootAdapter) Logger() *log.Logger
- func (a *RootAdapter) Region() string
- func (a *RootAdapter) SessionConfig() aws.Config
- func (a *RootAdapter) Tracker() progress.ServiceTracker
- type ServiceAdapter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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 ¶
Click to show internal directories.
Click to hide internal directories.