Documentation ¶
Index ¶
Constants ¶
View Source
const ( // NamespacePredefined is the list of pre-defined namespaces NamespacePredefined = "predefined" NamespaceMultipartyContract = "contract" )
Variables ¶
This section is empty.
Functions ¶
func InitConfig ¶
func InitConfig(withDefaults bool)
Types ¶
type Manager ¶
type Manager interface { Init(ctx context.Context, cancelCtx context.CancelFunc, reset chan bool) error Start() error WaitStop() Reset(ctx context.Context) Orchestrator(ctx context.Context, ns string) (orchestrator.Orchestrator, error) MustOrchestrator(ns string) orchestrator.Orchestrator SPIEvents() spievents.Manager GetNamespaces(ctx context.Context) ([]*core.Namespace, error) GetOperationByNamespacedID(ctx context.Context, nsOpID string) (*core.Operation, error) ResolveOperationByNamespacedID(ctx context.Context, nsOpID string, op *core.OperationUpdateDTO) error Authorize(ctx context.Context, authReq *fftypes.AuthReq) error }
func NewNamespaceManager ¶
Click to show internal directories.
Click to hide internal directories.