blob: e7bb3449630ae486db5685c77164cfcdc6ccf73b [file] [log] [blame]
// Copyright 2015 The Vanadium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package fake
import (
"v.io/v23/context"
"v.io/v23/namespace"
"v.io/v23/naming"
"v.io/x/ref/lib/apilog"
inaming "v.io/x/ref/runtime/internal/naming"
)
func (r *Runtime) NewEndpoint(ep string) (naming.Endpoint, error) {
defer apilog.LogCallf(nil, "ep=%.10s...", ep)(nil, "") // gologcop: DO NOT EDIT, MUST BE FIRST STATEMENT
return inaming.NewEndpoint(ep)
}
func (r *Runtime) WithNewNamespace(ctx *context.T, roots ...string) (*context.T, namespace.T, error) {
defer apilog.LogCallf(ctx, "roots...=%v", roots)(ctx, "") // gologcop: DO NOT EDIT, MUST BE FIRST STATEMENT
panic("unimplemented")
}
func (r *Runtime) GetNamespace(ctx *context.T) namespace.T {
// nologcall
return r.ns
}