Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HwMgrAdaptor ¶
type HwMgrAdaptor struct {
// contains filtered or unexported fields
}
func NewHwMgrAdaptor ¶
func NewHwMgrAdaptor(config *HwMgrAdaptorConfig) (hwmgr *HwMgrAdaptor, err error)
type HwMgrAdaptorConfig ¶
Define the HwMgrAdaptor structures
type HwMgrAdaptorIntf ¶
type HwMgrAdaptorIntf interface { SetupAdaptor(mgr ctrl.Manager) error HandleNodePool(ctx context.Context, hwmgr *pluginv1alpha1.HardwareManager, nodepool *hwmgmtv1alpha1.NodePool) (ctrl.Result, error) HandleNodePoolDeletion(ctx context.Context, hwmgr *pluginv1alpha1.HardwareManager, nodepool *hwmgmtv1alpha1.NodePool) error GetResourcePools(ctx context.Context, hwmgr *pluginv1alpha1.HardwareManager) ([]invserver.ResourcePoolInfo, int, error) GetResources(ctx context.Context, hwmgr *pluginv1alpha1.HardwareManager) ([]invserver.ResourceInfo, int, error) }
Click to show internal directories.
Click to hide internal directories.