mock

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2020 License: MPL-2.0, MPL-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

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

Jump to

Keyboard shortcuts

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