mocktokens

package
v10.287.0+incompatible Latest Latest
Warning

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

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

Documentation

Overview

Package mocktokens is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockTokenEngine

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

MockTokenEngine is a mock of TokenEngine interface nolint

func NewMockTokenEngine

func NewMockTokenEngine(ctrl *gomock.Controller) *MockTokenEngine

NewMockTokenEngine creates a new mock instance nolint

func (*MockTokenEngine) CreateAndSign

func (m *MockTokenEngine) CreateAndSign(isAck bool, claims *tokens.ConnectionClaims, nonce []byte, claimsHeader *claimsheader.ClaimsHeader, secrets secrets.Secrets) ([]byte, error)

CreateAndSign mocks base method nolint

func (*MockTokenEngine) Decode

func (m *MockTokenEngine) Decode(isAck bool, data []byte, previousCert interface{}, secrets secrets.Secrets) (*tokens.ConnectionClaims, []byte, interface{}, error)

Decode mocks base method nolint

func (*MockTokenEngine) EXPECT

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

func (*MockTokenEngine) Randomize

func (m *MockTokenEngine) Randomize(arg0, arg1 []byte) error

Randomize mocks base method nolint

type MockTokenEngineMockRecorder

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

MockTokenEngineMockRecorder is the mock recorder for MockTokenEngine nolint

func (*MockTokenEngineMockRecorder) CreateAndSign

func (mr *MockTokenEngineMockRecorder) CreateAndSign(isAck, claims, nonce, claimsHeader, secrets interface{}) *gomock.Call

CreateAndSign indicates an expected call of CreateAndSign nolint

func (*MockTokenEngineMockRecorder) Decode

func (mr *MockTokenEngineMockRecorder) Decode(isAck, data, previousCert, secrets interface{}) *gomock.Call

Decode indicates an expected call of Decode nolint

func (*MockTokenEngineMockRecorder) Randomize

func (mr *MockTokenEngineMockRecorder) Randomize(arg0, arg1 interface{}) *gomock.Call

Randomize indicates an expected call of Randomize nolint

Jump to

Keyboard shortcuts

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