juju: github.com/juju/juju/provider/oracle Index | Files | Directories

package oracle

import "github.com/juju/juju/provider/oracle"

Index

Package Files

environ.go images.go init.go instance.go networking.go provider.go storage.go storage_provider.go storage_volumes.go userdata.go

type EnvironAPI Uses

type EnvironAPI interface {
    commonProvider.Instancer
    commonProvider.InstanceAPI
    commonProvider.Authenticater
    commonProvider.Shaper
    commonProvider.Imager
    commonProvider.IpReservationAPI
    commonProvider.IpAssociationAPI
    commonProvider.IpNetworkExchanger
    commonProvider.IpNetworker
    commonProvider.VnicSetAPI

    commonProvider.RulesAPI
    commonProvider.AclAPI
    commonProvider.SecIpAPI
    commonProvider.IpAddressPrefixSetAPI
    commonProvider.SecListAPI
    commonProvider.ApplicationsAPI
    commonProvider.SecRulesAPI
    commonProvider.AssociationAPI

    StorageAPI
}

EnvironAPI provides interface to access and make operation inside a oracle environ

type EnvironProvider Uses

type EnvironProvider struct{}

EnvironProvider type implements environs.EnvironProvider interface

func (EnvironProvider) CloudSchema Uses

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

CloudSchema is defined on the environs.EnvironProvider interface.

func (EnvironProvider) CredentialSchemas Uses

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

CredentialSchemas is defined on the environs.ProviderCredentials interface.

func (EnvironProvider) DetectCredentials Uses

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

DetectCredentials is defined on the environs.ProviderCredentials interface.

func (EnvironProvider) FinalizeCredential Uses

func (e EnvironProvider) FinalizeCredential(
    cfx environs.FinalizeCredentialContext,
    params environs.FinalizeCredentialParams,
) (*cloud.Credential, error)

FinalizeCredential is defined on the environs.ProviderCredentials interface.

func (*EnvironProvider) Open Uses

func (e *EnvironProvider) Open(params environs.OpenParams) (environs.Environ, error)

Open is defined on the environs.EnvironProvider interface.

func (*EnvironProvider) Ping Uses

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

Ping implements environs.EnvironProvider.

func (EnvironProvider) PrepareConfig Uses

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

PrepareConfig is defined on the environs.EnvironProvider interface.

func (EnvironProvider) Validate Uses

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

Validate is defined on the config.Validator interface.

func (EnvironProvider) Version Uses

func (EnvironProvider) Version() int

Version is part of the EnvironProvider interface.

type OracleEnviron Uses

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

OracleEnviron implements the environs.Environ interface

func NewOracleEnviron Uses

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

NewOracleEnviron returns a new OracleEnviron

func (*OracleEnviron) AdoptResources Uses

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

AdoptResources is part of the Environ interface.

func (*OracleEnviron) AllInstances Uses

func (o *OracleEnviron) AllInstances(ctx context.ProviderCallContext) ([]envinstance.Instance, error)

AllInstances is part of the InstanceBroker interface.

func (*OracleEnviron) AllRunningInstances Uses

func (o *OracleEnviron) AllRunningInstances(ctx context.ProviderCallContext) ([]envinstance.Instance, error)

AllRunningInstances is part of the InstanceBroker interface.

func (*OracleEnviron) AvailabilityZones Uses

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

AvailabilityZones is defined in the common.ZonedEnviron interface

func (*OracleEnviron) Bootstrap Uses

func (o *OracleEnviron) Bootstrap(ctx environs.BootstrapContext, callCtx context.ProviderCallContext, args environs.BootstrapParams) (*environs.BootstrapResult, error)

Bootstrap is part of the Environ interface.

func (*OracleEnviron) Config Uses

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

Config is part of the Environ interface.

func (*OracleEnviron) ConstraintsValidator Uses

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

ConstraintsValidator is part of the environs.Environ interface.

func (*OracleEnviron) ControllerInstances Uses

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

ControllerInstances is part of the environs.Environ interface.

func (*OracleEnviron) Create Uses

func (o *OracleEnviron) Create(ctx context.ProviderCallContext, params environs.CreateParams) error

Create is part of the Environ interface.

func (*OracleEnviron) DeleteMachineVnicSet Uses

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

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

func (*OracleEnviron) Destroy Uses

func (o *OracleEnviron) Destroy(ctx context.ProviderCallContext) error

Destroy is part of the environs.Environ interface.

func (*OracleEnviron) DestroyController Uses

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

DestroyController is part of the environs.Environ interface.

func (*OracleEnviron) Details Uses

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

func (*OracleEnviron) InstanceAvailabilityZoneNames Uses

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

InstanceAvailabilityzoneNames is defined in the common.ZonedEnviron interface

func (*OracleEnviron) InstanceTypes Uses

func (o *OracleEnviron) InstanceTypes(context.ProviderCallContext, constraints.Value) (envinstance.InstanceTypesWithCostMetadata, error)

InstanceTypes is part of the environs.InstanceTypesFetcher interface.

func (*OracleEnviron) Instances Uses

func (o *OracleEnviron) Instances(ctx context.ProviderCallContext, ids []instance.Id) ([]envinstance.Instance, error)

Instances is part of the environs.Environ interface.

func (*OracleEnviron) MaintainInstance Uses

func (o *OracleEnviron) MaintainInstance(ctx context.ProviderCallContext, args environs.StartInstanceParams) error

MaintainInstance is part of the InstanceBroker interface.

func (*OracleEnviron) PrecheckInstance Uses

func (o *OracleEnviron) PrecheckInstance(context.ProviderCallContext, environs.PrecheckInstanceParams) error

PrecheckInstance is part of the environs.Environ interface.

func (*OracleEnviron) PrepareForBootstrap Uses

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

PrepareForBootstrap is part of the Environ interface.

func (*OracleEnviron) Provider Uses

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

Provider is part of the environs.Environ interface.

func (*OracleEnviron) SetConfig Uses

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

SetConfig is part of the environs.Environ interface.

func (*OracleEnviron) StartInstance Uses

func (o *OracleEnviron) StartInstance(ctx context.ProviderCallContext, args environs.StartInstanceParams) (*environs.StartInstanceResult, error)

StartInstance is part of the InstanceBroker interface.

func (*OracleEnviron) StopInstances Uses

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

StopInstances is part of the InstanceBroker interface.

func (*OracleEnviron) StorageProvider Uses

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

StorageProvider implements storage.ProviderRegistry.

func (*OracleEnviron) StorageProviderTypes Uses

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

StorageProviderTypes implements storage.ProviderRegistry.

type OracleRenderer Uses

type OracleRenderer struct{}

OracleRenderer implements the renderers.ProviderRenderer interface

func (OracleRenderer) Render Uses

func (OracleRenderer) Render(cfg cloudinit.CloudConfig, os jujuos.OSType) ([]byte, error)

Renderer is defined in the renderers.ProviderRenderer interface

type StorageAPI Uses

type StorageAPI interface {
    common.StorageVolumeAPI
    common.StorageAttachmentAPI
    common.Composer
}

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

PathSynopsis
common
network
testing

Package oracle imports 42 packages (graph) and is imported by 6 packages. Updated 2019-10-18. Refresh now. Tools for package owners.