Documentation ¶
Index ¶
- Constants
- type ManualProvider
- func (p ManualProvider) CloudSchema() *jsonschema.Schema
- func (ManualProvider) CredentialSchemas() map[cloud.AuthType]cloud.CredentialSchema
- func (ManualProvider) DetectCredentials() (*cloud.CloudCredential, error)
- func (p ManualProvider) DetectRegions() ([]cloud.Region, error)
- func (ManualProvider) FinalizeCredential(_ environs.FinalizeCredentialContext, args environs.FinalizeCredentialParams) (*cloud.Credential, error)
- func (p ManualProvider) Open(args environs.OpenParams) (environs.Environ, error)
- func (p ManualProvider) Ping(ctx context.ProviderCallContext, endpoint string) error
- func (p ManualProvider) PrepareConfig(args environs.PrepareConfigParams) (*config.Config, error)
- func (p ManualProvider) Validate(cfg, old *config.Config) (valid *config.Config, err error)
- func (ManualProvider) Version() int
Constants ¶
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() (*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 (p ManualProvider) Open(args environs.OpenParams) (environs.Environ, error)
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) Version ¶
func (ManualProvider) Version() int
Version is part of the EnvironProvider interface.