Documentation ¶
Index ¶
- type MockCOSIIdentityServer
- type MockCOSIIdentityServer_DriverGetInfo_Call
- func (_c *MockCOSIIdentityServer_DriverGetInfo_Call) Return(_a0 *cosi.DriverGetInfoResponse, _a1 error) *MockCOSIIdentityServer_DriverGetInfo_Call
- func (_c *MockCOSIIdentityServer_DriverGetInfo_Call) Run(run func(_a0 context.Context, _a1 *cosi.DriverGetInfoRequest)) *MockCOSIIdentityServer_DriverGetInfo_Call
- func (_c *MockCOSIIdentityServer_DriverGetInfo_Call) RunAndReturn(...) *MockCOSIIdentityServer_DriverGetInfo_Call
- type MockCOSIIdentityServer_Expecter
- type MockCOSIProvisionerServer
- func (_m *MockCOSIProvisionerServer) DriverCreateBucket(_a0 context.Context, _a1 *cosi.DriverCreateBucketRequest) (*cosi.DriverCreateBucketResponse, error)
- func (_m *MockCOSIProvisionerServer) DriverDeleteBucket(_a0 context.Context, _a1 *cosi.DriverDeleteBucketRequest) (*cosi.DriverDeleteBucketResponse, error)
- func (_m *MockCOSIProvisionerServer) DriverGrantBucketAccess(_a0 context.Context, _a1 *cosi.DriverGrantBucketAccessRequest) (*cosi.DriverGrantBucketAccessResponse, error)
- func (_m *MockCOSIProvisionerServer) DriverRevokeBucketAccess(_a0 context.Context, _a1 *cosi.DriverRevokeBucketAccessRequest) (*cosi.DriverRevokeBucketAccessResponse, error)
- func (_m *MockCOSIProvisionerServer) EXPECT() *MockCOSIProvisionerServer_Expecter
- type MockCOSIProvisionerServer_DriverCreateBucket_Call
- func (_c *MockCOSIProvisionerServer_DriverCreateBucket_Call) Return(_a0 *cosi.DriverCreateBucketResponse, _a1 error) *MockCOSIProvisionerServer_DriverCreateBucket_Call
- func (_c *MockCOSIProvisionerServer_DriverCreateBucket_Call) Run(run func(_a0 context.Context, _a1 *cosi.DriverCreateBucketRequest)) *MockCOSIProvisionerServer_DriverCreateBucket_Call
- func (_c *MockCOSIProvisionerServer_DriverCreateBucket_Call) RunAndReturn(...) *MockCOSIProvisionerServer_DriverCreateBucket_Call
- type MockCOSIProvisionerServer_DriverDeleteBucket_Call
- func (_c *MockCOSIProvisionerServer_DriverDeleteBucket_Call) Return(_a0 *cosi.DriverDeleteBucketResponse, _a1 error) *MockCOSIProvisionerServer_DriverDeleteBucket_Call
- func (_c *MockCOSIProvisionerServer_DriverDeleteBucket_Call) Run(run func(_a0 context.Context, _a1 *cosi.DriverDeleteBucketRequest)) *MockCOSIProvisionerServer_DriverDeleteBucket_Call
- func (_c *MockCOSIProvisionerServer_DriverDeleteBucket_Call) RunAndReturn(...) *MockCOSIProvisionerServer_DriverDeleteBucket_Call
- type MockCOSIProvisionerServer_DriverGrantBucketAccess_Call
- func (_c *MockCOSIProvisionerServer_DriverGrantBucketAccess_Call) Return(_a0 *cosi.DriverGrantBucketAccessResponse, _a1 error) *MockCOSIProvisionerServer_DriverGrantBucketAccess_Call
- func (_c *MockCOSIProvisionerServer_DriverGrantBucketAccess_Call) Run(run func(_a0 context.Context, _a1 *cosi.DriverGrantBucketAccessRequest)) *MockCOSIProvisionerServer_DriverGrantBucketAccess_Call
- func (_c *MockCOSIProvisionerServer_DriverGrantBucketAccess_Call) RunAndReturn(...) *MockCOSIProvisionerServer_DriverGrantBucketAccess_Call
- type MockCOSIProvisionerServer_DriverRevokeBucketAccess_Call
- func (_c *MockCOSIProvisionerServer_DriverRevokeBucketAccess_Call) Return(_a0 *cosi.DriverRevokeBucketAccessResponse, _a1 error) *MockCOSIProvisionerServer_DriverRevokeBucketAccess_Call
- func (_c *MockCOSIProvisionerServer_DriverRevokeBucketAccess_Call) Run(run func(_a0 context.Context, _a1 *cosi.DriverRevokeBucketAccessRequest)) *MockCOSIProvisionerServer_DriverRevokeBucketAccess_Call
- func (_c *MockCOSIProvisionerServer_DriverRevokeBucketAccess_Call) RunAndReturn(...) *MockCOSIProvisionerServer_DriverRevokeBucketAccess_Call
- type MockCOSIProvisionerServer_Expecter
- func (_e *MockCOSIProvisionerServer_Expecter) DriverCreateBucket(_a0 interface{}, _a1 interface{}) *MockCOSIProvisionerServer_DriverCreateBucket_Call
- func (_e *MockCOSIProvisionerServer_Expecter) DriverDeleteBucket(_a0 interface{}, _a1 interface{}) *MockCOSIProvisionerServer_DriverDeleteBucket_Call
- func (_e *MockCOSIProvisionerServer_Expecter) DriverGrantBucketAccess(_a0 interface{}, _a1 interface{}) *MockCOSIProvisionerServer_DriverGrantBucketAccess_Call
- func (_e *MockCOSIProvisionerServer_Expecter) DriverRevokeBucketAccess(_a0 interface{}, _a1 interface{}) *MockCOSIProvisionerServer_DriverRevokeBucketAccess_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCOSIIdentityServer ¶
MockCOSIIdentityServer is an autogenerated mock type for the COSIIdentityServer type
func NewMockCOSIIdentityServer ¶
func NewMockCOSIIdentityServer(t interface { mock.TestingT Cleanup(func()) }) *MockCOSIIdentityServer
NewMockCOSIIdentityServer creates a new instance of MockCOSIIdentityServer. 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 (*MockCOSIIdentityServer) DriverGetInfo ¶
func (_m *MockCOSIIdentityServer) DriverGetInfo(_a0 context.Context, _a1 *cosi.DriverGetInfoRequest) (*cosi.DriverGetInfoResponse, error)
DriverGetInfo provides a mock function with given fields: _a0, _a1
func (*MockCOSIIdentityServer) EXPECT ¶
func (_m *MockCOSIIdentityServer) EXPECT() *MockCOSIIdentityServer_Expecter
type MockCOSIIdentityServer_DriverGetInfo_Call ¶
MockCOSIIdentityServer_DriverGetInfo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DriverGetInfo'
func (*MockCOSIIdentityServer_DriverGetInfo_Call) Return ¶
func (_c *MockCOSIIdentityServer_DriverGetInfo_Call) Return(_a0 *cosi.DriverGetInfoResponse, _a1 error) *MockCOSIIdentityServer_DriverGetInfo_Call
func (*MockCOSIIdentityServer_DriverGetInfo_Call) Run ¶
func (_c *MockCOSIIdentityServer_DriverGetInfo_Call) Run(run func(_a0 context.Context, _a1 *cosi.DriverGetInfoRequest)) *MockCOSIIdentityServer_DriverGetInfo_Call
func (*MockCOSIIdentityServer_DriverGetInfo_Call) RunAndReturn ¶
func (_c *MockCOSIIdentityServer_DriverGetInfo_Call) RunAndReturn(run func(context.Context, *cosi.DriverGetInfoRequest) (*cosi.DriverGetInfoResponse, error)) *MockCOSIIdentityServer_DriverGetInfo_Call
type MockCOSIIdentityServer_Expecter ¶
type MockCOSIIdentityServer_Expecter struct {
// contains filtered or unexported fields
}
func (*MockCOSIIdentityServer_Expecter) DriverGetInfo ¶
func (_e *MockCOSIIdentityServer_Expecter) DriverGetInfo(_a0 interface{}, _a1 interface{}) *MockCOSIIdentityServer_DriverGetInfo_Call
DriverGetInfo is a helper method to define mock.On call
- _a0 context.Context
- _a1 *cosi.DriverGetInfoRequest
type MockCOSIProvisionerServer ¶
MockCOSIProvisionerServer is an autogenerated mock type for the COSIProvisionerServer type
func NewMockCOSIProvisionerServer ¶
func NewMockCOSIProvisionerServer(t interface { mock.TestingT Cleanup(func()) }) *MockCOSIProvisionerServer
NewMockCOSIProvisionerServer creates a new instance of MockCOSIProvisionerServer. 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 (*MockCOSIProvisionerServer) DriverCreateBucket ¶
func (_m *MockCOSIProvisionerServer) DriverCreateBucket(_a0 context.Context, _a1 *cosi.DriverCreateBucketRequest) (*cosi.DriverCreateBucketResponse, error)
DriverCreateBucket provides a mock function with given fields: _a0, _a1
func (*MockCOSIProvisionerServer) DriverDeleteBucket ¶
func (_m *MockCOSIProvisionerServer) DriverDeleteBucket(_a0 context.Context, _a1 *cosi.DriverDeleteBucketRequest) (*cosi.DriverDeleteBucketResponse, error)
DriverDeleteBucket provides a mock function with given fields: _a0, _a1
func (*MockCOSIProvisionerServer) DriverGrantBucketAccess ¶
func (_m *MockCOSIProvisionerServer) DriverGrantBucketAccess(_a0 context.Context, _a1 *cosi.DriverGrantBucketAccessRequest) (*cosi.DriverGrantBucketAccessResponse, error)
DriverGrantBucketAccess provides a mock function with given fields: _a0, _a1
func (*MockCOSIProvisionerServer) DriverRevokeBucketAccess ¶
func (_m *MockCOSIProvisionerServer) DriverRevokeBucketAccess(_a0 context.Context, _a1 *cosi.DriverRevokeBucketAccessRequest) (*cosi.DriverRevokeBucketAccessResponse, error)
DriverRevokeBucketAccess provides a mock function with given fields: _a0, _a1
func (*MockCOSIProvisionerServer) EXPECT ¶
func (_m *MockCOSIProvisionerServer) EXPECT() *MockCOSIProvisionerServer_Expecter
type MockCOSIProvisionerServer_DriverCreateBucket_Call ¶
MockCOSIProvisionerServer_DriverCreateBucket_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DriverCreateBucket'
func (*MockCOSIProvisionerServer_DriverCreateBucket_Call) Return ¶
func (_c *MockCOSIProvisionerServer_DriverCreateBucket_Call) Return(_a0 *cosi.DriverCreateBucketResponse, _a1 error) *MockCOSIProvisionerServer_DriverCreateBucket_Call
func (*MockCOSIProvisionerServer_DriverCreateBucket_Call) Run ¶
func (_c *MockCOSIProvisionerServer_DriverCreateBucket_Call) Run(run func(_a0 context.Context, _a1 *cosi.DriverCreateBucketRequest)) *MockCOSIProvisionerServer_DriverCreateBucket_Call
func (*MockCOSIProvisionerServer_DriverCreateBucket_Call) RunAndReturn ¶
func (_c *MockCOSIProvisionerServer_DriverCreateBucket_Call) RunAndReturn(run func(context.Context, *cosi.DriverCreateBucketRequest) (*cosi.DriverCreateBucketResponse, error)) *MockCOSIProvisionerServer_DriverCreateBucket_Call
type MockCOSIProvisionerServer_DriverDeleteBucket_Call ¶
MockCOSIProvisionerServer_DriverDeleteBucket_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DriverDeleteBucket'
func (*MockCOSIProvisionerServer_DriverDeleteBucket_Call) Return ¶
func (_c *MockCOSIProvisionerServer_DriverDeleteBucket_Call) Return(_a0 *cosi.DriverDeleteBucketResponse, _a1 error) *MockCOSIProvisionerServer_DriverDeleteBucket_Call
func (*MockCOSIProvisionerServer_DriverDeleteBucket_Call) Run ¶
func (_c *MockCOSIProvisionerServer_DriverDeleteBucket_Call) Run(run func(_a0 context.Context, _a1 *cosi.DriverDeleteBucketRequest)) *MockCOSIProvisionerServer_DriverDeleteBucket_Call
func (*MockCOSIProvisionerServer_DriverDeleteBucket_Call) RunAndReturn ¶
func (_c *MockCOSIProvisionerServer_DriverDeleteBucket_Call) RunAndReturn(run func(context.Context, *cosi.DriverDeleteBucketRequest) (*cosi.DriverDeleteBucketResponse, error)) *MockCOSIProvisionerServer_DriverDeleteBucket_Call
type MockCOSIProvisionerServer_DriverGrantBucketAccess_Call ¶
MockCOSIProvisionerServer_DriverGrantBucketAccess_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DriverGrantBucketAccess'
func (*MockCOSIProvisionerServer_DriverGrantBucketAccess_Call) Run ¶
func (_c *MockCOSIProvisionerServer_DriverGrantBucketAccess_Call) Run(run func(_a0 context.Context, _a1 *cosi.DriverGrantBucketAccessRequest)) *MockCOSIProvisionerServer_DriverGrantBucketAccess_Call
func (*MockCOSIProvisionerServer_DriverGrantBucketAccess_Call) RunAndReturn ¶
func (_c *MockCOSIProvisionerServer_DriverGrantBucketAccess_Call) RunAndReturn(run func(context.Context, *cosi.DriverGrantBucketAccessRequest) (*cosi.DriverGrantBucketAccessResponse, error)) *MockCOSIProvisionerServer_DriverGrantBucketAccess_Call
type MockCOSIProvisionerServer_DriverRevokeBucketAccess_Call ¶
MockCOSIProvisionerServer_DriverRevokeBucketAccess_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DriverRevokeBucketAccess'
func (*MockCOSIProvisionerServer_DriverRevokeBucketAccess_Call) Run ¶
func (_c *MockCOSIProvisionerServer_DriverRevokeBucketAccess_Call) Run(run func(_a0 context.Context, _a1 *cosi.DriverRevokeBucketAccessRequest)) *MockCOSIProvisionerServer_DriverRevokeBucketAccess_Call
func (*MockCOSIProvisionerServer_DriverRevokeBucketAccess_Call) RunAndReturn ¶
func (_c *MockCOSIProvisionerServer_DriverRevokeBucketAccess_Call) RunAndReturn(run func(context.Context, *cosi.DriverRevokeBucketAccessRequest) (*cosi.DriverRevokeBucketAccessResponse, error)) *MockCOSIProvisionerServer_DriverRevokeBucketAccess_Call
type MockCOSIProvisionerServer_Expecter ¶
type MockCOSIProvisionerServer_Expecter struct {
// contains filtered or unexported fields
}
func (*MockCOSIProvisionerServer_Expecter) DriverCreateBucket ¶
func (_e *MockCOSIProvisionerServer_Expecter) DriverCreateBucket(_a0 interface{}, _a1 interface{}) *MockCOSIProvisionerServer_DriverCreateBucket_Call
DriverCreateBucket is a helper method to define mock.On call
- _a0 context.Context
- _a1 *cosi.DriverCreateBucketRequest
func (*MockCOSIProvisionerServer_Expecter) DriverDeleteBucket ¶
func (_e *MockCOSIProvisionerServer_Expecter) DriverDeleteBucket(_a0 interface{}, _a1 interface{}) *MockCOSIProvisionerServer_DriverDeleteBucket_Call
DriverDeleteBucket is a helper method to define mock.On call
- _a0 context.Context
- _a1 *cosi.DriverDeleteBucketRequest
func (*MockCOSIProvisionerServer_Expecter) DriverGrantBucketAccess ¶
func (_e *MockCOSIProvisionerServer_Expecter) DriverGrantBucketAccess(_a0 interface{}, _a1 interface{}) *MockCOSIProvisionerServer_DriverGrantBucketAccess_Call
DriverGrantBucketAccess is a helper method to define mock.On call
- _a0 context.Context
- _a1 *cosi.DriverGrantBucketAccessRequest
func (*MockCOSIProvisionerServer_Expecter) DriverRevokeBucketAccess ¶
func (_e *MockCOSIProvisionerServer_Expecter) DriverRevokeBucketAccess(_a0 interface{}, _a1 interface{}) *MockCOSIProvisionerServer_DriverRevokeBucketAccess_Call
DriverRevokeBucketAccess is a helper method to define mock.On call
- _a0 context.Context
- _a1 *cosi.DriverRevokeBucketAccessRequest