Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Syncer ¶
type Syncer interface {
repo.Repo
// Sync fetches the given services. ctx cancels the outbound AWS calls.
Sync(ctx context.Context, services ...cloud.Service) (map[string]cloud.GraphAPI, error)
}
var DefaultSyncer Syncer
func NewSyncer ¶
NewSyncer builds a Syncer backed by the local git repo in ~/.awless.
It returns an error rather than panicking: repo.New fails on a real runtime condition — an unwritable or unreadable ~/.awless — not a programmer error.
func NoOpSyncer ¶
func NoOpSyncer() Syncer
Click to show internal directories.
Click to hide internal directories.