trireme-lib: go.aporeto.io/trireme-lib/controller/internal/enforcer/nfqdatapath/tokenaccessor/mocktokenaccessor Index | Files

package mocktokenaccessor

import "go.aporeto.io/trireme-lib/controller/internal/enforcer/nfqdatapath/tokenaccessor/mocktokenaccessor"

Package mocktokenaccessor is a generated GoMock package.

Index

Package Files

mocktokenaccessor.go

type MockTokenAccessor Uses

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

MockTokenAccessor is a mock of TokenAccessor interface nolint

func NewMockTokenAccessor Uses

func NewMockTokenAccessor(ctrl *gomock.Controller) *MockTokenAccessor

NewMockTokenAccessor creates a new mock instance nolint

func (*MockTokenAccessor) CreateAckPacketToken Uses

func (m *MockTokenAccessor) CreateAckPacketToken(context *pucontext.PUContext, auth *connection.AuthInfo, secrets secrets.Secrets) ([]byte, error)

CreateAckPacketToken mocks base method nolint

func (*MockTokenAccessor) CreateSynAckPacketToken Uses

func (m *MockTokenAccessor) CreateSynAckPacketToken(context *pucontext.PUContext, auth *connection.AuthInfo, claimsHeader *claimsheader.ClaimsHeader, secrets secrets.Secrets) ([]byte, error)

CreateSynAckPacketToken mocks base method nolint

func (*MockTokenAccessor) CreateSynPacketToken Uses

func (m *MockTokenAccessor) CreateSynPacketToken(context *pucontext.PUContext, auth *connection.AuthInfo, claimsHeader *claimsheader.ClaimsHeader, secrets secrets.Secrets) ([]byte, error)

CreateSynPacketToken mocks base method nolint

func (*MockTokenAccessor) EXPECT Uses

func (m *MockTokenAccessor) EXPECT() *MockTokenAccessorMockRecorder

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

func (*MockTokenAccessor) GetTokenServerID Uses

func (m *MockTokenAccessor) GetTokenServerID() string

GetTokenServerID mocks base method nolint

func (*MockTokenAccessor) GetTokenValidity Uses

func (m *MockTokenAccessor) GetTokenValidity() time.Duration

GetTokenValidity mocks base method nolint

func (*MockTokenAccessor) ParseAckToken Uses

func (m *MockTokenAccessor) ParseAckToken(auth *connection.AuthInfo, data []byte, secrets secrets.Secrets) (*tokens.ConnectionClaims, error)

ParseAckToken mocks base method nolint

func (*MockTokenAccessor) ParsePacketToken Uses

func (m *MockTokenAccessor) ParsePacketToken(auth *connection.AuthInfo, data []byte, secrets secrets.Secrets) (*tokens.ConnectionClaims, error)

ParsePacketToken mocks base method nolint

type MockTokenAccessorMockRecorder Uses

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

MockTokenAccessorMockRecorder is the mock recorder for MockTokenAccessor nolint

func (*MockTokenAccessorMockRecorder) CreateAckPacketToken Uses

func (mr *MockTokenAccessorMockRecorder) CreateAckPacketToken(context, auth, secrets interface{}) *gomock.Call

CreateAckPacketToken indicates an expected call of CreateAckPacketToken nolint

func (*MockTokenAccessorMockRecorder) CreateSynAckPacketToken Uses

func (mr *MockTokenAccessorMockRecorder) CreateSynAckPacketToken(context, auth, claimsHeader, secrets interface{}) *gomock.Call

CreateSynAckPacketToken indicates an expected call of CreateSynAckPacketToken nolint

func (*MockTokenAccessorMockRecorder) CreateSynPacketToken Uses

func (mr *MockTokenAccessorMockRecorder) CreateSynPacketToken(context, auth, claimsHeader, secrets interface{}) *gomock.Call

CreateSynPacketToken indicates an expected call of CreateSynPacketToken nolint

func (*MockTokenAccessorMockRecorder) GetTokenServerID Uses

func (mr *MockTokenAccessorMockRecorder) GetTokenServerID() *gomock.Call

GetTokenServerID indicates an expected call of GetTokenServerID nolint

func (*MockTokenAccessorMockRecorder) GetTokenValidity Uses

func (mr *MockTokenAccessorMockRecorder) GetTokenValidity() *gomock.Call

GetTokenValidity indicates an expected call of GetTokenValidity nolint

func (*MockTokenAccessorMockRecorder) ParseAckToken Uses

func (mr *MockTokenAccessorMockRecorder) ParseAckToken(auth, data, secrets interface{}) *gomock.Call

ParseAckToken indicates an expected call of ParseAckToken nolint

func (*MockTokenAccessorMockRecorder) ParsePacketToken Uses

func (mr *MockTokenAccessorMockRecorder) ParsePacketToken(auth, data, secrets interface{}) *gomock.Call

ParsePacketToken indicates an expected call of ParsePacketToken nolint

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