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) ec.Routers
NewDefaultApiRouters -
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
Directories
¶
| Path | Synopsis |
|---|---|
|
generator
command
|
|
|
debug
command
|
|
|
rfsf
|
|
|
cmd/evttest
command
|
|
|
cmd/rfsf
command
|
|
Click to show internal directories.
Click to hide internal directories.