reserved

package
v0.0.0-...-0921c0e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 29, 2017 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Overview

Package reserved implements client-side support for reserved RPC methods implemented by all servers.

Index

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

func NewErrGlobMatchesOmitted(ctx *context.T) error

NewErrGlobMatchesOmitted returns an error with the ErrGlobMatchesOmitted ID.

func NewErrGlobMaxRecursionReached

func NewErrGlobMaxRecursionReached(ctx *context.T) error

NewErrGlobMaxRecursionReached returns an error with the ErrGlobMaxRecursionReached ID.

func NewErrGlobNotImplemented

func NewErrGlobNotImplemented(ctx *context.T) error

NewErrGlobNotImplemented returns an error with the ErrGlobNotImplemented ID.

func Signature

func Signature(ctx *context.T, name string, opts ...rpc.CallOpt) ([]signature.Interface, error)

Signature invokes the reserved signature RPC on the given name, and returns the results.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL