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 (b BalanceScheduler) AccessibleTopologies(ctx context.Context, volId string, remoteAccessPolicy volume.RemoteAccessPolicy) ([]*csi.Topology, error)
func (BalanceScheduler) Create ¶
func (b BalanceScheduler) Create(ctx context.Context, volId string, params *volume.Parameters, topologies *csi.TopologyRequirement) error
type GetK8sClient ¶
type GetK8sClient func() (kubernetes.Interface, error)
type NodeLinstorClient ¶
Click to show internal directories.
Click to hide internal directories.