provider

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Version = "v0.0.0-unknown"

Functions

This section is empty.

Types

type OciProvider

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

func NewOciProvider

func NewOciProvider(ctx context.Context, cfgFile string, controllerID string) (*OciProvider, error)

func (*OciProvider) CreateInstance

func (o *OciProvider) CreateInstance(ctx context.Context, bootstrapParams params.BootstrapInstance) (params.ProviderInstance, error)

func (*OciProvider) DeleteInstance

func (o *OciProvider) DeleteInstance(ctx context.Context, instanceID string) error

func (*OciProvider) GetInstance

func (o *OciProvider) GetInstance(ctx context.Context, instanceID string) (params.ProviderInstance, error)

func (*OciProvider) GetVersion added in v0.1.1

func (o *OciProvider) GetVersion(ctx context.Context) string

func (*OciProvider) ListInstances

func (o *OciProvider) ListInstances(ctx context.Context, poolID string) ([]params.ProviderInstance, error)

func (*OciProvider) RemoveAllInstances

func (o *OciProvider) RemoveAllInstances(ctx context.Context) error

func (*OciProvider) Start

func (o *OciProvider) Start(ctx context.Context, instance string) error

func (*OciProvider) Stop

func (o *OciProvider) Stop(ctx context.Context, instance string, force bool) error

Jump to

Keyboard shortcuts

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