Documentation
¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockClient
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) Parse(filename string) (*config.File, error)
- func (m *MockClient) UpsertContext(ctx context.Context, parsed *config.File, name, cluster, ns, user string) error
- func (m *MockClient) UpsertUserToken(ctx context.Context, parsed *config.File, user string, token []byte) error
- type MockClientMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClient ¶
type MockClient struct {
// contains filtered or unexported fields
}
MockClient is a mock of Client interface
func NewMockClient ¶
func NewMockClient(ctrl *gomock.Controller) *MockClient
NewMockClient creates a new mock instance
func (*MockClient) EXPECT ¶
func (m *MockClient) EXPECT() *MockClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockClient) Parse ¶
func (m *MockClient) Parse(filename string) (*config.File, error)
Parse mocks base method
func (*MockClient) UpsertContext ¶
func (m *MockClient) UpsertContext(ctx context.Context, parsed *config.File, name, cluster, ns, user string) error
UpsertContext mocks base method
func (*MockClient) UpsertUserToken ¶
func (m *MockClient) UpsertUserToken(ctx context.Context, parsed *config.File, user string, token []byte) error
UpsertUserToken mocks base method
type MockClientMockRecorder ¶
type MockClientMockRecorder struct {
// contains filtered or unexported fields
}
MockClientMockRecorder is the mock recorder for MockClient
func (*MockClientMockRecorder) Parse ¶
func (mr *MockClientMockRecorder) Parse(filename interface{}) *gomock.Call
Parse indicates an expected call of Parse
func (*MockClientMockRecorder) UpsertContext ¶
func (mr *MockClientMockRecorder) UpsertContext(ctx, parsed, name, cluster, ns, user interface{}) *gomock.Call
UpsertContext indicates an expected call of UpsertContext
func (*MockClientMockRecorder) UpsertUserToken ¶
func (mr *MockClientMockRecorder) UpsertUserToken(ctx, parsed, user, token interface{}) *gomock.Call
UpsertUserToken indicates an expected call of UpsertUserToken
Click to show internal directories.
Click to hide internal directories.