rest

package
v0.0.0-...-ebb038d Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package rest is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthPrincipalEndpoint

type AuthPrincipalEndpoint interface {
	Create(ctx *gin.Context)
	Update(ctx *gin.Context)
	Delete(ctx *gin.Context)
	FindByUsername(ctx *gin.Context)
	FindCurrent(ctx *gin.Context)
	ChangePassword(ctx *gin.Context)
}

type DefaultAuthPrincipalEndpoint

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

func NewDefaultAuthPrincipalEndpoint

func NewDefaultAuthPrincipalEndpoint(principalManager feather_security.PrincipalManager) *DefaultAuthPrincipalEndpoint

func (*DefaultAuthPrincipalEndpoint) ChangePassword

func (endpoint *DefaultAuthPrincipalEndpoint) ChangePassword(ctx *gin.Context)

func (*DefaultAuthPrincipalEndpoint) Create

func (endpoint *DefaultAuthPrincipalEndpoint) Create(ctx *gin.Context)

func (*DefaultAuthPrincipalEndpoint) Delete

func (endpoint *DefaultAuthPrincipalEndpoint) Delete(ctx *gin.Context)

func (*DefaultAuthPrincipalEndpoint) FindByUsername

func (endpoint *DefaultAuthPrincipalEndpoint) FindByUsername(ctx *gin.Context)

func (*DefaultAuthPrincipalEndpoint) FindCurrent

func (endpoint *DefaultAuthPrincipalEndpoint) FindCurrent(ctx *gin.Context)

func (*DefaultAuthPrincipalEndpoint) Update

func (endpoint *DefaultAuthPrincipalEndpoint) Update(ctx *gin.Context)

type MockAuthPrincipalEndpoint

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

MockAuthPrincipalEndpoint is a mock of AuthPrincipalEndpoint interface.

func NewMockAuthPrincipalEndpoint

func NewMockAuthPrincipalEndpoint(ctrl *gomock.Controller) *MockAuthPrincipalEndpoint

NewMockAuthPrincipalEndpoint creates a new mock instance.

func (*MockAuthPrincipalEndpoint) ChangePassword

func (m *MockAuthPrincipalEndpoint) ChangePassword(ctx *gin.Context)

ChangePassword mocks base method.

func (*MockAuthPrincipalEndpoint) Create

func (m *MockAuthPrincipalEndpoint) Create(ctx *gin.Context)

Create mocks base method.

func (*MockAuthPrincipalEndpoint) Delete

func (m *MockAuthPrincipalEndpoint) Delete(ctx *gin.Context)

Delete mocks base method.

func (*MockAuthPrincipalEndpoint) EXPECT

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

func (*MockAuthPrincipalEndpoint) FindByUsername

func (m *MockAuthPrincipalEndpoint) FindByUsername(ctx *gin.Context)

FindByUsername mocks base method.

func (*MockAuthPrincipalEndpoint) FindCurrent

func (m *MockAuthPrincipalEndpoint) FindCurrent(ctx *gin.Context)

FindCurrent mocks base method.

func (*MockAuthPrincipalEndpoint) Update

func (m *MockAuthPrincipalEndpoint) Update(ctx *gin.Context)

Update mocks base method.

type MockAuthPrincipalEndpointMockRecorder

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

MockAuthPrincipalEndpointMockRecorder is the mock recorder for MockAuthPrincipalEndpoint.

func (*MockAuthPrincipalEndpointMockRecorder) ChangePassword

func (mr *MockAuthPrincipalEndpointMockRecorder) ChangePassword(ctx interface{}) *gomock.Call

ChangePassword indicates an expected call of ChangePassword.

func (*MockAuthPrincipalEndpointMockRecorder) Create

func (mr *MockAuthPrincipalEndpointMockRecorder) Create(ctx interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockAuthPrincipalEndpointMockRecorder) Delete

func (mr *MockAuthPrincipalEndpointMockRecorder) Delete(ctx interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockAuthPrincipalEndpointMockRecorder) FindByUsername

func (mr *MockAuthPrincipalEndpointMockRecorder) FindByUsername(ctx interface{}) *gomock.Call

FindByUsername indicates an expected call of FindByUsername.

func (*MockAuthPrincipalEndpointMockRecorder) FindCurrent

func (mr *MockAuthPrincipalEndpointMockRecorder) FindCurrent(ctx interface{}) *gomock.Call

FindCurrent indicates an expected call of FindCurrent.

func (*MockAuthPrincipalEndpointMockRecorder) Update

func (mr *MockAuthPrincipalEndpointMockRecorder) Update(ctx interface{}) *gomock.Call

Update indicates an expected call of Update.

Jump to

Keyboard shortcuts

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