handler

package
v0.48.8 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Package handler is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

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

func NewHandler

func NewHandler(port int, ps projectStore, sharedSSOConfigs []config.SharedSSOConfig, gracePeriod time.Duration, logger *zap.Logger) *Handler

func (*Handler) Run

func (h *Handler) Run(ctx context.Context) error

type MockprojectStore added in v0.48.0

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

MockprojectStore is a mock of projectStore interface.

func NewMockprojectStore added in v0.48.0

func NewMockprojectStore(ctrl *gomock.Controller) *MockprojectStore

NewMockprojectStore creates a new mock instance.

func (*MockprojectStore) Add added in v0.48.0

func (m *MockprojectStore) Add(ctx context.Context, proj *model.Project) error

Add mocks base method.

func (*MockprojectStore) EXPECT added in v0.48.0

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

func (*MockprojectStore) Get added in v0.48.0

Get mocks base method.

func (*MockprojectStore) List added in v0.48.0

List mocks base method.

func (*MockprojectStore) UpdateProjectStaticAdmin added in v0.48.0

func (m *MockprojectStore) UpdateProjectStaticAdmin(ctx context.Context, id, username, password string) error

UpdateProjectStaticAdmin mocks base method.

type MockprojectStoreMockRecorder added in v0.48.0

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

MockprojectStoreMockRecorder is the mock recorder for MockprojectStore.

func (*MockprojectStoreMockRecorder) Add added in v0.48.0

func (mr *MockprojectStoreMockRecorder) Add(ctx, proj interface{}) *gomock.Call

Add indicates an expected call of Add.

func (*MockprojectStoreMockRecorder) Get added in v0.48.0

func (mr *MockprojectStoreMockRecorder) Get(ctx, id interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockprojectStoreMockRecorder) List added in v0.48.0

func (mr *MockprojectStoreMockRecorder) List(ctx, opts interface{}) *gomock.Call

List indicates an expected call of List.

func (*MockprojectStoreMockRecorder) UpdateProjectStaticAdmin added in v0.48.0

func (mr *MockprojectStoreMockRecorder) UpdateProjectStaticAdmin(ctx, id, username, password interface{}) *gomock.Call

UpdateProjectStaticAdmin indicates an expected call of UpdateProjectStaticAdmin.

Jump to

Keyboard shortcuts

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