Documentation
¶
Index ¶
- Constants
- func WithClient(client *rest.Config) func(*HostSideManager)
- func WithPathManager(pathManager utils.PathManager) func(*DpuSideManager)
- func WithPathManager2(pathManager *utils.PathManager) func(*HostSideManager)
- func WithSriovManager(manager sriov.Manager) func(*HostSideManager)
- type Daemon
- type DpuSideManager
- func (s *DpuSideManager) CreateBridgePort(context context.Context, bpr *pb.CreateBridgePortRequest) (*pb.BridgePort, error)
- func (s *DpuSideManager) DeleteBridgePort(context context.Context, bpr *pb.DeleteBridgePortRequest) (*emptypb.Empty, error)
- func (d *DpuSideManager) Listen() (net.Listener, error)
- func (d *DpuSideManager) ListenAndServe(ctx context.Context) error
- func (d *DpuSideManager) Serve(ctx context.Context, listener net.Listener) error
- func (d *DpuSideManager) SetupDevices() error
- func (d *DpuSideManager) StartVsp(ctx context.Context) error
- type HostSideManager
- func (d *HostSideManager) CreateBridgePort(pf int, vf int, vlan int, mac string) (*pb.BridgePort, error)
- func (d *HostSideManager) DeleteBridgePort(pf int, vf int, vlan int, mac string) error
- func (d *HostSideManager) Listen() (net.Listener, error)
- func (d *HostSideManager) ListenAndServe(ctx context.Context) error
- func (d *HostSideManager) Serve(ctx context.Context, listener net.Listener) error
- func (d *HostSideManager) SetupDevices() error
- func (d *HostSideManager) StartVsp(ctx context.Context) error
- func (d *HostSideManager) WithManager(manager ctrl.Manager) *HostSideManager
- type ManagedDpu
- type SideManager
Constants ¶
View Source
const DpuSideLabelKey = "dpu.config.openshift.io/dpuside"
Variables ¶
This section is empty.
Functions ¶
func WithClient ¶
func WithClient(client *rest.Config) func(*HostSideManager)
func WithPathManager ¶
func WithPathManager(pathManager utils.PathManager) func(*DpuSideManager)
func WithPathManager2 ¶
func WithPathManager2(pathManager *utils.PathManager) func(*HostSideManager)
func WithSriovManager ¶
func WithSriovManager(manager sriov.Manager) func(*HostSideManager)
Types ¶
type Daemon ¶
type Daemon struct {
// contains filtered or unexported fields
}
func (*Daemon) SyncDpuCRs ¶
func (*Daemon) WithNodeName ¶
type DpuSideManager ¶
type DpuSideManager struct { pb.UnimplementedBridgePortServiceServer pb2.UnimplementedDeviceServiceServer // contains filtered or unexported fields }
func NewDpuSideManager ¶
func NewDpuSideManager(vsp plugin.VendorPlugin, config *rest.Config, opts ...func(*DpuSideManager)) (*DpuSideManager, error)
func (*DpuSideManager) CreateBridgePort ¶
func (s *DpuSideManager) CreateBridgePort(context context.Context, bpr *pb.CreateBridgePortRequest) (*pb.BridgePort, error)
func (*DpuSideManager) DeleteBridgePort ¶
func (s *DpuSideManager) DeleteBridgePort(context context.Context, bpr *pb.DeleteBridgePortRequest) (*emptypb.Empty, error)
func (*DpuSideManager) ListenAndServe ¶
func (d *DpuSideManager) ListenAndServe(ctx context.Context) error
func (*DpuSideManager) SetupDevices ¶
func (d *DpuSideManager) SetupDevices() error
type HostSideManager ¶
type HostSideManager struct {
// contains filtered or unexported fields
}
func NewHostSideManager ¶
func NewHostSideManager(vsp plugin.VendorPlugin, opts ...func(*HostSideManager)) (*HostSideManager, error)
func (*HostSideManager) CreateBridgePort ¶
func (d *HostSideManager) CreateBridgePort(pf int, vf int, vlan int, mac string) (*pb.BridgePort, error)
func (*HostSideManager) DeleteBridgePort ¶
func (*HostSideManager) ListenAndServe ¶
func (d *HostSideManager) ListenAndServe(ctx context.Context) error
func (*HostSideManager) SetupDevices ¶
func (d *HostSideManager) SetupDevices() error
func (*HostSideManager) WithManager ¶
func (d *HostSideManager) WithManager(manager ctrl.Manager) *HostSideManager
type ManagedDpu ¶
type ManagedDpu struct { DpuCR *configv1.DataProcessingUnit Plugin *plugin.GrpcPlugin Manager SideManager }
ManagedDpu represents a DPU with all its runtime state and management components
Directories
¶
Path | Synopsis |
---|---|
vendor-specific-plugins
|
|
intel-netsec
command
|
|
marvell
command
|
|
marvell/cp-agent
command
|
|
Click to show internal directories.
Click to hide internal directories.