Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockHub
- type MockHubMockRecorder
- type MockTokenClient
- func (m *MockTokenClient) DeleteToken(ctx context.Context, token string) (manager.ResponseEnableToken, error)
- func (m *MockTokenClient) DisableToken(ctx context.Context, token string) (manager.ResponseEnableToken, error)
- func (m *MockTokenClient) EXPECT() *MockTokenClientMockRecorder
- func (m *MockTokenClient) EnableToken(ctx context.Context, token string) (manager.ResponseEnableToken, error)
- func (m *MockTokenClient) GenerateToken(ctx context.Context) (manager.ResponseGenerateToken, error)
- type MockTokenClientMockRecorder
- func (mr *MockTokenClientMockRecorder) DeleteToken(ctx, token interface{}) *gomock.Call
- func (mr *MockTokenClientMockRecorder) DisableToken(ctx, token interface{}) *gomock.Call
- func (mr *MockTokenClientMockRecorder) EnableToken(ctx, token interface{}) *gomock.Call
- func (mr *MockTokenClientMockRecorder) GenerateToken(ctx interface{}) *gomock.Call
- type MockTokenManager
- type MockTokenManagerMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockHub ¶
type MockHub struct {
// contains filtered or unexported fields
}
MockHub is a mock of Hub interface.
func NewMockHub ¶
func NewMockHub(ctrl *gomock.Controller) *MockHub
NewMockHub creates a new mock instance.
func (*MockHub) EXPECT ¶
func (m *MockHub) EXPECT() *MockHubMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockHubMockRecorder ¶
type MockHubMockRecorder struct {
// contains filtered or unexported fields
}
MockHubMockRecorder is the mock recorder for MockHub.
func (*MockHubMockRecorder) Get ¶
func (mr *MockHubMockRecorder) Get(ctx, key interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockHubMockRecorder) Save ¶
func (mr *MockHubMockRecorder) Save(ctx, key, token interface{}) *gomock.Call
Save indicates an expected call of Save.
type MockTokenClient ¶
type MockTokenClient struct {
// contains filtered or unexported fields
}
MockTokenClient is a mock of TokenClient interface.
func NewMockTokenClient ¶
func NewMockTokenClient(ctrl *gomock.Controller) *MockTokenClient
NewMockTokenClient creates a new mock instance.
func (*MockTokenClient) DeleteToken ¶
func (m *MockTokenClient) DeleteToken(ctx context.Context, token string) (manager.ResponseEnableToken, error)
DeleteToken mocks base method.
func (*MockTokenClient) DisableToken ¶
func (m *MockTokenClient) DisableToken(ctx context.Context, token string) (manager.ResponseEnableToken, error)
DisableToken mocks base method.
func (*MockTokenClient) EXPECT ¶
func (m *MockTokenClient) EXPECT() *MockTokenClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTokenClient) EnableToken ¶
func (m *MockTokenClient) EnableToken(ctx context.Context, token string) (manager.ResponseEnableToken, error)
EnableToken mocks base method.
func (*MockTokenClient) GenerateToken ¶
func (m *MockTokenClient) GenerateToken(ctx context.Context) (manager.ResponseGenerateToken, error)
GenerateToken mocks base method.
type MockTokenClientMockRecorder ¶
type MockTokenClientMockRecorder struct {
// contains filtered or unexported fields
}
MockTokenClientMockRecorder is the mock recorder for MockTokenClient.
func (*MockTokenClientMockRecorder) DeleteToken ¶
func (mr *MockTokenClientMockRecorder) DeleteToken(ctx, token interface{}) *gomock.Call
DeleteToken indicates an expected call of DeleteToken.
func (*MockTokenClientMockRecorder) DisableToken ¶
func (mr *MockTokenClientMockRecorder) DisableToken(ctx, token interface{}) *gomock.Call
DisableToken indicates an expected call of DisableToken.
func (*MockTokenClientMockRecorder) EnableToken ¶
func (mr *MockTokenClientMockRecorder) EnableToken(ctx, token interface{}) *gomock.Call
EnableToken indicates an expected call of EnableToken.
func (*MockTokenClientMockRecorder) GenerateToken ¶
func (mr *MockTokenClientMockRecorder) GenerateToken(ctx interface{}) *gomock.Call
GenerateToken indicates an expected call of GenerateToken.
type MockTokenManager ¶
type MockTokenManager struct {
// contains filtered or unexported fields
}
MockTokenManager is a mock of TokenManager interface.
func NewMockTokenManager ¶
func NewMockTokenManager(ctrl *gomock.Controller) *MockTokenManager
NewMockTokenManager creates a new mock instance.
func (*MockTokenManager) EXPECT ¶
func (m *MockTokenManager) EXPECT() *MockTokenManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockTokenManagerMockRecorder ¶
type MockTokenManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockTokenManagerMockRecorder is the mock recorder for MockTokenManager.
func (*MockTokenManagerMockRecorder) Get ¶
func (mr *MockTokenManagerMockRecorder) Get(ctx interface{}) *gomock.Call
Get indicates an expected call of Get.