nnf

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 21, 2024 License: Apache-2.0 Imports: 11 Imported by: 2

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 BindFlags

func BindFlags(fs *flag.FlagSet) *Options

func NewMockOptions

func NewMockOptions(persistence bool) *Options

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL