Versions in this module Expand all Collapse all v1 v1.1.2 Jan 4, 2022 v1.1.1 Jan 4, 2022 Changes in this version + type Nvmf struct + Ports []NvmfPort + Subsystems []NvmfSubsystem + func (nvmf *Nvmf) Apply() error + func (nvmf *Nvmf) ReadFile(file string) error + type NvmfNamespace struct + DevicePath string + DeviceUUID string + Enable int + Name int + func (namespace *NvmfNamespace) Create(subsystem NvmfSubsystem) error + func (namespace *NvmfNamespace) WriteAttr(subsystem NvmfSubsystem, attr string, value string) error + type NvmfPort struct + AddrAdrfam string + AddrTraddr string + AddrTrsvcid int + AddrTrtype string + Name string + Subsystems []NvmfPortsSubsystems + func (port *NvmfPort) Bind(subsystemName string) error + func (port *NvmfPort) Create() error + func (port *NvmfPort) WriteAttr(attr string, value string) error + type NvmfPortsSubsystems struct + Name string + type NvmfSubsystem struct + AttrAllowAnyHost int + Name string + Namespaces []NvmfNamespace + func (subsystem *NvmfSubsystem) Create() error + func (subsystem *NvmfSubsystem) WriteAllowAnyHost() error + func (subsystem *NvmfSubsystem) WriteAttr(attr string, value string) error v1.1.0 Jan 4, 2022