manual

package
v1.6.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 8, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Scheduler

type Scheduler struct {
	*lc.HighLevelClient
}

Scheduler places volumes according to linstor's autoplace feature.

func NewScheduler

func NewScheduler(c *lc.HighLevelClient) *Scheduler

func (*Scheduler) AccessibleTopologies

func (s *Scheduler) AccessibleTopologies(ctx context.Context, volId string, remoteAccessPolicy volume.RemoteAccessPolicy) ([]*csi.Topology, error)

func (*Scheduler) Create

func (s *Scheduler) Create(ctx context.Context, volId string, params *volume.Parameters, _ *csi.TopologyRequirement) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL