scope

package
v0.0.0-...-3f4516a Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ScopeApiService

type ScopeApiService struct {
	DB                 db.Querier
	DBConn             db.DBTX
	SnowflakeGenerator snowflake.IDGenerator
}

func (*ScopeApiService) CreateScope

func (s *ScopeApiService) CreateScope(ctx context.Context, newScope openapi.Scope) (openapi.ImplResponse, error)

func (*ScopeApiService) DeleteScope

func (s *ScopeApiService) DeleteScope(ctx context.Context, scopeIDStr string) (openapi.ImplResponse, error)

func (*ScopeApiService) GetScope

func (s *ScopeApiService) GetScope(ctx context.Context, scopeIDStr string) (openapi.ImplResponse, error)

func (*ScopeApiService) ListScopes

func (s *ScopeApiService) ListScopes(ctx context.Context, limit int32, offset int32) (openapi.ImplResponse, error)

func (*ScopeApiService) UpdateScope

func (s *ScopeApiService) UpdateScope(ctx context.Context, scopeIDStr string, updatedScope openapi.Scope) (openapi.ImplResponse, error)

type ScopeMock

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

s *ScopeMock openapi.ScopeApiServicer

func (*ScopeMock) CreateScope

func (s *ScopeMock) CreateScope(_ context.Context, _ openapi.Scope) (openapi.ImplResponse, error)

func (*ScopeMock) DeleteScope

func (s *ScopeMock) DeleteScope(_ context.Context, _ int32) (openapi.ImplResponse, error)

func (*ScopeMock) GetScope

func (s *ScopeMock) GetScope(_ context.Context, _ int32) (openapi.ImplResponse, error)

func (*ScopeMock) ListScopes

func (s *ScopeMock) ListScopes(_ context.Context, _ int32, _ int32) (openapi.ImplResponse, error)

func (*ScopeMock) UpdateScope

func (s *ScopeMock) UpdateScope(_ context.Context, _ int32, _ openapi.Scope) (openapi.ImplResponse, error)

Jump to

Keyboard shortcuts

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