Documentation ¶
Overview ¶
Package reserved implements client-side support for reserved RPC methods implemented by all servers.
Index ¶
- Variables
- func MethodSignature(ctx *context.T, name, method string, opts ...rpc.CallOpt) (signature.Method, error)
- func NewErrGlobMatchesOmitted(ctx *context.T) error
- func NewErrGlobMaxRecursionReached(ctx *context.T) error
- func NewErrGlobNotImplemented(ctx *context.T) error
- func Signature(ctx *context.T, name string, opts ...rpc.CallOpt) ([]signature.Interface, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // GlobMaxRecursionReached indicates that the Glob request exceeded the // max recursion level. ErrGlobMaxRecursionReached = verror.Register("v.io/v23/rpc/reserved.GlobMaxRecursionReached", verror.NoRetry, "{1:}{2:} max recursion level reached{:_}") // GlobMatchesOmitted indicates that some of the Glob results might // have been omitted due to access restrictions. ErrGlobMatchesOmitted = verror.Register("v.io/v23/rpc/reserved.GlobMatchesOmitted", verror.NoRetry, "{1:}{2:} some matches might have been omitted") // GlobNotImplemented indicates that Glob is not implemented by the // object. ErrGlobNotImplemented = verror.Register("v.io/v23/rpc/reserved.GlobNotImplemented", verror.NoRetry, "{1:}{2:} Glob not implemented") )
Functions ¶
func MethodSignature ¶
func MethodSignature(ctx *context.T, name, method string, opts ...rpc.CallOpt) (signature.Method, error)
MethodSignature invokes the reserved method signature RPC on the given name, and returns the results.
func NewErrGlobMatchesOmitted ¶
NewErrGlobMatchesOmitted returns an error with the ErrGlobMatchesOmitted ID.
func NewErrGlobMaxRecursionReached ¶
NewErrGlobMaxRecursionReached returns an error with the ErrGlobMaxRecursionReached ID.
func NewErrGlobNotImplemented ¶
NewErrGlobNotImplemented returns an error with the ErrGlobNotImplemented ID.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.