rescontainervbox

package
v0.0.0-...-63b02d4 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 37 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNotRegistered = errors.New("vm is not registered")
)

Functions

func New

func New() resource.Driver

Types

type T

type T struct {
	resource.T
	resource.SCSIPersistentReservation
	Path     naming.Path `json:"path"`
	ObjectID uuid.UUID   `json:"object_id"`
	Peers    []string    `json:"peers"`
	DNS      []string    `json:"dns"`
	Topology topology.T

	Headless   bool `json:"headless"`
	SCSIReserv bool `json:"scsireserv"`
	PromoteRW  bool `json:"promote_rw"`

	OsvcRootPath string         `json:"osvc_root_path"`
	GuestOS      string         `json:"guest_os"`
	Name         string         `json:"name"`
	Hostname     string         `json:"hostname"`
	RCmd         []string       `json:"rcmd"`
	StartTimeout *time.Duration `json:"start_timeout"`
	StopTimeout  *time.Duration `json:"stop_timeout"`
	// contains filtered or unexported fields
}

func (*T) Abort

func (t *T) Abort(ctx context.Context) bool

func (*T) Enter

func (t *T) Enter() error

func (*T) Label

func (t *T) Label() string

func (T) Manifest

func (t T) Manifest() *manifest.T

Manifest exposes to the core the input expected by the driver.

func (*T) Presync

func (t *T) Presync() error

func (*T) Start

func (t *T) Start(ctx context.Context) error

func (*T) Status

func (t *T) Status(ctx context.Context) status.T

func (*T) Stop

func (t *T) Stop(ctx context.Context) error

func (*T) SubDevices

func (t *T) SubDevices() device.L

func (*T) ToSync

func (t *T) ToSync() []string

Jump to

Keyboard shortcuts

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