volume

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2023 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
	VolumeClasses map[string]*FakeVolumeClass
	// contains filtered or unexported fields
}

func NewFakeRuntimeService

func NewFakeRuntimeService() *FakeRuntimeService

func (*FakeRuntimeService) CreateVolume

func (*FakeRuntimeService) DeleteVolume

func (*FakeRuntimeService) ListVolumeClasses

func (*FakeRuntimeService) ListVolumes

func (*FakeRuntimeService) SetVolumeClasses

func (r *FakeRuntimeService) SetVolumeClasses(volumeClasses []*FakeVolumeClass)

func (*FakeRuntimeService) SetVolumes

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

type FakeVolume

type FakeVolume struct {
	ori.Volume
}

type FakeVolumeClass

type FakeVolumeClass struct {
	ori.VolumeClass
}

Jump to

Keyboard shortcuts

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