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 CSIDriverExpansion

type CSIDriverExpansion struct {
	mock.Mock
}

CSIDriverExpansion is an autogenerated mock type for the CSIDriverExpansion type

type CSIDriverInterface

type CSIDriverInterface struct {
	mock.Mock
}

CSIDriverInterface is an autogenerated mock type for the CSIDriverInterface type

func (*CSIDriverInterface) Create

func (_m *CSIDriverInterface) Create(ctx context.Context, cSIDriver *v1beta1.CSIDriver, opts v1.CreateOptions) (*v1beta1.CSIDriver, error)

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

func (*CSIDriverInterface) Delete

func (_m *CSIDriverInterface) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

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

func (*CSIDriverInterface) DeleteCollection

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

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

func (*CSIDriverInterface) Get

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

func (*CSIDriverInterface) List

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

func (*CSIDriverInterface) Patch

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

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

func (*CSIDriverInterface) Update

func (_m *CSIDriverInterface) Update(ctx context.Context, cSIDriver *v1beta1.CSIDriver, opts v1.UpdateOptions) (*v1beta1.CSIDriver, error)

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

func (*CSIDriverInterface) Watch

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

type CSIDriversGetter

type CSIDriversGetter struct {
	mock.Mock
}

CSIDriversGetter is an autogenerated mock type for the CSIDriversGetter type

func (*CSIDriversGetter) CSIDrivers

func (_m *CSIDriversGetter) CSIDrivers() v1beta1.CSIDriverInterface

CSIDrivers provides a mock function with given fields:

type CSINodeExpansion

type CSINodeExpansion struct {
	mock.Mock
}

CSINodeExpansion is an autogenerated mock type for the CSINodeExpansion type

type CSINodeInterface

type CSINodeInterface struct {
	mock.Mock
}

CSINodeInterface is an autogenerated mock type for the CSINodeInterface type

func (*CSINodeInterface) Create

func (_m *CSINodeInterface) Create(ctx context.Context, cSINode *v1beta1.CSINode, opts v1.CreateOptions) (*v1beta1.CSINode, error)

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

func (*CSINodeInterface) Delete

func (_m *CSINodeInterface) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

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

func (*CSINodeInterface) DeleteCollection

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

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

func (*CSINodeInterface) Get

func (_m *CSINodeInterface) Get(ctx context.Context, name string, opts v1.GetOptions) (*v1beta1.CSINode, error)

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

func (*CSINodeInterface) List

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

func (*CSINodeInterface) Patch

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

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

func (*CSINodeInterface) Update

func (_m *CSINodeInterface) Update(ctx context.Context, cSINode *v1beta1.CSINode, opts v1.UpdateOptions) (*v1beta1.CSINode, error)

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

func (*CSINodeInterface) Watch

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

type CSINodesGetter

type CSINodesGetter struct {
	mock.Mock
}

CSINodesGetter is an autogenerated mock type for the CSINodesGetter type

func (*CSINodesGetter) CSINodes

func (_m *CSINodesGetter) CSINodes() v1beta1.CSINodeInterface

CSINodes provides a mock function with given fields:

type StorageClassExpansion

type StorageClassExpansion struct {
	mock.Mock
}

StorageClassExpansion is an autogenerated mock type for the StorageClassExpansion type

type StorageClassInterface

type StorageClassInterface struct {
	mock.Mock
}

StorageClassInterface is an autogenerated mock type for the StorageClassInterface type

func (*StorageClassInterface) Create

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

func (*StorageClassInterface) Delete

func (_m *StorageClassInterface) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

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

func (*StorageClassInterface) DeleteCollection

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

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

func (*StorageClassInterface) Get

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

func (*StorageClassInterface) List

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

func (*StorageClassInterface) Patch

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

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

func (*StorageClassInterface) Update

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

func (*StorageClassInterface) Watch

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

type StorageClassesGetter

type StorageClassesGetter struct {
	mock.Mock
}

StorageClassesGetter is an autogenerated mock type for the StorageClassesGetter type

func (*StorageClassesGetter) StorageClasses

func (_m *StorageClassesGetter) StorageClasses() v1beta1.StorageClassInterface

StorageClasses provides a mock function with given fields:

type StorageV1beta1Interface

type StorageV1beta1Interface struct {
	mock.Mock
}

StorageV1beta1Interface is an autogenerated mock type for the StorageV1beta1Interface type

func (*StorageV1beta1Interface) CSIDrivers

CSIDrivers provides a mock function with given fields:

func (*StorageV1beta1Interface) CSINodes

CSINodes provides a mock function with given fields:

func (*StorageV1beta1Interface) RESTClient

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

RESTClient provides a mock function with given fields:

func (*StorageV1beta1Interface) StorageClasses

StorageClasses provides a mock function with given fields:

func (*StorageV1beta1Interface) 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) (*v1beta1.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