cephfakes

package
v0.0.0-...-b19b516 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2017 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

This file was generated by counterfeiter

This file was generated by counterfeiter

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeClient

type FakeClient struct {
	IsFilesystemMountedStub func(voldriver.Env) bool

	MountFileSystemStub func(voldriver.Env, string) (string, error)

	CreateShareStub func(voldriver.Env, string) (string, error)

	DeleteShareStub func(voldriver.Env, string) error

	GetPathsForShareStub func(voldriver.Env, string) (string, string, error)

	GetConfigDetailsStub func(voldriver.Env) (string, string, error)
	// contains filtered or unexported fields
}

func (*FakeClient) CreateShare

func (fake *FakeClient) CreateShare(arg1 voldriver.Env, arg2 string) (string, error)

func (*FakeClient) CreateShareArgsForCall

func (fake *FakeClient) CreateShareArgsForCall(i int) (voldriver.Env, string)

func (*FakeClient) CreateShareCallCount

func (fake *FakeClient) CreateShareCallCount() int

func (*FakeClient) CreateShareReturns

func (fake *FakeClient) CreateShareReturns(result1 string, result2 error)

func (*FakeClient) DeleteShare

func (fake *FakeClient) DeleteShare(arg1 voldriver.Env, arg2 string) error

func (*FakeClient) DeleteShareArgsForCall

func (fake *FakeClient) DeleteShareArgsForCall(i int) (voldriver.Env, string)

func (*FakeClient) DeleteShareCallCount

func (fake *FakeClient) DeleteShareCallCount() int

func (*FakeClient) DeleteShareReturns

func (fake *FakeClient) DeleteShareReturns(result1 error)

func (*FakeClient) GetConfigDetails

func (fake *FakeClient) GetConfigDetails(arg1 voldriver.Env) (string, string, error)

func (*FakeClient) GetConfigDetailsArgsForCall

func (fake *FakeClient) GetConfigDetailsArgsForCall(i int) voldriver.Env

func (*FakeClient) GetConfigDetailsCallCount

func (fake *FakeClient) GetConfigDetailsCallCount() int

func (*FakeClient) GetConfigDetailsReturns

func (fake *FakeClient) GetConfigDetailsReturns(result1 string, result2 string, result3 error)

func (*FakeClient) GetPathsForShare

func (fake *FakeClient) GetPathsForShare(arg1 voldriver.Env, arg2 string) (string, string, error)

func (*FakeClient) GetPathsForShareArgsForCall

func (fake *FakeClient) GetPathsForShareArgsForCall(i int) (voldriver.Env, string)

func (*FakeClient) GetPathsForShareCallCount

func (fake *FakeClient) GetPathsForShareCallCount() int

func (*FakeClient) GetPathsForShareReturns

func (fake *FakeClient) GetPathsForShareReturns(result1 string, result2 string, result3 error)

func (*FakeClient) Invocations

func (fake *FakeClient) Invocations() map[string][][]interface{}

func (*FakeClient) IsFilesystemMounted

func (fake *FakeClient) IsFilesystemMounted(arg1 voldriver.Env) bool

func (*FakeClient) IsFilesystemMountedArgsForCall

func (fake *FakeClient) IsFilesystemMountedArgsForCall(i int) voldriver.Env

func (*FakeClient) IsFilesystemMountedCallCount

func (fake *FakeClient) IsFilesystemMountedCallCount() int

func (*FakeClient) IsFilesystemMountedReturns

func (fake *FakeClient) IsFilesystemMountedReturns(result1 bool)

func (*FakeClient) MountFileSystem

func (fake *FakeClient) MountFileSystem(arg1 voldriver.Env, arg2 string) (string, error)

func (*FakeClient) MountFileSystemArgsForCall

func (fake *FakeClient) MountFileSystemArgsForCall(i int) (voldriver.Env, string)

func (*FakeClient) MountFileSystemCallCount

func (fake *FakeClient) MountFileSystemCallCount() int

func (*FakeClient) MountFileSystemReturns

func (fake *FakeClient) MountFileSystemReturns(result1 string, result2 error)

type FakeController

type FakeController struct {
	CreateStub func(env voldriver.Env, createRequest voldriver.CreateRequest) voldriver.ErrorResponse

	RemoveStub func(env voldriver.Env, removeRequest voldriver.RemoveRequest) voldriver.ErrorResponse

	BindStub func(env voldriver.Env, instanceID string) cephbroker.BindResponse
	// contains filtered or unexported fields
}

func (*FakeController) Bind

func (fake *FakeController) Bind(env voldriver.Env, instanceID string) cephbroker.BindResponse

func (*FakeController) BindArgsForCall

func (fake *FakeController) BindArgsForCall(i int) (voldriver.Env, string)

func (*FakeController) BindCallCount

func (fake *FakeController) BindCallCount() int

func (*FakeController) BindReturns

func (fake *FakeController) BindReturns(result1 cephbroker.BindResponse)

func (*FakeController) Create

func (fake *FakeController) Create(env voldriver.Env, createRequest voldriver.CreateRequest) voldriver.ErrorResponse

func (*FakeController) CreateArgsForCall

func (fake *FakeController) CreateArgsForCall(i int) (voldriver.Env, voldriver.CreateRequest)

func (*FakeController) CreateCallCount

func (fake *FakeController) CreateCallCount() int

func (*FakeController) CreateReturns

func (fake *FakeController) CreateReturns(result1 voldriver.ErrorResponse)

func (*FakeController) Invocations

func (fake *FakeController) Invocations() map[string][][]interface{}

func (*FakeController) Remove

func (fake *FakeController) Remove(env voldriver.Env, removeRequest voldriver.RemoveRequest) voldriver.ErrorResponse

func (*FakeController) RemoveArgsForCall

func (fake *FakeController) RemoveArgsForCall(i int) (voldriver.Env, voldriver.RemoveRequest)

func (*FakeController) RemoveCallCount

func (fake *FakeController) RemoveCallCount() int

func (*FakeController) RemoveReturns

func (fake *FakeController) RemoveReturns(result1 voldriver.ErrorResponse)

Jump to

Keyboard shortcuts

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