mock_client

package
v0.11.1-marc2 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mock_client 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) FetchUpdates

func (m *MockClient) FetchUpdates(arg0 context.Context) (*client.Update, error)

FetchUpdates mocks base method

func (*MockClient) NewJWTSVID

func (m *MockClient) NewJWTSVID(arg0 context.Context, arg1 *node.JSR, arg2 string) (*client.JWTSVID, error)

NewJWTSVID mocks base method

func (*MockClient) NewX509SVIDs

func (m *MockClient) NewX509SVIDs(arg0 context.Context, arg1 map[string][]byte) (map[string]*node.X509SVID, error)

NewX509SVIDs mocks base method

func (*MockClient) Release

func (m *MockClient) Release()

Release mocks base method

func (*MockClient) RenewSVID

func (m *MockClient) RenewSVID(arg0 context.Context, arg1 []byte) (*node.X509SVID, error)

RenewSVID mocks base method

type MockClientMockRecorder

type MockClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockClientMockRecorder is the mock recorder for MockClient

func (*MockClientMockRecorder) FetchUpdates

func (mr *MockClientMockRecorder) FetchUpdates(arg0 interface{}) *gomock.Call

FetchUpdates indicates an expected call of FetchUpdates

func (*MockClientMockRecorder) NewJWTSVID

func (mr *MockClientMockRecorder) NewJWTSVID(arg0, arg1, arg2 interface{}) *gomock.Call

NewJWTSVID indicates an expected call of NewJWTSVID

func (*MockClientMockRecorder) NewX509SVIDs

func (mr *MockClientMockRecorder) NewX509SVIDs(arg0, arg1 interface{}) *gomock.Call

NewX509SVIDs indicates an expected call of NewX509SVIDs

func (*MockClientMockRecorder) Release

func (mr *MockClientMockRecorder) Release() *gomock.Call

Release indicates an expected call of Release

func (*MockClientMockRecorder) RenewSVID

func (mr *MockClientMockRecorder) RenewSVID(arg0, arg1 interface{}) *gomock.Call

RenewSVID indicates an expected call of RenewSVID

Jump to

Keyboard shortcuts

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