Help us shape the future of Go! Take the 2026 Go Developer Survey

providers

package
v0.8.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 16, 2026 License: MIT Imports: 1 Imported by: 0

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.

View Source
var ErrUnsupportedFlavor = errors.New("unsupported flavor")

ErrUnsupportedFlavor is returned when a deployment fails because the selected flavor/VM-size is permanently incompatible with the provider configuration (e.g. Azure confidential-compute VMs requiring a specific securityType that scitq does not set). The job queue uses this to blacklist the flavor for that provider/region so the recruiter skips it.

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL