v.io: v.io/x/ref/runtime/internal/rt Index | Files

package rt

import "v.io/x/ref/runtime/internal/rt"

Index

Package Files

runtime.go security.go

type Runtime Uses

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 Uses

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 Uses

func (*Runtime) GetBackgroundContext(ctx *context.T) *context.T

func (*Runtime) GetClient Uses

func (*Runtime) GetClient(ctx *context.T) rpc.Client

func (*Runtime) GetListenSpec Uses

func (*Runtime) GetListenSpec(ctx *context.T) rpc.ListenSpec

func (*Runtime) GetNamespace Uses

func (*Runtime) GetNamespace(ctx *context.T) namespace.T

func (*Runtime) GetPermissionsSpec Uses

func (*Runtime) GetPermissionsSpec(ctx *context.T) access.PermissionsSpec

func (*Runtime) GetPrincipal Uses

func (*Runtime) GetPrincipal(ctx *context.T) security.Principal

func (*Runtime) GetReservedNameDispatcher Uses

func (*Runtime) GetReservedNameDispatcher(ctx *context.T) rpc.Dispatcher

func (*Runtime) Init Uses

func (r *Runtime) Init(ctx *context.T) error

func (*Runtime) NewDiscovery Uses

func (*Runtime) NewDiscovery(ctx *context.T) (discovery.T, error)

func (*Runtime) NewFlowManager Uses

func (r *Runtime) NewFlowManager(ctx *context.T, channelTimeout time.Duration) (flow.Manager, error)

func (*Runtime) WithBackgroundContext Uses

func (*Runtime) WithBackgroundContext(ctx *context.T) *context.T

func (*Runtime) WithListenSpec Uses

func (*Runtime) WithListenSpec(ctx *context.T, ls rpc.ListenSpec) *context.T

func (*Runtime) WithNewClient Uses

func (r *Runtime) WithNewClient(ctx *context.T, opts ...rpc.ClientOpt) (*context.T, rpc.Client, error)

func (*Runtime) WithNewDispatchingServer Uses

func (r *Runtime) WithNewDispatchingServer(ctx *context.T, name string, disp rpc.Dispatcher, opts ...rpc.ServerOpt) (*context.T, rpc.Server, error)

func (*Runtime) WithNewNamespace Uses

func (r *Runtime) WithNewNamespace(ctx *context.T, roots ...string) (*context.T, namespace.T, error)

func (*Runtime) WithNewServer Uses

func (r *Runtime) WithNewServer(ctx *context.T, name string, object interface{}, auth security.Authorizer, opts ...rpc.ServerOpt) (*context.T, rpc.Server, error)

func (*Runtime) WithPrincipal Uses

func (r *Runtime) WithPrincipal(ctx *context.T, principal security.Principal) (*context.T, error)

func (*Runtime) WithReservedNameDispatcher Uses

func (*Runtime) WithReservedNameDispatcher(ctx *context.T, d rpc.Dispatcher) *context.T

Package rt imports 37 packages (graph) and is imported by 1 packages. Updated 2020-10-24. Refresh now. Tools for package owners.