nfdmaster

package
v0.12.5 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2023 License: Apache-2.0 Imports: 36 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Annotations

type Annotations map[string]string

Annotations are used for NFD-related node metadata

type Args

type Args struct {
	CaFile               string
	CertFile             string
	ExtraLabelNs         utils.StringSetVal
	Instance             string
	KeyFile              string
	Kubeconfig           string
	LabelWhiteList       utils.RegexpVal
	CrdController        bool
	EnableNodeFeatureApi bool
	NoPublish            bool
	EnableTaints         bool
	Port                 int
	Prune                bool
	VerifyNodeName       bool
	ResourceLabels       utils.StringSetVal
}

Args holds command line arguments

type ExtendedResources added in v0.6.0

type ExtendedResources map[string]string

ExtendedResources are k8s extended resources which are created from discovered features.

type Labels

type Labels map[string]string

Labels are a Kubernetes representation of discovered features.

type NfdMaster

type NfdMaster interface {
	Run() error
	Stop()
	WaitForReady(time.Duration) bool
}

func NewNfdMaster

func NewNfdMaster(args *Args) (NfdMaster, error)

NewNfdMaster creates a new NfdMaster server instance.

Jump to

Keyboard shortcuts

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