network

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2021 License: Apache-2.0 Imports: 7 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Source

type Source struct{}

Source implements FeatureSource.

func (Source) Discover

func (s Source) Discover() (source.Features, error)

Discover returns feature names sriov-configured and sriov if SR-IOV capable NICs are present and/or SR-IOV virtual functions are configured on the node

func (*Source) GetConfig added in v0.6.0

func (s *Source) GetConfig() source.Config

GetConfig method of the FeatureSource interface

func (Source) Name

func (s Source) Name() string

Name returns an identifier string for this feature source.

func (*Source) NewConfig added in v0.6.0

func (s *Source) NewConfig() source.Config

NewConfig method of the FeatureSource interface

func (*Source) SetConfig added in v0.6.0

func (s *Source) SetConfig(source.Config)

SetConfig method of the FeatureSource interface

Jump to

Keyboard shortcuts

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