Documentation ¶
Index ¶
- type VirtualDeviceAPI
- func (vd *VirtualDeviceAPI) Delete(IDs []string) (int64, error)
- func (vd *VirtualDeviceAPI) Get(filters []storageTY.Filter) (*vdTY.VirtualDevice, error)
- func (vd *VirtualDeviceAPI) GetByID(id string) (*vdTY.VirtualDevice, error)
- func (vd *VirtualDeviceAPI) GetEntityInterface() interface{}
- func (vd *VirtualDeviceAPI) Import(data interface{}) error
- func (vd *VirtualDeviceAPI) List(filters []storageTY.Filter, pagination *storageTY.Pagination) (*storageTY.Result, error)
- func (vd *VirtualDeviceAPI) Save(device *vdTY.VirtualDevice) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VirtualDeviceAPI ¶
type VirtualDeviceAPI struct {
// contains filtered or unexported fields
}
func (*VirtualDeviceAPI) Delete ¶
func (vd *VirtualDeviceAPI) Delete(IDs []string) (int64, error)
Delete virtual devices
func (*VirtualDeviceAPI) Get ¶
func (vd *VirtualDeviceAPI) Get(filters []storageTY.Filter) (*vdTY.VirtualDevice, error)
returns a virtual device
func (*VirtualDeviceAPI) GetByID ¶
func (vd *VirtualDeviceAPI) GetByID(id string) (*vdTY.VirtualDevice, error)
GetByID returns a field
func (*VirtualDeviceAPI) GetEntityInterface ¶
func (vd *VirtualDeviceAPI) GetEntityInterface() interface{}
func (*VirtualDeviceAPI) Import ¶
func (vd *VirtualDeviceAPI) Import(data interface{}) error
func (*VirtualDeviceAPI) List ¶
func (vd *VirtualDeviceAPI) List(filters []storageTY.Filter, pagination *storageTY.Pagination) (*storageTY.Result, error)
List by filter and pagination
func (*VirtualDeviceAPI) Save ¶
func (vd *VirtualDeviceAPI) Save(device *vdTY.VirtualDevice) error
Save a virtual details
Click to show internal directories.
Click to hide internal directories.