Documentation
¶
Index ¶
Constants ¶
View Source
const ( Name = "nnf-ec" Port = 50057 Version = "v2" )
Variables ¶
This section is empty.
Functions ¶
func NewController ¶
func NewController(opts *Options) *ec.Controller
NewController - Create a new NNF Element Controller with the desired mocking behavior
func NewDefaultApiRouters ¶
func NewDefaultApiRouters(switchCtrl fabric.SwitchtecControllerInterface, nvmeCtrl nvme.NvmeController, nnfCtrl nnf.NnfControllerInterface, nnfUnknownVolumes bool, nnfReplaceMissingVolumes bool) ec.Routers
NewDefaultApiRouters - Create the default set of API routers for the NNF Element Controller
Types ¶
type Options ¶
type Options struct {
InitializeAndExit bool // Initialize all controllers then exit without starting the http server (mfg use)
// contains filtered or unexported fields
}
func NewMockOptions ¶
func (*Options) DeleteUnknownVolumes ¶ added in v0.1.2
func (*Options) ReplaceMissingVolumes ¶ added in v0.1.7
Directories
¶
| Path | Synopsis |
|---|---|
|
generator
command
|
|
|
Package persistent provides persistent storage functionality for key-value operations.
|
Package persistent provides persistent storage functionality for key-value operations. |
|
debug
command
|
|
|
rfsf
|
|
|
cmd/evttest
command
|
|
|
cmd/rfsf
command
|
|
Click to show internal directories.
Click to hide internal directories.