Skip to content

Commit

Permalink
fix: curio: common commands (#11879)
Browse files Browse the repository at this point in the history
* fix common commands

* fix start log

* make gen
  • Loading branch information
LexLuthr authored Apr 16, 2024
1 parent 3ebb92a commit 649a1b5
Show file tree
Hide file tree
Showing 13 changed files with 780 additions and 660 deletions.
3 changes: 3 additions & 0 deletions api/api_curio.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ type Curio interface {
StorageInfo(context.Context, storiface.ID) (storiface.StorageInfo, error) //perm:admin
StorageFindSector(ctx context.Context, sector abi.SectorID, ft storiface.SectorFileType, ssize abi.SectorSize, allowFetch bool) ([]storiface.SectorStorageInfo, error) //perm:admin

LogList(ctx context.Context) ([]string, error) //perm:read
LogSetLevel(ctx context.Context, subsystem, level string) error //perm:admin

// Trigger shutdown
Shutdown(context.Context) error //perm:admin
}
26 changes: 26 additions & 0 deletions api/proxy_gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 649a1b5

Please sign in to comment.