Documentation
¶
Index ¶
- func NewStorageStatusWrapper(s datastore.Storage) datastore.Storage
- type ProjectService
- func (s *ProjectService) Create(ctx context.Context, req *v1.ProjectCreateRequest) (*v1.ProjectResponse, error)
- func (s *ProjectService) Delete(ctx context.Context, req *v1.ProjectDeleteRequest) (*v1.ProjectResponse, error)
- func (s *ProjectService) Find(ctx context.Context, req *v1.ProjectFindRequest) (*v1.ProjectListResponse, error)
- func (s *ProjectService) Get(ctx context.Context, req *v1.ProjectGetRequest) (*v1.ProjectResponse, error)
- func (s *ProjectService) GetHistory(ctx context.Context, req *v1.ProjectGetHistoryRequest) (*v1.ProjectResponse, error)
- func (s *ProjectService) Update(ctx context.Context, req *v1.ProjectUpdateRequest) (*v1.ProjectResponse, error)
- type StorageStatusWrapper
- func (s StorageStatusWrapper) Create(ctx context.Context, ve datastore.VersionedJSONEntity) error
- func (s StorageStatusWrapper) Delete(ctx context.Context, ve datastore.VersionedJSONEntity) error
- func (s StorageStatusWrapper) Find(ctx context.Context, filter map[string]interface{}, result interface{}) error
- func (s StorageStatusWrapper) Get(ctx context.Context, id string, ve datastore.VersionedJSONEntity) error
- func (s StorageStatusWrapper) GetHistory(ctx context.Context, id string, at time.Time, ve datastore.VersionedJSONEntity) error
- func (s StorageStatusWrapper) Update(ctx context.Context, ve datastore.VersionedJSONEntity) error
- type TenantService
- func (s *TenantService) Create(ctx context.Context, req *v1.TenantCreateRequest) (*v1.TenantResponse, error)
- func (s *TenantService) Delete(ctx context.Context, req *v1.TenantDeleteRequest) (*v1.TenantResponse, error)
- func (s *TenantService) Find(ctx context.Context, req *v1.TenantFindRequest) (*v1.TenantListResponse, error)
- func (s *TenantService) Get(ctx context.Context, req *v1.TenantGetRequest) (*v1.TenantResponse, error)
- func (s *TenantService) GetHistory(ctx context.Context, req *v1.TenantGetHistoryRequest) (*v1.TenantResponse, error)
- func (s *TenantService) Update(ctx context.Context, req *v1.TenantUpdateRequest) (*v1.TenantResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ProjectService ¶
func NewProjectService ¶
func NewProjectService(s datastore.Storage, l *zap.Logger) *ProjectService
func (*ProjectService) Create ¶
func (s *ProjectService) Create(ctx context.Context, req *v1.ProjectCreateRequest) (*v1.ProjectResponse, error)
func (*ProjectService) Delete ¶
func (s *ProjectService) Delete(ctx context.Context, req *v1.ProjectDeleteRequest) (*v1.ProjectResponse, error)
func (*ProjectService) Find ¶
func (s *ProjectService) Find(ctx context.Context, req *v1.ProjectFindRequest) (*v1.ProjectListResponse, error)
func (*ProjectService) Get ¶
func (s *ProjectService) Get(ctx context.Context, req *v1.ProjectGetRequest) (*v1.ProjectResponse, error)
func (*ProjectService) GetHistory ¶ added in v0.7.0
func (s *ProjectService) GetHistory(ctx context.Context, req *v1.ProjectGetHistoryRequest) (*v1.ProjectResponse, error)
func (*ProjectService) Update ¶
func (s *ProjectService) Update(ctx context.Context, req *v1.ProjectUpdateRequest) (*v1.ProjectResponse, error)
type StorageStatusWrapper ¶
type StorageStatusWrapper struct {
// contains filtered or unexported fields
}
func (StorageStatusWrapper) Create ¶
func (s StorageStatusWrapper) Create(ctx context.Context, ve datastore.VersionedJSONEntity) error
func (StorageStatusWrapper) Delete ¶
func (s StorageStatusWrapper) Delete(ctx context.Context, ve datastore.VersionedJSONEntity) error
func (StorageStatusWrapper) Find ¶
func (s StorageStatusWrapper) Find(ctx context.Context, filter map[string]interface{}, result interface{}) error
func (StorageStatusWrapper) Get ¶
func (s StorageStatusWrapper) Get(ctx context.Context, id string, ve datastore.VersionedJSONEntity) error
func (StorageStatusWrapper) GetHistory ¶ added in v0.7.0
func (s StorageStatusWrapper) GetHistory(ctx context.Context, id string, at time.Time, ve datastore.VersionedJSONEntity) error
func (StorageStatusWrapper) Update ¶
func (s StorageStatusWrapper) Update(ctx context.Context, ve datastore.VersionedJSONEntity) error
type TenantService ¶
func NewTenantService ¶
func NewTenantService(s datastore.Storage, l *zap.Logger) *TenantService
func (*TenantService) Create ¶
func (s *TenantService) Create(ctx context.Context, req *v1.TenantCreateRequest) (*v1.TenantResponse, error)
func (*TenantService) Delete ¶
func (s *TenantService) Delete(ctx context.Context, req *v1.TenantDeleteRequest) (*v1.TenantResponse, error)
func (*TenantService) Find ¶
func (s *TenantService) Find(ctx context.Context, req *v1.TenantFindRequest) (*v1.TenantListResponse, error)
func (*TenantService) Get ¶
func (s *TenantService) Get(ctx context.Context, req *v1.TenantGetRequest) (*v1.TenantResponse, error)
func (*TenantService) GetHistory ¶ added in v0.7.0
func (s *TenantService) GetHistory(ctx context.Context, req *v1.TenantGetHistoryRequest) (*v1.TenantResponse, error)
func (*TenantService) Update ¶
func (s *TenantService) Update(ctx context.Context, req *v1.TenantUpdateRequest) (*v1.TenantResponse, error)
Click to show internal directories.
Click to hide internal directories.