Documentation
¶
Index ¶
- type ScopeApiService
- func (s *ScopeApiService) CreateScope(ctx context.Context, newScope openapi.Scope) (openapi.ImplResponse, error)
- func (s *ScopeApiService) DeleteScope(ctx context.Context, scopeIDStr string) (openapi.ImplResponse, error)
- func (s *ScopeApiService) GetScope(ctx context.Context, scopeIDStr string) (openapi.ImplResponse, error)
- func (s *ScopeApiService) ListScopes(ctx context.Context, limit int32, offset int32) (openapi.ImplResponse, error)
- func (s *ScopeApiService) UpdateScope(ctx context.Context, scopeIDStr string, updatedScope openapi.Scope) (openapi.ImplResponse, error)
- type ScopeMock
- func (s *ScopeMock) CreateScope(_ context.Context, _ openapi.Scope) (openapi.ImplResponse, error)
- func (s *ScopeMock) DeleteScope(_ context.Context, _ int32) (openapi.ImplResponse, error)
- func (s *ScopeMock) GetScope(_ context.Context, _ int32) (openapi.ImplResponse, error)
- func (s *ScopeMock) ListScopes(_ context.Context, _ int32, _ int32) (openapi.ImplResponse, error)
- func (s *ScopeMock) UpdateScope(_ context.Context, _ int32, _ openapi.Scope) (openapi.ImplResponse, error)
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 (*ScopeMock) DeleteScope ¶
func (*ScopeMock) ListScopes ¶
Click to show internal directories.
Click to hide internal directories.