Documentation ¶
Index ¶
- Variables
- func GetAWSConfigForBucket(bucketname string) (*aws.Config, error)
- func GetBucketRegion(bucketname string) (string, error)
- type DataSource
- type Filter
- type S3
- type S3Config
- type SpotInstance
- func (s *SpotInstance) GetSpotInstanceRequestInstanceId(requestId string) string
- func (s *SpotInstance) GetSpotInstanceRequestStatus(requestId string) (string, string, error)
- func (s *SpotInstance) LaunchSpotInstance() (string, error)
- func (s *SpotInstance) SetLaunchSpecification(input []byte) error
- func (s *SpotInstance) SetLaunchSpecificationUserdata(userdata string)
- type SpotInstanceConfig
Constants ¶
This section is empty.
Variables ¶
View Source
var ( AWS_OWNER_ID = "591542846629" CANONICAL_OWNER_ID = "099720109477" )
Functions ¶
func GetBucketRegion ¶
Types ¶
type DataSource ¶
type DataSource struct {
// contains filtered or unexported fields
}
func NewDataSource ¶
func NewDataSource(region string) *DataSource
type SpotInstance ¶
type SpotInstance struct { SpotInstanceRequests map[string]*ec2.SpotInstanceRequest // contains filtered or unexported fields }
func NewSpotInstance ¶
func NewSpotInstance(config SpotInstanceConfig) *SpotInstance
func (*SpotInstance) GetSpotInstanceRequestInstanceId ¶
func (s *SpotInstance) GetSpotInstanceRequestInstanceId(requestId string) string
func (*SpotInstance) GetSpotInstanceRequestStatus ¶
func (s *SpotInstance) GetSpotInstanceRequestStatus(requestId string) (string, string, error)
func (*SpotInstance) LaunchSpotInstance ¶
func (s *SpotInstance) LaunchSpotInstance() (string, error)
func (*SpotInstance) SetLaunchSpecification ¶
func (s *SpotInstance) SetLaunchSpecification(input []byte) error
func (*SpotInstance) SetLaunchSpecificationUserdata ¶
func (s *SpotInstance) SetLaunchSpecificationUserdata(userdata string)
Click to show internal directories.
Click to hide internal directories.