nnf

package
v0.1.13 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2025 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, 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 BindFlags

func BindFlags(fs *flag.FlagSet) *Options

func NewMockOptions

func NewMockOptions(persistence bool) *Options

func (*Options) DeleteUnknownVolumes added in v0.1.2

func (o *Options) DeleteUnknownVolumes() bool

func (*Options) ReplaceMissingVolumes added in v0.1.7

func (o *Options) ReplaceMissingVolumes() bool

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

Jump to

Keyboard shortcuts

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