Documentation ¶
Index ¶
- Constants
- func New(cfg globalConfig.Global, logger logging.Logger) (providers.Provider, error)
- type Provider
- func (p *Provider) Create(ctx context.Context, e executors.Executor, vmInst *vm.Instance) error
- func (p *Provider) Delete(ctx context.Context, vmInst vm.Instance) error
- func (p *Provider) Get(ctx context.Context, name string) (vm.Instance, error)
- func (p *Provider) VMName(runnerData vm.NameRunnerData) string
- func (p *Provider) VMNameForRunner(runnerData vm.NameRunnerData) string
Constants ¶
View Source
const (
Name = "gcp"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
func (*Provider) VMName ¶ added in v0.5.0
func (p *Provider) VMName(runnerData vm.NameRunnerData) string
func (*Provider) VMNameForRunner ¶ added in v0.5.0
func (p *Provider) VMNameForRunner(runnerData vm.NameRunnerData) string
Click to show internal directories.
Click to hide internal directories.