mocks

package
v0.10.2 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2020 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 Client

type Client struct {
	mock.Mock
}

Client is an autogenerated mock type for the Client type

func (*Client) AttachVolume

func (_m *Client) AttachVolume(ctx context.Context, in *proto.AttachVolumeOpts, opts ...grpc.CallOption) (*proto.GenericResponse, error)

AttachVolume provides a mock function with given fields: ctx, in, opts

func (*Client) Close

func (_m *Client) Close()

Close provides a mock function with given fields:

func (*Client) CollectMetrics added in v0.5.3

func (_m *Client) CollectMetrics(ctx context.Context, in *proto.CollectMetricsOpts, opts ...grpc.CallOption) (*proto.GenericResponse, error)

CollectMetrics provides a mock function with given fields: ctx, in, opts

func (*Client) Connect

func (_m *Client) Connect(edp string) error

Connect provides a mock function with given fields: edp

func (*Client) CreateFileShare added in v0.5.3

func (_m *Client) CreateFileShare(ctx context.Context, in *proto.CreateFileShareOpts, opts ...grpc.CallOption) (*proto.GenericResponse, error)

CreateFileShare provides a mock function with given fields: ctx, in, opts

func (*Client) CreateFileShareAcl added in v0.5.3

func (_m *Client) CreateFileShareAcl(ctx context.Context, in *proto.CreateFileShareAclOpts, opts ...grpc.CallOption) (*proto.GenericResponse, error)

CreateFileShareAcl provides a mock function with given fields: ctx, in, opts

func (*Client) CreateReplication

func (_m *Client) CreateReplication(ctx context.Context, in *proto.CreateReplicationOpts, opts ...grpc.CallOption) (*proto.GenericResponse, error)

CreateReplication provides a mock function with given fields: ctx, in, opts

func (*Client) CreateVolume

func (_m *Client) CreateVolume(ctx context.Context, in *proto.CreateVolumeOpts, opts ...grpc.CallOption) (*proto.GenericResponse, error)

CreateVolume provides a mock function with given fields: ctx, in, opts

func (*Client) CreateVolumeAttachment added in v0.5.1

func (_m *Client) CreateVolumeAttachment(ctx context.Context, in *proto.CreateVolumeAttachmentOpts, opts ...grpc.CallOption) (*proto.GenericResponse, error)

CreateVolumeAttachment provides a mock function with given fields: ctx, in, opts

func (*Client) CreateVolumeGroup

func (_m *Client) CreateVolumeGroup(ctx context.Context, in *proto.CreateVolumeGroupOpts, opts ...grpc.CallOption) (*proto.GenericResponse, error)

CreateVolumeGroup provides a mock function with given fields: ctx, in, opts

func (*Client) CreateVolumeSnapshot

func (_m *Client) CreateVolumeSnapshot(ctx context.Context, in *proto.CreateVolumeSnapshotOpts, opts ...grpc.CallOption) (*proto.GenericResponse, error)

CreateVolumeSnapshot provides a mock function with given fields: ctx, in, opts

func (*Client) DeleteFileShare added in v0.5.3

func (_m *Client) DeleteFileShare(ctx context.Context, in *proto.DeleteFileShareOpts, opts ...grpc.CallOption) (*proto.GenericResponse, error)

DeleteFileShare provides a mock function with given fields: ctx, in, opts

func (*Client) DeleteReplication

func (_m *Client) DeleteReplication(ctx context.Context, in *proto.DeleteReplicationOpts, opts ...grpc.CallOption) (*proto.GenericResponse, error)

DeleteReplication provides a mock function with given fields: ctx, in, opts

func (*Client) DeleteVolume

func (_m *Client) DeleteVolume(ctx context.Context, in *proto.DeleteVolumeOpts, opts ...grpc.CallOption) (*proto.GenericResponse, error)

DeleteVolume provides a mock function with given fields: ctx, in, opts

func (*Client) DeleteVolumeAttachment added in v0.5.1

func (_m *Client) DeleteVolumeAttachment(ctx context.Context, in *proto.DeleteVolumeAttachmentOpts, opts ...grpc.CallOption) (*proto.GenericResponse, error)

DeleteVolumeAttachment provides a mock function with given fields: ctx, in, opts

func (*Client) DeleteVolumeGroup

func (_m *Client) DeleteVolumeGroup(ctx context.Context, in *proto.DeleteVolumeGroupOpts, opts ...grpc.CallOption) (*proto.GenericResponse, error)

DeleteVolumeGroup provides a mock function with given fields: ctx, in, opts

func (*Client) DeleteVolumeSnapshot

func (_m *Client) DeleteVolumeSnapshot(ctx context.Context, in *proto.DeleteVolumeSnapshotOpts, opts ...grpc.CallOption) (*proto.GenericResponse, error)

DeleteVolumeSnapshot provides a mock function with given fields: ctx, in, opts

func (*Client) DetachVolume

func (_m *Client) DetachVolume(ctx context.Context, in *proto.DetachVolumeOpts, opts ...grpc.CallOption) (*proto.GenericResponse, error)

DetachVolume provides a mock function with given fields: ctx, in, opts

func (*Client) DisableReplication

func (_m *Client) DisableReplication(ctx context.Context, in *proto.DisableReplicationOpts, opts ...grpc.CallOption) (*proto.GenericResponse, error)

DisableReplication provides a mock function with given fields: ctx, in, opts

func (*Client) EnableReplication

func (_m *Client) EnableReplication(ctx context.Context, in *proto.EnableReplicationOpts, opts ...grpc.CallOption) (*proto.GenericResponse, error)

EnableReplication provides a mock function with given fields: ctx, in, opts

func (*Client) ExtendVolume

func (_m *Client) ExtendVolume(ctx context.Context, in *proto.ExtendVolumeOpts, opts ...grpc.CallOption) (*proto.GenericResponse, error)

ExtendVolume provides a mock function with given fields: ctx, in, opts

func (*Client) FailoverReplication

func (_m *Client) FailoverReplication(ctx context.Context, in *proto.FailoverReplicationOpts, opts ...grpc.CallOption) (*proto.GenericResponse, error)

FailoverReplication provides a mock function with given fields: ctx, in, opts

func (*Client) UpdateVolumeGroup

func (_m *Client) UpdateVolumeGroup(ctx context.Context, in *proto.UpdateVolumeGroupOpts, opts ...grpc.CallOption) (*proto.GenericResponse, error)

UpdateVolumeGroup provides a mock function with given fields: ctx, in, opts

Jump to

Keyboard shortcuts

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