manual

package
v0.0.0-...-b0bff92 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2021 License: AGPL-3.0 Imports: 38 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// BootstrapInstanceId is the instance ID used
	// for the manual provider's bootstrap instance.
	BootstrapInstanceId instance.Id = "manual:"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ManualProvider

type ManualProvider struct {
	// contains filtered or unexported fields
}

ManualProvider contains the logic for using a random ubuntu machine as a controller, connected via SSH.

func (ManualProvider) CloudSchema

func (p ManualProvider) CloudSchema() *jsonschema.Schema

CloudSchema returns the schema for verifying the cloud configuration.

func (ManualProvider) CredentialSchemas

func (ManualProvider) CredentialSchemas() map[cloud.AuthType]cloud.CredentialSchema

CredentialSchemas is part of the environs.ProviderCredentials interface.

func (ManualProvider) DetectCredentials

func (ManualProvider) DetectCredentials(cloudName string) (*cloud.CloudCredential, error)

DetectCredentials is part of the environs.ProviderCredentials interface.

func (ManualProvider) DetectRegions

func (p ManualProvider) DetectRegions() ([]cloud.Region, error)

DetectRegions is specified in the environs.CloudRegionDetector interface.

func (ManualProvider) FinalizeCredential

func (ManualProvider) FinalizeCredential(_ environs.FinalizeCredentialContext, args environs.FinalizeCredentialParams) (*cloud.Credential, error)

FinalizeCredential is part of the environs.ProviderCredentials interface.

func (ManualProvider) Open

func (ManualProvider) Ping

func (p ManualProvider) Ping(ctx context.ProviderCallContext, endpoint string) error

Ping tests the connection to the cloud, to verify the endpoint is valid.

func (ManualProvider) PrepareConfig

func (p ManualProvider) PrepareConfig(args environs.PrepareConfigParams) (*config.Config, error)

PrepareConfig is specified in the EnvironProvider interface.

func (ManualProvider) Validate

func (p ManualProvider) Validate(cfg, old *config.Config) (valid *config.Config, err error)

func (ManualProvider) Version

func (ManualProvider) Version() int

Version is part of the EnvironProvider interface.

Jump to

Keyboard shortcuts

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