mocks

package
v1.13.2-rc.1 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type VolumeSnapshotter

type VolumeSnapshotter struct {
	mock.Mock
}

VolumeSnapshotter is an autogenerated mock type for the VolumeSnapshotter type

func (*VolumeSnapshotter) CreateSnapshot

func (_m *VolumeSnapshotter) CreateSnapshot(volumeID string, volumeAZ string, tags map[string]string) (string, error)

CreateSnapshot provides a mock function with given fields: volumeID, volumeAZ, tags

func (*VolumeSnapshotter) CreateVolumeFromSnapshot

func (_m *VolumeSnapshotter) CreateVolumeFromSnapshot(snapshotID string, volumeType string, volumeAZ string, iops *int64) (string, error)

CreateVolumeFromSnapshot provides a mock function with given fields: snapshotID, volumeType, volumeAZ, iops

func (*VolumeSnapshotter) DeleteSnapshot

func (_m *VolumeSnapshotter) DeleteSnapshot(snapshotID string) error

DeleteSnapshot provides a mock function with given fields: snapshotID

func (*VolumeSnapshotter) GetVolumeID

func (_m *VolumeSnapshotter) GetVolumeID(pv runtime.Unstructured) (string, error)

GetVolumeID provides a mock function with given fields: pv

func (*VolumeSnapshotter) GetVolumeInfo

func (_m *VolumeSnapshotter) GetVolumeInfo(volumeID string, volumeAZ string) (string, *int64, error)

GetVolumeInfo provides a mock function with given fields: volumeID, volumeAZ

func (*VolumeSnapshotter) Init

func (_m *VolumeSnapshotter) Init(config map[string]string) error

Init provides a mock function with given fields: config

func (*VolumeSnapshotter) SetVolumeID

func (_m *VolumeSnapshotter) SetVolumeID(pv runtime.Unstructured, volumeID string) (runtime.Unstructured, error)

SetVolumeID provides a mock function with given fields: pv, volumeID

Jump to

Keyboard shortcuts

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