Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ManagerInterface ¶
type ManagerInterface interface { ClearPCIAddressFolder() error SaveLastPfAppliedStatus(PfInfo *sriovnetworkv1.Interface) error RemovePfAppliedStatus(pciAddress string) error LoadPfsStatus(pciAddress string) (*sriovnetworkv1.Interface, bool, error) GetCheckPointNodeState() (*sriovnetworkv1.SriovNetworkNodeState, error) WriteCheckpointFile(*sriovnetworkv1.SriovNetworkNodeState) error }
Contains all the file storing on the host
func NewManager ¶
func NewManager() (ManagerInterface, error)
NewManager: create the initial folders needed to store the info about the PF and return a manager struct that implements the ManagerInterface interface
Click to show internal directories.
Click to hide internal directories.