oracle

package
v0.0.0-...-8ff1004 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2019 License: AGPL-3.0 Imports: 41 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EnvironProvider

type EnvironProvider struct{}

EnvironProvider type implements environs.EnvironProvider interface

func (EnvironProvider) CloudSchema

func (e EnvironProvider) CloudSchema() *jsonschema.Schema

CloudSchema is defined on the environs.EnvironProvider interface.

func (EnvironProvider) CredentialSchemas

func (e EnvironProvider) CredentialSchemas() map[cloud.AuthType]cloud.CredentialSchema

CredentialSchemas is defined on the environs.ProviderCredentials interface.

func (EnvironProvider) DetectCredentials

func (e EnvironProvider) DetectCredentials() (*cloud.CloudCredential, error)

DetectCredentials is defined on the environs.ProviderCredentials interface.

func (EnvironProvider) FinalizeCredential

FinalizeCredential is defined on the environs.ProviderCredentials interface.

func (*EnvironProvider) Open

Open is defined on the environs.EnvironProvider interface.

func (*EnvironProvider) Ping

func (e *EnvironProvider) Ping(ctx context.ProviderCallContext, endpoint string) error

Ping implements environs.EnvironProvider.

func (EnvironProvider) PrepareConfig

func (e EnvironProvider) PrepareConfig(args environs.PrepareConfigParams) (*config.Config, error)

PrepareConfig is defined on the environs.EnvironProvider interface.

func (EnvironProvider) Validate

func (e EnvironProvider) Validate(cfg, old *config.Config) (valid *config.Config, err error)

Validate is defined on the config.Validator interface.

func (EnvironProvider) Version

func (EnvironProvider) Version() int

Version is part of the EnvironProvider interface.

type OracleEnviron

type OracleEnviron struct {
	environs.Networking
	oraclenet.Firewaller
	// contains filtered or unexported fields
}

OracleEnviron implements the environs.Environ interface

func NewOracleEnviron

func NewOracleEnviron(p *EnvironProvider, args environs.OpenParams, client EnvironAPI, c clock.Clock) (env *OracleEnviron, err error)

NewOracleEnviron returns a new OracleEnviron

func (*OracleEnviron) AdoptResources

func (e *OracleEnviron) AdoptResources(ctx context.ProviderCallContext, controllerUUID string, fromVersion version.Number) error

AdoptResources is part of the Environ interface.

func (*OracleEnviron) AllInstances

AllInstances is part of the InstanceBroker interface.

func (*OracleEnviron) AvailabilityZones

func (o *OracleEnviron) AvailabilityZones(ctx context.ProviderCallContext) ([]common.AvailabilityZone, error)

AvailabilityZones is defined in the common.ZonedEnviron interface

func (*OracleEnviron) Bootstrap

Bootstrap is part of the Environ interface.

func (*OracleEnviron) Config

func (o *OracleEnviron) Config() *config.Config

Config is part of the Environ interface.

func (*OracleEnviron) ConstraintsValidator

func (o *OracleEnviron) ConstraintsValidator(ctx context.ProviderCallContext) (constraints.Validator, error)

ConstraintsValidator is part of the environs.Environ interface.

func (*OracleEnviron) ControllerInstances

func (o *OracleEnviron) ControllerInstances(ctx context.ProviderCallContext, controllerUUID string) ([]instance.Id, error)

ControllerInstances is part of the environs.Environ interface.

func (*OracleEnviron) Create

Create is part of the Environ interface.

func (*OracleEnviron) DeleteMachineVnicSet

func (o *OracleEnviron) DeleteMachineVnicSet(machineId string) error

DeleteMachineVnicSet will delete the machine vNIC set and any ACLs bound to it.

func (*OracleEnviron) Destroy

Destroy is part of the environs.Environ interface.

func (*OracleEnviron) DestroyController

func (o *OracleEnviron) DestroyController(ctx context.ProviderCallContext, controllerUUID string) error

DestroyController is part of the environs.Environ interface.

func (*OracleEnviron) Details

func (o *OracleEnviron) Details(id instance.Id) (ociResponse.Instance, error)

func (*OracleEnviron) InstanceAvailabilityZoneNames

func (o *OracleEnviron) InstanceAvailabilityZoneNames(ctx context.ProviderCallContext, ids []instance.Id) ([]string, error)

InstanceAvailabilityzoneNames is defined in the common.ZonedEnviron interface

func (*OracleEnviron) InstanceTypes

InstanceTypes is part of the environs.InstanceTypesFetcher interface.

func (*OracleEnviron) Instances

Instances is part of the environs.Environ interface.

func (*OracleEnviron) MaintainInstance

MaintainInstance is part of the InstanceBroker interface.

func (*OracleEnviron) PrecheckInstance

PrecheckInstance is part of the environs.Environ interface.

func (*OracleEnviron) PrepareForBootstrap

func (o *OracleEnviron) PrepareForBootstrap(ctx environs.BootstrapContext) error

PrepareForBootstrap is part of the Environ interface.

func (*OracleEnviron) Provider

func (o *OracleEnviron) Provider() environs.EnvironProvider

Provider is part of the environs.Environ interface.

func (*OracleEnviron) SetConfig

func (o *OracleEnviron) SetConfig(cfg *config.Config) error

SetConfig is part of the environs.Environ interface.

func (*OracleEnviron) StartInstance

StartInstance is part of the InstanceBroker interface.

func (*OracleEnviron) StopInstances

func (o *OracleEnviron) StopInstances(ctx context.ProviderCallContext, ids ...instance.Id) error

StopInstances is part of the InstanceBroker interface.

func (*OracleEnviron) StorageProvider

func (o *OracleEnviron) StorageProvider(t storage.ProviderType) (storage.Provider, error)

StorageProvider implements storage.ProviderRegistry.

func (*OracleEnviron) StorageProviderTypes

func (o *OracleEnviron) StorageProviderTypes() ([]storage.ProviderType, error)

StorageProviderTypes implements storage.ProviderRegistry.

type OracleRenderer

type OracleRenderer struct{}

OracleRenderer implements the renderers.ProviderRenderer interface

func (OracleRenderer) Render

Renderer is defined in the renderers.ProviderRenderer interface

type StorageAPI

StorageAPI defines the storage API in the oracle cloud provider this enables the provider to talk with the storage API and make storage specific operations

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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