Documentation ¶
Index ¶
- Constants
- func RemoveHolders(head T) error
- func WithLogger(log *plog.Logger) funcopt.O
- type L
- type T
- func (t T) Delete() error
- func (t T) Driver() (interface{}, error)
- func (t T) Holders() (L, error)
- func (t T) Host() (string, error)
- func (t T) IsMultipath() (bool, error)
- func (t T) IsReadOnly() (bool, error)
- func (t T) IsReadWrite() (bool, error)
- func (t T) IsReservable() (bool, error)
- func (t T) IsSCSI() (bool, error)
- func (t T) Major() (uint32, error)
- func (t T) MajorMinor() (uint32, uint32, error)
- func (t T) MajorMinorStr() (string, error)
- func (t T) MarshalJSON() ([]byte, error)
- func (t T) Minor() (uint32, error)
- func (t T) MknodBlock(major, minor uint32) error
- func (t T) Model() (string, error)
- func (t T) Path() string
- func (t T) Remove() error
- func (t T) RemoveHolders() error
- func (t T) RemoveMultipath() error
- func (t T) SCSIPaths() (L, error)
- func (t T) SetReadOnly() error
- func (t T) SetReadWrite() error
- func (t T) SlaveHosts() ([]string, error)
- func (t T) Slaves() (L, error)
- func (t T) Stat() (unix.Stat_t, error)
- func (t T) String() string
- func (t *T) UnmarshalJSON(b []byte) error
- func (t T) Vendor() (string, error)
- func (t T) Version() (string, error)
- func (t T) WWID() (string, error)
- func (t T) Wipe() error
Constants ¶
Variables ¶
This section is empty.
Functions ¶
func RemoveHolders ¶
Types ¶
type T ¶
type T struct {
// contains filtered or unexported fields
}
func (T) IsMultipath ¶
func (T) IsReadOnly ¶
func (T) IsReadWrite ¶
func (T) IsReservable ¶
func (T) MajorMinorStr ¶
func (T) MarshalJSON ¶
MarshalJSON marshals the data as a quoted json string
func (T) MknodBlock ¶
func (T) RemoveHolders ¶
func (T) RemoveMultipath ¶
func (T) SetReadOnly ¶
func (T) SetReadWrite ¶
func (T) SlaveHosts ¶
func (*T) UnmarshalJSON ¶
UnmarshalJSON unmashals a quoted json string to value
Click to show internal directories.
Click to hide internal directories.