followtopology

package
v0.15.1 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2021 License: Apache-2.0 Imports: 11 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
	// contains filtered or unexported fields
}

Scheduler places volumes according to linstor's autoplace feature.

func NewScheduler

func NewScheduler(c *lc.HighLevelClient, l *logrus.Entry) *Scheduler

func (*Scheduler) AccessibleTopologies

func (s *Scheduler) AccessibleTopologies(ctx context.Context, vol *volume.Info) ([]*csi.Topology, error)

func (*Scheduler) Create

func (s *Scheduler) Create(ctx context.Context, vol *volume.Info, req *csi.CreateVolumeRequest) error

Jump to

Keyboard shortcuts

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