oci

package
v1.5.3 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2024 License: GPL-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EmptyString          = ""
	MetadataTagPrefix    = "opc-meta-"
	OracleDefaultProfile = "DEFAULT"
)

Variables

This section is empty.

Functions

func NewOracleObject

func NewOracleObject(job *provider.Job) provider.Object

func NewOracleOperator

func NewOracleOperator(app *conf.AppConfig) (oper provider.Operator, err error)

Types

type OracleClient

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

func NewOracleClient

func NewOracleClient(profile, compartment string) (*OracleClient, error)

func (*OracleClient) Init

func (client *OracleClient) Init() error

type OracleObject

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

func (*OracleObject) Destroy

func (o *OracleObject) Destroy() error

func (*OracleObject) Generate

func (o *OracleObject) Generate() error

func (*OracleObject) Post

func (o *OracleObject) Post() error

func (*OracleObject) Pre

func (o *OracleObject) Pre() error

type OracleOperator

type OracleOperator struct {
	App    *conf.AppConfig
	Oracle *OracleClient
}

func (*OracleOperator) BucketCreate

func (oper *OracleOperator) BucketCreate() error

func (*OracleOperator) BucketDelete

func (oper *OracleOperator) BucketDelete() error

func (*OracleOperator) BucketExists

func (oper *OracleOperator) BucketExists() (bool, error)

func (*OracleOperator) GetObjectTags

func (oper *OracleOperator) GetObjectTags(key string) (map[string]string, error)

func (*OracleOperator) ObjectDelete

func (oper *OracleOperator) ObjectDelete(key string) error

func (*OracleOperator) ObjectExists

func (oper *OracleOperator) ObjectExists(obj provider.Object) (bool, error)

func (*OracleOperator) ObjectUpload

func (oper *OracleOperator) ObjectUpload(obj provider.Object) error

func (*OracleOperator) Support

func (oper *OracleOperator) Support() *provider.Supports

Jump to

Keyboard shortcuts

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