Documentation ¶
Overview ¶
Package mocktokens is a generated GoMock package.
Index ¶
- type MockTokenEngine
- func (m *MockTokenEngine) CreateAndSign(isAck bool, claims *tokens.ConnectionClaims, nonce []byte, ...) ([]byte, error)
- func (m *MockTokenEngine) Decode(isAck bool, data []byte, previousCert interface{}, secrets secrets.Secrets) (*tokens.ConnectionClaims, []byte, interface{}, *pkiverifier.PKIControllerInfo, ...)
- func (m *MockTokenEngine) EXPECT() *MockTokenEngineMockRecorder
- func (m *MockTokenEngine) Randomize(arg0, arg1 []byte) error
- type MockTokenEngineMockRecorder
- func (mr *MockTokenEngineMockRecorder) CreateAndSign(isAck, claims, nonce, claimsHeader, secrets interface{}) *gomock.Call
- func (mr *MockTokenEngineMockRecorder) Decode(isAck, data, previousCert, secrets interface{}) *gomock.Call
- func (mr *MockTokenEngineMockRecorder) Randomize(arg0, arg1 interface{}) *gomock.Call
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{}, *pkiverifier.PKIControllerInfo, error)
Decode mocks base method nolint
func (*MockTokenEngine) EXPECT ¶
func (m *MockTokenEngine) EXPECT() *MockTokenEngineMockRecorder
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
Click to show internal directories.
Click to hide internal directories.