Documentation ¶
Index ¶
- type Runtime
- func (*Runtime) GetBackgroundContext(ctx *context.T) *context.T
- func (*Runtime) GetClient(ctx *context.T) rpc.Client
- func (*Runtime) GetListenSpec(ctx *context.T) rpc.ListenSpec
- func (*Runtime) GetNamespace(ctx *context.T) namespace.T
- func (*Runtime) GetPermissionsSpec(ctx *context.T) access.PermissionsSpec
- func (*Runtime) GetPrincipal(ctx *context.T) security.Principal
- func (*Runtime) GetReservedNameDispatcher(ctx *context.T) rpc.Dispatcher
- func (r *Runtime) Init(ctx *context.T) error
- func (*Runtime) NewDiscovery(ctx *context.T) (discovery.T, error)
- func (r *Runtime) NewFlowManager(ctx *context.T, channelTimeout time.Duration) (flow.Manager, error)
- func (*Runtime) WithBackgroundContext(ctx *context.T) *context.T
- func (*Runtime) WithListenSpec(ctx *context.T, ls rpc.ListenSpec) *context.T
- func (r *Runtime) WithNewClient(ctx *context.T, opts ...rpc.ClientOpt) (*context.T, rpc.Client, error)
- func (r *Runtime) WithNewDispatchingServer(ctx *context.T, name string, disp rpc.Dispatcher, opts ...rpc.ServerOpt) (*context.T, rpc.Server, error)
- func (r *Runtime) WithNewNamespace(ctx *context.T, roots ...string) (*context.T, namespace.T, error)
- func (r *Runtime) WithNewServer(ctx *context.T, name string, object interface{}, auth security.Authorizer, ...) (*context.T, rpc.Server, error)
- func (r *Runtime) WithPrincipal(ctx *context.T, principal security.Principal) (*context.T, error)
- func (*Runtime) WithReservedNameDispatcher(ctx *context.T, d rpc.Dispatcher) *context.T
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Runtime ¶
type Runtime struct {
// contains filtered or unexported fields
}
Runtime implements the v23.Runtime interface. Please see the interface definition for documentation of the individual methods.
func Init ¶
func Init( ctx *context.T, discoveryFactory idiscovery.Factory, namespaceFactory inamespace.Factory, protocols []string, listenSpec *rpc.ListenSpec, settingsPublisher *pubsub.Publisher, flags flags.RuntimeFlags, reservedDispatcher rpc.Dispatcher, permissionsSpec *access.PermissionsSpec, connIdleExpiry time.Duration) (*Runtime, *context.T, v23.Shutdown, error)
func (*Runtime) GetBackgroundContext ¶
func (*Runtime) GetListenSpec ¶
func (*Runtime) GetListenSpec(ctx *context.T) rpc.ListenSpec
func (*Runtime) GetPermissionsSpec ¶
func (*Runtime) GetPermissionsSpec(ctx *context.T) access.PermissionsSpec
func (*Runtime) GetReservedNameDispatcher ¶
func (*Runtime) GetReservedNameDispatcher(ctx *context.T) rpc.Dispatcher
func (*Runtime) NewFlowManager ¶
func (*Runtime) WithBackgroundContext ¶
func (*Runtime) WithListenSpec ¶
func (*Runtime) WithNewClient ¶
func (*Runtime) WithNewDispatchingServer ¶
func (*Runtime) WithNewNamespace ¶
func (*Runtime) WithNewServer ¶
func (*Runtime) WithPrincipal ¶
func (*Runtime) WithReservedNameDispatcher ¶
Click to show internal directories.
Click to hide internal directories.