Documentation ¶
Index ¶
- Variables
- type InstanceGroup
- func (g *InstanceGroup) ConnectInfo(ctx context.Context, id string) (provider.ConnectInfo, error)
- func (g *InstanceGroup) Decrease(ctx context.Context, instances []string) ([]string, error)
- func (g *InstanceGroup) Increase(ctx context.Context, delta int) (int, error)
- func (g *InstanceGroup) Init(ctx context.Context, log hclog.Logger, settings provider.Settings) (provider.ProviderInfo, error)
- func (g *InstanceGroup) Update(ctx context.Context, update func(id string, state provider.State)) error
- type PrivPub
- type VersionInfo
Constants ¶
This section is empty.
Variables ¶
View Source
var ( NAME = "fleeting-plugin-aws" VERSION = "dev" REVISION = "HEAD" REFERENCE = "HEAD" BUILT = "now" Version VersionInfo )
Functions ¶
This section is empty.
Types ¶
type InstanceGroup ¶
type InstanceGroup struct { Profile string `json:"profile"` ConfigFile string `json:"config_file"` CredentialsFile string `json:"credentials_file"` Name string `json:"name"` // contains filtered or unexported fields }
func (*InstanceGroup) ConnectInfo ¶
func (g *InstanceGroup) ConnectInfo(ctx context.Context, id string) (provider.ConnectInfo, error)
func (*InstanceGroup) Init ¶
func (g *InstanceGroup) Init(ctx context.Context, log hclog.Logger, settings provider.Settings) (provider.ProviderInfo, error)
type VersionInfo ¶ added in v0.2.0
type VersionInfo struct { Name string `json:"name"` Version string `json:"version"` Revision string `json:"revision"` Reference string `json:"reference"` GOVersion string `json:"go_version"` BuiltAt string `json:"built_at"` OS string `json:"os"` Architecture string `json:"architecture"` }
func (*VersionInfo) BuildInfo ¶ added in v0.2.0
func (v *VersionInfo) BuildInfo() string
func (*VersionInfo) Full ¶ added in v0.2.0
func (v *VersionInfo) Full() string
func (*VersionInfo) String ¶ added in v0.2.0
func (v *VersionInfo) String() string
Click to show internal directories.
Click to hide internal directories.