Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientDevice ¶
type ClientDevice struct { MgsSpec lnet.TargetSpec FsName string }
ClientDevice represents a mgsspec:/fsname client mount device
func ClientDeviceFromString ¶
func ClientDeviceFromString(inString string) (*ClientDevice, error)
ClientDeviceFromString attempts to parse a device out of a string and returns an instance of ClientDevice if successful
func (*ClientDevice) MarshalJSON ¶
func (d *ClientDevice) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*ClientDevice) String ¶
func (d *ClientDevice) String() string
func (*ClientDevice) UnmarshalJSON ¶
func (d *ClientDevice) UnmarshalJSON(data []byte) error
UnmarshalJSON implements json.Unmarshaler
Click to show internal directories.
Click to hide internal directories.