Documentation ¶
Index ¶
Constants ¶
View Source
const CName = "common.coordinator.coordinatorclient"
Variables ¶
View Source
var ( ErrPubKeyMissing = errors.New("peer pub key missing") ErrNetworkMismatched = errors.New("network mismatched") )
Functions ¶
This section is empty.
Types ¶
type CoordinatorClient ¶
type CoordinatorClient interface { ChangeStatus(ctx context.Context, spaceId string, conf *coordinatorproto.DeletionConfirmPayloadWithSignature) (status *coordinatorproto.SpaceStatusPayload, err error) StatusCheckMany(ctx context.Context, spaceIds []string) (statuses []*coordinatorproto.SpaceStatusPayload, err error) StatusCheck(ctx context.Context, spaceId string) (status *coordinatorproto.SpaceStatusPayload, err error) SpaceSign(ctx context.Context, payload SpaceSignPayload) (receipt *coordinatorproto.SpaceReceiptWithSignature, err error) FileLimitCheck(ctx context.Context, spaceId string, identity []byte) (limit uint64, err error) NetworkConfiguration(ctx context.Context, currentId string) (*coordinatorproto.NetworkConfigurationResponse, error) DeletionLog(ctx context.Context, lastRecordId string, limit int) (records []*coordinatorproto.DeletionLogRecord, err error) app.Component }
func New ¶
func New() CoordinatorClient
Directories ¶
Path | Synopsis |
---|---|
Package mock_coordinatorclient is a generated GoMock package.
|
Package mock_coordinatorclient is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.