mocktokenclient

package
v10.271.0+incompatible Latest Latest
Warning

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

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

Documentation

Overview

Package mocktokenclient is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockTokenClient

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

MockTokenClient is a mock of TokenClient interface nolint

func NewMockTokenClient

func NewMockTokenClient(ctrl *gomock.Controller) *MockTokenClient

NewMockTokenClient creates a new mock instance nolint

func (*MockTokenClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use nolint

func (*MockTokenClient) Issue

func (m *MockTokenClient) Issue(ctx context.Context, contextID string, stype common.ServiceTokenType, audience string, validity time.Duration) (string, error)

Issue mocks base method nolint

func (*MockTokenClient) Run

func (m *MockTokenClient) Run(ctx context.Context) error

Run mocks base method nolint

type MockTokenClientMockRecorder

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

MockTokenClientMockRecorder is the mock recorder for MockTokenClient nolint

func (*MockTokenClientMockRecorder) Issue

func (mr *MockTokenClientMockRecorder) Issue(ctx, contextID, stype, audience, validity interface{}) *gomock.Call

Issue indicates an expected call of Issue nolint

func (*MockTokenClientMockRecorder) Run

func (mr *MockTokenClientMockRecorder) Run(ctx interface{}) *gomock.Call

Run indicates an expected call of Run nolint

Jump to

Keyboard shortcuts

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