Documentation ¶
Index ¶
- Variables
- func New() resource.Driver
- type T
- func (t *T) Abort(ctx context.Context) bool
- func (t *T) Enter() error
- func (t *T) Label(_ context.Context) string
- func (t T) Manifest() *manifest.T
- func (t *T) Presync() error
- func (t *T) Start(ctx context.Context) error
- func (t *T) Status(ctx context.Context) status.T
- func (t *T) Stop(ctx context.Context) error
- func (t *T) SubDevices() device.L
- func (t *T) ToSync() []string
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNotRegistered = errors.New("vm is not registered")
)
Functions ¶
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) Label ¶
Label implements Label from resource.Driver interface, it returns a formatted short description of the Resource
func (*T) SubDevices ¶
Click to show internal directories.
Click to hide internal directories.