Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBestSpotOption ¶
func NewBestSpotOption(ctx *pulumi.Context, mCtx *mc.Context, name string, args *data.SpotInfoArgs, opts ...pulumi.ResourceOption) (*spot.SpotResults, error)
Types ¶
type SpotStackArgs ¶ added in v0.9.6
type SpotStackResult ¶ added in v0.9.6
type SpotStackResult struct {
Region string
AvailabilityZone string
InstanceType []string
Price float64
Score int64
}
func Create ¶ added in v0.9.6
func Create(mCtx *mc.Context, args *SpotStackArgs) (*SpotStackResult, error)
So create will check if stack with state already exists, if that is the case it will pick info from its outputs If stack does not exists it will create it
Click to show internal directories.
Click to hide internal directories.