volume

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: May 31, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeRuntimeService

type FakeRuntimeService struct {
	sync.Mutex

	Volumes             map[string]*FakeVolume
	VolumeClassesStatus map[string]*FakeVolumeClassStatus
	// contains filtered or unexported fields
}

func NewFakeRuntimeService

func NewFakeRuntimeService() *FakeRuntimeService

func (*FakeRuntimeService) CreateVolume

func (*FakeRuntimeService) DeleteVolume

func (*FakeRuntimeService) ExpandVolume

func (*FakeRuntimeService) ListVolumes

func (*FakeRuntimeService) SetVolumeClasses

func (r *FakeRuntimeService) SetVolumeClasses(volumeClassStatus []*FakeVolumeClassStatus)

func (*FakeRuntimeService) SetVolumes

func (r *FakeRuntimeService) SetVolumes(volumes []*FakeVolume)

func (*FakeRuntimeService) Status

type FakeVolume

type FakeVolume struct {
	iri.Volume
}

type FakeVolumeClassStatus

type FakeVolumeClassStatus struct {
	iri.VolumeClassStatus
}

Jump to

Keyboard shortcuts

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