Versions in this module Expand all Collapse all v0 v0.7.0 Dec 5, 2019 Changes in this version + var MockACL = &mockACLResult + var MockCtrlrResults = NvmeControllerResults + var MockCtrlrs = NvmeControllers + var MockErr = errors.New("unknown failure") + var MockModuleResults = ScmModuleResults + var MockMountResults = ScmMountResults + var MockMounts = ScmMounts + var MockScmModules = ScmModules + var MockScmNamespaces = ScmNamespaces + var MockServers = Addresses + var MockState = ctlpb.ResponseState + var MockSuccessState = ctlpb.ResponseState + func StorageFormatRequest(mc Control, parms interface{}, ch chan ClientResult) + type AccessControlList struct + Entries []string + func (acl *AccessControlList) Empty() bool + func (acl *AccessControlList) String() string + type Addresses []string + type ClientBioResult struct + Address string + Err error + Stats *mgmtpb.BioHealthResp + func (cr ClientBioResult) String() string + type ClientCtrlrMap map[string]pb_types.CtrlrResults + func NewClientNvmeResults(results []*ctlpb.NvmeControllerResult, addrs Addresses) ClientCtrlrMap + func (ccm ClientCtrlrMap) String() string + type ClientMountMap map[string]pb_types.MountResults + func NewClientScmMount(mounts ScmMounts, addrs Addresses) ClientMountMap + func NewClientScmMountResults(results []*ctlpb.ScmMountResult, addrs Addresses) ClientMountMap + func (cmm ClientMountMap) String() string + type ClientResult struct + Address string + Err error + Value interface{} + func (cr ClientResult) String() string + type ClientSmdResult struct + Address string + Devs *mgmtpb.SmdDevResp + Err error + Pools *mgmtpb.SmdPoolResp + func (cr ClientSmdResult) String() string + type Configuration struct + AccessPoints []string + Ext External + HostFile string + HostList []string + LogFile string + LogFileFormat string + Path string + Port int + RuntimeDir string + SystemName string + TransportConfig *security.TransportConfig + func GetConfig(log logging.Logger, ConfigPath string) (*Configuration, error) + func NewConfiguration() *Configuration + func (c *Configuration) LoadConfig() error + type Connect interface + BioHealthQuery func(*mgmtpb.BioHealthReq) ResultQueryMap + ClearConns func() ResultMap + ConnectClients func(Addresses) ResultMap + GetActiveConns func(ResultMap) ResultMap + KillRank func(rank uint32) ResultMap + NetworkListProviders func() ResultMap + NetworkScanDevices func(searchProvider string) NetworkScanResultMap + PoolCreate func(*PoolCreateReq) (*PoolCreateResp, error) + PoolDeleteACL func(PoolDeleteACLReq) (*PoolDeleteACLResp, error) + PoolDestroy func(*PoolDestroyReq) error + PoolGetACL func(PoolGetACLReq) (*PoolGetACLResp, error) + PoolOverwriteACL func(PoolOverwriteACLReq) (*PoolOverwriteACLResp, error) + PoolUpdateACL func(PoolUpdateACLReq) (*PoolUpdateACLResp, error) + SetTransportConfig func(*security.TransportConfig) + SmdListDevs func(*mgmtpb.SmdDevReq) ResultSmdMap + SmdListPools func(*mgmtpb.SmdPoolReq) ResultSmdMap + StorageFormat func(reformat bool) (ClientCtrlrMap, ClientMountMap) + StoragePrepare func(*ctlpb.StoragePrepareReq) ResultMap + StorageScan func(*StorageScanReq) *StorageScanResp + SystemMemberQuery func() (common.SystemMembers, error) + SystemStop func() (common.SystemMemberResults, error) + func NewConnect(log logging.Logger) Connect + type Control interface + type ControllerFactory interface + type External interface + Getenv func(string) string + RunCommand func(string) error + type NetworkScanResult struct + func (nsr NetworkScanResult) String() string + type NetworkScanResultMap map[string][]NetworkScanResult + func (nsrm NetworkScanResultMap) String() string + type NvmeScanResult struct + Ctrlrs pb_types.NvmeControllers + Err error + func (result *NvmeScanResult) String() string + func (result *NvmeScanResult) StringHealthStats() string + func (result *NvmeScanResult) Summary() (out string) + type NvmeScanResults map[string]*NvmeScanResult + type PoolCreateReq struct + ACL *AccessControlList + Grp string + NumSvcReps uint32 + NvmeBytes uint64 + RankList string + ScmBytes uint64 + Sys string + UUID string + Usr string + type PoolCreateResp struct + SvcReps string + UUID string + type PoolDeleteACLReq struct + Principal string + UUID string + type PoolDeleteACLResp struct + ACL *AccessControlList + type PoolDestroyReq struct + Force bool + UUID string + type PoolGetACLReq struct + UUID string + type PoolGetACLResp struct + ACL *AccessControlList + type PoolOverwriteACLReq struct + ACL *AccessControlList + UUID string + type PoolOverwriteACLResp struct + ACL *AccessControlList + type PoolUpdateACLReq struct + ACL *AccessControlList + UUID string + type PoolUpdateACLResp struct + ACL *AccessControlList + type ProviderListResult struct + type ResultMap map[string]ClientResult + func (rm ResultMap) String() string + type ResultQueryMap map[string]ClientBioResult + func (rm ResultQueryMap) String() string + type ResultSmdMap map[string]ClientSmdResult + func (rm ResultSmdMap) String() string + type ScmScanResult struct + Err error + Modules storage.ScmModules + Namespaces storage.ScmNamespaces + func (result *ScmScanResult) String() string + func (result *ScmScanResult) Summary() (out string) + type ScmScanResults map[string]*ScmScanResult + type StorageFormatResult struct + type StorageScanReq struct + Summary bool + type StorageScanResp struct + Nvme NvmeScanResults + Scm ScmScanResults + Servers []string + func MockScanResp(cs NvmeControllers, ms ScmModules, nss ScmNamespaces, addrs Addresses, ...) *StorageScanResp + func (ssr *StorageScanResp) String() string + func (ssr *StorageScanResp) StringHealthStats() string