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()
Types ¶
type Manager ¶
type Manager interface { Init(ctx context.Context, cancelCtx context.CancelFunc, reset chan bool, reloadConfig func() error) error Start() error WaitStop() Reset(ctx context.Context) error Orchestrator(ctx context.Context, ns string, includeInitializing bool) (orchestrator.Orchestrator, error) MustOrchestrator(ns string) orchestrator.Orchestrator SPIEvents() spievents.Manager GetNamespaces(ctx context.Context, includeInitializing bool) ([]*core.NamespaceWithInitStatus, 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 ¶
func NewNamespaceManager() Manager
Click to show internal directories.
Click to hide internal directories.