Documentation ¶
Index ¶
Constants ¶
View Source
const ( RackLabel = "failure-domain.beta.kubernetes.io/zone" StorageLabel = "node-role.kubernetes.io/storage" PrefNicPropKey = "PrefNic" )
Variables ¶
This section is empty.
Functions ¶
func GetInternalk8sClient ¶
func GetInternalk8sClient() (clientset kubernetes.Interface, err error)
Types ¶
type BalanceDecision ¶
type BalanceScheduler ¶
type BalanceScheduler struct { *lc.HighLevelClient // contains filtered or unexported fields }
func NewScheduler ¶
func NewScheduler(c *lc.HighLevelClient, log *logrus.Entry) (b BalanceScheduler, err error)
func (BalanceScheduler) AccessibleTopologies ¶
func (BalanceScheduler) Create ¶
func (b BalanceScheduler) Create(ctx context.Context, vol *volume.Info, req *csi.CreateVolumeRequest) error
type GetK8sClient ¶
type GetK8sClient func() (kubernetes.Interface, error)
type NodeLinstorClient ¶
Click to show internal directories.
Click to hide internal directories.