trireme-lib: go.aporeto.io/trireme-lib/controller/pkg/tokens/mocktokens Index | Files

package mocktokens

import "go.aporeto.io/trireme-lib/controller/pkg/tokens/mocktokens"

Package mocktokens is a generated GoMock package.

Index

Package Files

mocktokens.go

type MockTokenEngine Uses

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

MockTokenEngine is a mock of TokenEngine interface nolint

func NewMockTokenEngine Uses

func NewMockTokenEngine(ctrl *gomock.Controller) *MockTokenEngine

NewMockTokenEngine creates a new mock instance nolint

func (*MockTokenEngine) CreateAndSign Uses

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 Uses

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 Uses

func (m *MockTokenEngine) EXPECT() *MockTokenEngineMockRecorder

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

func (*MockTokenEngine) Randomize Uses

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

Randomize mocks base method nolint

type MockTokenEngineMockRecorder Uses

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

MockTokenEngineMockRecorder is the mock recorder for MockTokenEngine nolint

func (*MockTokenEngineMockRecorder) CreateAndSign Uses

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

CreateAndSign indicates an expected call of CreateAndSign nolint

func (*MockTokenEngineMockRecorder) Decode Uses

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

Decode indicates an expected call of Decode nolint

func (*MockTokenEngineMockRecorder) Randomize Uses

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

Randomize indicates an expected call of Randomize nolint

Package mocktokens imports 5 packages (graph). Updated 2020-03-19. Refresh now. Tools for package owners.