Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInstanceLimitReached = errors.New("instance limit reached")
ErrInstanceLimitReached is returned when a deployment fails due to an instance-count limit (e.g. Azure PublicIPCountLimitReached). The job queue uses this to learn the limit and stop further attempts.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider interface {
Create(workerName, flavor, location string, jobId int32) (string, error)
List(location string) (map[string]string, error)
Restart(workerName, location string) error
Delete(workerName, location string) error
}
Provider defines the methods that a cloud provider must implement.
Click to show internal directories.
Click to hide internal directories.