mocks

package
v1.12.4 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 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 VolumeSnapshotLister

type VolumeSnapshotLister struct {
	mock.Mock
}

VolumeSnapshotLister is an autogenerated mock type for the VolumeSnapshotLister type

func NewVolumeSnapshotLister

func NewVolumeSnapshotLister(t interface {
	mock.TestingT
	Cleanup(func())
}) *VolumeSnapshotLister

NewVolumeSnapshotLister creates a new instance of VolumeSnapshotLister. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*VolumeSnapshotLister) List

func (_m *VolumeSnapshotLister) List(selector labels.Selector) ([]*v1.VolumeSnapshot, error)

List provides a mock function with given fields: selector

func (*VolumeSnapshotLister) VolumeSnapshots

VolumeSnapshots provides a mock function with given fields: namespace

Jump to

Keyboard shortcuts

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