Back to godoc.org

Package oracle

v0.0.0-...-9333e82
Latest Go to latest

The latest major version is .

Published: 1 day ago | License: AGPL-3.0 | Module: github.com/juju/juju

Index

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

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

FinalizeCredential is defined on the environs.ProviderCredentials interface.

func (*EnvironProvider) Open

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

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

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

AllInstances is part of the InstanceBroker interface.

func (*OracleEnviron) AllRunningInstances

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

AllRunningInstances 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

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

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

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

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

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

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

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

InstanceTypes is part of the environs.InstanceTypesFetcher interface.

func (*OracleEnviron) Instances

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

Instances is part of the environs.Environ interface.

func (*OracleEnviron) MaintainInstance

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

MaintainInstance is part of the InstanceBroker interface.

func (*OracleEnviron) PrecheckInstance

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

PrecheckInstance is part of the environs.Environ interface.

func (*OracleEnviron) PrepareForBootstrap

func (o *OracleEnviron) PrepareForBootstrap(ctx environs.BootstrapContext, controllerName string) 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

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

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

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

Renderer is defined in the renderers.ProviderRenderer interface

type StorageAPI

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

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier