kubernetes_mocks

package
v0.0.0-...-e391bab Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CSIStorageCapacitiesGetter

type CSIStorageCapacitiesGetter struct {
	mock.Mock
}

CSIStorageCapacitiesGetter is an autogenerated mock type for the CSIStorageCapacitiesGetter type

func (*CSIStorageCapacitiesGetter) CSIStorageCapacities

func (_m *CSIStorageCapacitiesGetter) CSIStorageCapacities(namespace string) v1alpha1.CSIStorageCapacityInterface

CSIStorageCapacities provides a mock function with given fields: namespace

type CSIStorageCapacityExpansion

type CSIStorageCapacityExpansion struct {
	mock.Mock
}

CSIStorageCapacityExpansion is an autogenerated mock type for the CSIStorageCapacityExpansion type

type CSIStorageCapacityInterface

type CSIStorageCapacityInterface struct {
	mock.Mock
}

CSIStorageCapacityInterface is an autogenerated mock type for the CSIStorageCapacityInterface type

func (*CSIStorageCapacityInterface) Create

Create provides a mock function with given fields: ctx, cSIStorageCapacity, opts

func (*CSIStorageCapacityInterface) Delete

Delete provides a mock function with given fields: ctx, name, opts

func (*CSIStorageCapacityInterface) DeleteCollection

func (_m *CSIStorageCapacityInterface) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection provides a mock function with given fields: ctx, opts, listOpts

func (*CSIStorageCapacityInterface) Get

Get provides a mock function with given fields: ctx, name, opts

func (*CSIStorageCapacityInterface) List

List provides a mock function with given fields: ctx, opts

func (*CSIStorageCapacityInterface) Patch

func (_m *CSIStorageCapacityInterface) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (*v1alpha1.CSIStorageCapacity, error)

Patch provides a mock function with given fields: ctx, name, pt, data, opts, subresources

func (*CSIStorageCapacityInterface) Update

Update provides a mock function with given fields: ctx, cSIStorageCapacity, opts

func (*CSIStorageCapacityInterface) Watch

Watch provides a mock function with given fields: ctx, opts

type StorageV1alpha1Interface

type StorageV1alpha1Interface struct {
	mock.Mock
}

StorageV1alpha1Interface is an autogenerated mock type for the StorageV1alpha1Interface type

func (*StorageV1alpha1Interface) CSIStorageCapacities

func (_m *StorageV1alpha1Interface) CSIStorageCapacities(namespace string) v1alpha1.CSIStorageCapacityInterface

CSIStorageCapacities provides a mock function with given fields: namespace

func (*StorageV1alpha1Interface) RESTClient

func (_m *StorageV1alpha1Interface) RESTClient() rest.Interface

RESTClient provides a mock function with given fields:

func (*StorageV1alpha1Interface) VolumeAttachments

VolumeAttachments provides a mock function with given fields:

type VolumeAttachmentExpansion

type VolumeAttachmentExpansion struct {
	mock.Mock
}

VolumeAttachmentExpansion is an autogenerated mock type for the VolumeAttachmentExpansion type

type VolumeAttachmentInterface

type VolumeAttachmentInterface struct {
	mock.Mock
}

VolumeAttachmentInterface is an autogenerated mock type for the VolumeAttachmentInterface type

func (*VolumeAttachmentInterface) Create

Create provides a mock function with given fields: ctx, volumeAttachment, opts

func (*VolumeAttachmentInterface) Delete

Delete provides a mock function with given fields: ctx, name, opts

func (*VolumeAttachmentInterface) DeleteCollection

func (_m *VolumeAttachmentInterface) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection provides a mock function with given fields: ctx, opts, listOpts

func (*VolumeAttachmentInterface) Get

Get provides a mock function with given fields: ctx, name, opts

func (*VolumeAttachmentInterface) List

List provides a mock function with given fields: ctx, opts

func (*VolumeAttachmentInterface) Patch

func (_m *VolumeAttachmentInterface) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (*v1alpha1.VolumeAttachment, error)

Patch provides a mock function with given fields: ctx, name, pt, data, opts, subresources

func (*VolumeAttachmentInterface) Update

Update provides a mock function with given fields: ctx, volumeAttachment, opts

func (*VolumeAttachmentInterface) UpdateStatus

UpdateStatus provides a mock function with given fields: ctx, volumeAttachment, opts

func (*VolumeAttachmentInterface) Watch

Watch provides a mock function with given fields: ctx, opts

type VolumeAttachmentsGetter

type VolumeAttachmentsGetter struct {
	mock.Mock
}

VolumeAttachmentsGetter is an autogenerated mock type for the VolumeAttachmentsGetter type

func (*VolumeAttachmentsGetter) VolumeAttachments

VolumeAttachments provides a mock function with given fields:

Jump to

Keyboard shortcuts

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