trireme-lib: go.aporeto.io/trireme-lib/controller/pkg/remoteenforcer/internal/tokenissuer/mocktokenclient Index | Files

package mocktokenclient

import "go.aporeto.io/trireme-lib/controller/pkg/remoteenforcer/internal/tokenissuer/mocktokenclient"

Package mocktokenclient is a generated GoMock package.

Index

Package Files

mocktokenclient.go

type MockTokenClient Uses

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

MockTokenClient is a mock of TokenClient interface nolint

func NewMockTokenClient Uses

func NewMockTokenClient(ctrl *gomock.Controller) *MockTokenClient

NewMockTokenClient creates a new mock instance nolint

func (*MockTokenClient) EXPECT Uses

func (m *MockTokenClient) EXPECT() *MockTokenClientMockRecorder

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

func (*MockTokenClient) Issue Uses

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 Uses

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

Run mocks base method nolint

type MockTokenClientMockRecorder Uses

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

MockTokenClientMockRecorder is the mock recorder for MockTokenClient nolint

func (*MockTokenClientMockRecorder) Issue Uses

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

Issue indicates an expected call of Issue nolint

func (*MockTokenClientMockRecorder) Run Uses

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

Run indicates an expected call of Run nolint

Package mocktokenclient imports 5 packages (graph). Updated 2019-08-23. Refresh now. Tools for package owners.