Documentation ¶
Overview ¶
Package token_mock is a generated GoMock package.
Index ¶
- type MockTokenServiceClient
- func (m *MockTokenServiceClient) CreateToken(ctx context.Context, in *v1.CreateTokenRequest, opts ...grpc.CallOption) (*v1.CreateTokenResponse, error)
- func (m *MockTokenServiceClient) EXPECT() *MockTokenServiceClientMockRecorder
- func (m *MockTokenServiceClient) GetToken(ctx context.Context, in *v1.GetTokenRequest, opts ...grpc.CallOption) (*v1.GetTokenResponse, error)
- func (m *MockTokenServiceClient) GetTokens(ctx context.Context, in *v1.GetTokensRequest, opts ...grpc.CallOption) (*v1.GetTokensResponse, error)
- func (m *MockTokenServiceClient) IssueToken(ctx context.Context, in *v1.IssueTokenRequest, opts ...grpc.CallOption) (*v1.IssueTokenResponse, error)
- func (m *MockTokenServiceClient) RevokeToken(ctx context.Context, in *v1.RevokeTokenRequest, opts ...grpc.CallOption) (*v1.RevokeTokenResponse, error)
- func (m *MockTokenServiceClient) VerifyToken(ctx context.Context, in *v1.VerifyTokenRequest, opts ...grpc.CallOption) (*v1.VerifyTokenResponse, error)
- type MockTokenServiceClientMockRecorder
- func (mr *MockTokenServiceClientMockRecorder) CreateToken(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockTokenServiceClientMockRecorder) GetToken(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockTokenServiceClientMockRecorder) GetTokens(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockTokenServiceClientMockRecorder) IssueToken(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockTokenServiceClientMockRecorder) RevokeToken(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockTokenServiceClientMockRecorder) VerifyToken(ctx, in any, opts ...any) *gomock.Call
- type MockTokenServiceServer
- func (m *MockTokenServiceServer) CreateToken(arg0 context.Context, arg1 *v1.CreateTokenRequest) (*v1.CreateTokenResponse, error)
- func (m *MockTokenServiceServer) EXPECT() *MockTokenServiceServerMockRecorder
- func (m *MockTokenServiceServer) GetToken(arg0 context.Context, arg1 *v1.GetTokenRequest) (*v1.GetTokenResponse, error)
- func (m *MockTokenServiceServer) GetTokens(arg0 context.Context, arg1 *v1.GetTokensRequest) (*v1.GetTokensResponse, error)
- func (m *MockTokenServiceServer) IssueToken(arg0 context.Context, arg1 *v1.IssueTokenRequest) (*v1.IssueTokenResponse, error)
- func (m *MockTokenServiceServer) RevokeToken(arg0 context.Context, arg1 *v1.RevokeTokenRequest) (*v1.RevokeTokenResponse, error)
- func (m *MockTokenServiceServer) VerifyToken(arg0 context.Context, arg1 *v1.VerifyTokenRequest) (*v1.VerifyTokenResponse, error)
- type MockTokenServiceServerMockRecorder
- func (mr *MockTokenServiceServerMockRecorder) CreateToken(arg0, arg1 any) *gomock.Call
- func (mr *MockTokenServiceServerMockRecorder) GetToken(arg0, arg1 any) *gomock.Call
- func (mr *MockTokenServiceServerMockRecorder) GetTokens(arg0, arg1 any) *gomock.Call
- func (mr *MockTokenServiceServerMockRecorder) IssueToken(arg0, arg1 any) *gomock.Call
- func (mr *MockTokenServiceServerMockRecorder) RevokeToken(arg0, arg1 any) *gomock.Call
- func (mr *MockTokenServiceServerMockRecorder) VerifyToken(arg0, arg1 any) *gomock.Call
- type MockUnsafeTokenServiceServer
- type MockUnsafeTokenServiceServerMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockTokenServiceClient ¶
type MockTokenServiceClient struct {
// contains filtered or unexported fields
}
MockTokenServiceClient is a mock of TokenServiceClient interface.
func NewMockTokenServiceClient ¶
func NewMockTokenServiceClient(ctrl *gomock.Controller) *MockTokenServiceClient
NewMockTokenServiceClient creates a new mock instance.
func (*MockTokenServiceClient) CreateToken ¶
func (m *MockTokenServiceClient) CreateToken(ctx context.Context, in *v1.CreateTokenRequest, opts ...grpc.CallOption) (*v1.CreateTokenResponse, error)
CreateToken mocks base method.
func (*MockTokenServiceClient) EXPECT ¶
func (m *MockTokenServiceClient) EXPECT() *MockTokenServiceClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTokenServiceClient) GetToken ¶
func (m *MockTokenServiceClient) GetToken(ctx context.Context, in *v1.GetTokenRequest, opts ...grpc.CallOption) (*v1.GetTokenResponse, error)
GetToken mocks base method.
func (*MockTokenServiceClient) GetTokens ¶
func (m *MockTokenServiceClient) GetTokens(ctx context.Context, in *v1.GetTokensRequest, opts ...grpc.CallOption) (*v1.GetTokensResponse, error)
GetTokens mocks base method.
func (*MockTokenServiceClient) IssueToken ¶
func (m *MockTokenServiceClient) IssueToken(ctx context.Context, in *v1.IssueTokenRequest, opts ...grpc.CallOption) (*v1.IssueTokenResponse, error)
IssueToken mocks base method.
func (*MockTokenServiceClient) RevokeToken ¶
func (m *MockTokenServiceClient) RevokeToken(ctx context.Context, in *v1.RevokeTokenRequest, opts ...grpc.CallOption) (*v1.RevokeTokenResponse, error)
RevokeToken mocks base method.
func (*MockTokenServiceClient) VerifyToken ¶
func (m *MockTokenServiceClient) VerifyToken(ctx context.Context, in *v1.VerifyTokenRequest, opts ...grpc.CallOption) (*v1.VerifyTokenResponse, error)
VerifyToken mocks base method.
type MockTokenServiceClientMockRecorder ¶
type MockTokenServiceClientMockRecorder struct {
// contains filtered or unexported fields
}
MockTokenServiceClientMockRecorder is the mock recorder for MockTokenServiceClient.
func (*MockTokenServiceClientMockRecorder) CreateToken ¶
func (mr *MockTokenServiceClientMockRecorder) CreateToken(ctx, in any, opts ...any) *gomock.Call
CreateToken indicates an expected call of CreateToken.
func (*MockTokenServiceClientMockRecorder) GetToken ¶
func (mr *MockTokenServiceClientMockRecorder) GetToken(ctx, in any, opts ...any) *gomock.Call
GetToken indicates an expected call of GetToken.
func (*MockTokenServiceClientMockRecorder) GetTokens ¶
func (mr *MockTokenServiceClientMockRecorder) GetTokens(ctx, in any, opts ...any) *gomock.Call
GetTokens indicates an expected call of GetTokens.
func (*MockTokenServiceClientMockRecorder) IssueToken ¶
func (mr *MockTokenServiceClientMockRecorder) IssueToken(ctx, in any, opts ...any) *gomock.Call
IssueToken indicates an expected call of IssueToken.
func (*MockTokenServiceClientMockRecorder) RevokeToken ¶
func (mr *MockTokenServiceClientMockRecorder) RevokeToken(ctx, in any, opts ...any) *gomock.Call
RevokeToken indicates an expected call of RevokeToken.
func (*MockTokenServiceClientMockRecorder) VerifyToken ¶
func (mr *MockTokenServiceClientMockRecorder) VerifyToken(ctx, in any, opts ...any) *gomock.Call
VerifyToken indicates an expected call of VerifyToken.
type MockTokenServiceServer ¶
type MockTokenServiceServer struct {
// contains filtered or unexported fields
}
MockTokenServiceServer is a mock of TokenServiceServer interface.
func NewMockTokenServiceServer ¶
func NewMockTokenServiceServer(ctrl *gomock.Controller) *MockTokenServiceServer
NewMockTokenServiceServer creates a new mock instance.
func (*MockTokenServiceServer) CreateToken ¶
func (m *MockTokenServiceServer) CreateToken(arg0 context.Context, arg1 *v1.CreateTokenRequest) (*v1.CreateTokenResponse, error)
CreateToken mocks base method.
func (*MockTokenServiceServer) EXPECT ¶
func (m *MockTokenServiceServer) EXPECT() *MockTokenServiceServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTokenServiceServer) GetToken ¶
func (m *MockTokenServiceServer) GetToken(arg0 context.Context, arg1 *v1.GetTokenRequest) (*v1.GetTokenResponse, error)
GetToken mocks base method.
func (*MockTokenServiceServer) GetTokens ¶
func (m *MockTokenServiceServer) GetTokens(arg0 context.Context, arg1 *v1.GetTokensRequest) (*v1.GetTokensResponse, error)
GetTokens mocks base method.
func (*MockTokenServiceServer) IssueToken ¶
func (m *MockTokenServiceServer) IssueToken(arg0 context.Context, arg1 *v1.IssueTokenRequest) (*v1.IssueTokenResponse, error)
IssueToken mocks base method.
func (*MockTokenServiceServer) RevokeToken ¶
func (m *MockTokenServiceServer) RevokeToken(arg0 context.Context, arg1 *v1.RevokeTokenRequest) (*v1.RevokeTokenResponse, error)
RevokeToken mocks base method.
func (*MockTokenServiceServer) VerifyToken ¶
func (m *MockTokenServiceServer) VerifyToken(arg0 context.Context, arg1 *v1.VerifyTokenRequest) (*v1.VerifyTokenResponse, error)
VerifyToken mocks base method.
type MockTokenServiceServerMockRecorder ¶
type MockTokenServiceServerMockRecorder struct {
// contains filtered or unexported fields
}
MockTokenServiceServerMockRecorder is the mock recorder for MockTokenServiceServer.
func (*MockTokenServiceServerMockRecorder) CreateToken ¶
func (mr *MockTokenServiceServerMockRecorder) CreateToken(arg0, arg1 any) *gomock.Call
CreateToken indicates an expected call of CreateToken.
func (*MockTokenServiceServerMockRecorder) GetToken ¶
func (mr *MockTokenServiceServerMockRecorder) GetToken(arg0, arg1 any) *gomock.Call
GetToken indicates an expected call of GetToken.
func (*MockTokenServiceServerMockRecorder) GetTokens ¶
func (mr *MockTokenServiceServerMockRecorder) GetTokens(arg0, arg1 any) *gomock.Call
GetTokens indicates an expected call of GetTokens.
func (*MockTokenServiceServerMockRecorder) IssueToken ¶
func (mr *MockTokenServiceServerMockRecorder) IssueToken(arg0, arg1 any) *gomock.Call
IssueToken indicates an expected call of IssueToken.
func (*MockTokenServiceServerMockRecorder) RevokeToken ¶
func (mr *MockTokenServiceServerMockRecorder) RevokeToken(arg0, arg1 any) *gomock.Call
RevokeToken indicates an expected call of RevokeToken.
func (*MockTokenServiceServerMockRecorder) VerifyToken ¶
func (mr *MockTokenServiceServerMockRecorder) VerifyToken(arg0, arg1 any) *gomock.Call
VerifyToken indicates an expected call of VerifyToken.
type MockUnsafeTokenServiceServer ¶
type MockUnsafeTokenServiceServer struct {
// contains filtered or unexported fields
}
MockUnsafeTokenServiceServer is a mock of UnsafeTokenServiceServer interface.
func NewMockUnsafeTokenServiceServer ¶
func NewMockUnsafeTokenServiceServer(ctrl *gomock.Controller) *MockUnsafeTokenServiceServer
NewMockUnsafeTokenServiceServer creates a new mock instance.
func (*MockUnsafeTokenServiceServer) EXPECT ¶
func (m *MockUnsafeTokenServiceServer) EXPECT() *MockUnsafeTokenServiceServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockUnsafeTokenServiceServerMockRecorder ¶
type MockUnsafeTokenServiceServerMockRecorder struct {
// contains filtered or unexported fields
}
MockUnsafeTokenServiceServerMockRecorder is the mock recorder for MockUnsafeTokenServiceServer.