Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Catalogue ¶
type Catalogue interface {
CreateStorageSpace(ctx context.Context, req *provider.CreateStorageSpaceRequest) (*provider.CreateStorageSpaceResponse, error)
ListStorageSpaces(ctx context.Context, req *provider.ListStorageSpacesRequest, status ProjectStatus) (*provider.ListStorageSpacesResponse, error)
UpdateStorageSpace(ctx context.Context, req *provider.UpdateStorageSpaceRequest) (*provider.UpdateStorageSpaceResponse, error)
DeleteStorageSpace(ctx context.Context, req *provider.DeleteStorageSpaceRequest) (*provider.DeleteStorageSpaceResponse, error)
}
Catalogue is the interface that stores the project spaces.
type ProjectStatus ¶ added in v3.6.1
type ProjectStatus string
const ( ProjectStatusCreating ProjectStatus = "creating" ProjectStatusActive ProjectStatus = "active" ProjectStatusArchiving ProjectStatus = "archiving" ProjectStatusArchived ProjectStatus = "archived" )
func (ProjectStatus) AsString ¶ added in v3.6.1
func (ps ProjectStatus) AsString() string
Click to show internal directories.
Click to hide internal directories.