Documentation
¶
Index ¶
- Variables
- type OciProvider
- func (o *OciProvider) CreateInstance(ctx context.Context, bootstrapParams params.BootstrapInstance) (params.ProviderInstance, error)
- func (o *OciProvider) DeleteInstance(ctx context.Context, instanceID string) error
- func (o *OciProvider) GetInstance(ctx context.Context, instanceID string) (params.ProviderInstance, error)
- func (o *OciProvider) GetVersion(ctx context.Context) string
- func (o *OciProvider) ListInstances(ctx context.Context, poolID string) ([]params.ProviderInstance, error)
- func (o *OciProvider) RemoveAllInstances(ctx context.Context) error
- func (o *OciProvider) Start(ctx context.Context, instance string) error
- func (o *OciProvider) Stop(ctx context.Context, instance string, force bool) error
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 (*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
Click to show internal directories.
Click to hide internal directories.