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) 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 ¶
Click to show internal directories.
Click to hide internal directories.