v.io: v.io/v23/rpc/reserved Index | Files

package reserved

import "v.io/v23/rpc/reserved"

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

nolint:golint

Index

Package Files

reserved.go reserved.vdl.go

Variables

var (

    // ErrGlobMaxRecursionReached indicates that the Glob request exceeded the
    // max recursion level.
    ErrGlobMaxRecursionReached = verror.NewIDAction("v.io/v23/rpc/reserved.GlobMaxRecursionReached", verror.NoRetry)
    // ErrGlobMatchesOmitted indicates that some of the Glob results might
    // have been omitted due to access restrictions.
    ErrGlobMatchesOmitted = verror.NewIDAction("v.io/v23/rpc/reserved.GlobMatchesOmitted", verror.NoRetry)
    // ErrGlobNotImplemented indicates that Glob is not implemented by the
    // object.
    ErrGlobNotImplemented = verror.NewIDAction("v.io/v23/rpc/reserved.GlobNotImplemented", verror.NoRetry)
)

func ErrorfGlobMatchesOmitted Uses

func ErrorfGlobMatchesOmitted(ctx *context.T, format string) error

ErrorfGlobMatchesOmitted calls ErrGlobMatchesOmitted.Errorf with the supplied arguments.

func ErrorfGlobMaxRecursionReached Uses

func ErrorfGlobMaxRecursionReached(ctx *context.T, format string) error

ErrorfGlobMaxRecursionReached calls ErrGlobMaxRecursionReached.Errorf with the supplied arguments.

func ErrorfGlobNotImplemented Uses

func ErrorfGlobNotImplemented(ctx *context.T, format string) error

ErrorfGlobNotImplemented calls ErrGlobNotImplemented.Errorf with the supplied arguments.

func MessageGlobMatchesOmitted Uses

func MessageGlobMatchesOmitted(ctx *context.T, message string) error

MessageGlobMatchesOmitted calls ErrGlobMatchesOmitted.Message with the supplied arguments.

func MessageGlobMaxRecursionReached Uses

func MessageGlobMaxRecursionReached(ctx *context.T, message string) error

MessageGlobMaxRecursionReached calls ErrGlobMaxRecursionReached.Message with the supplied arguments.

func MessageGlobNotImplemented Uses

func MessageGlobNotImplemented(ctx *context.T, message string) error

MessageGlobNotImplemented calls ErrGlobNotImplemented.Message with the supplied arguments.

func MethodSignature Uses

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 Uses

func NewErrGlobMatchesOmitted(ctx *context.T) error

NewErrGlobMatchesOmitted returns an error with the ErrGlobMatchesOmitted ID. Deprecated: this function will be removed in the future, use ErrorfGlobMatchesOmitted or MessageGlobMatchesOmitted instead.

func NewErrGlobMaxRecursionReached Uses

func NewErrGlobMaxRecursionReached(ctx *context.T) error

NewErrGlobMaxRecursionReached returns an error with the ErrGlobMaxRecursionReached ID. Deprecated: this function will be removed in the future, use ErrorfGlobMaxRecursionReached or MessageGlobMaxRecursionReached instead.

func NewErrGlobNotImplemented Uses

func NewErrGlobNotImplemented(ctx *context.T) error

NewErrGlobNotImplemented returns an error with the ErrGlobNotImplemented ID. Deprecated: this function will be removed in the future, use ErrorfGlobNotImplemented or MessageGlobNotImplemented instead.

func ParamsErrGlobMatchesOmitted Uses

func ParamsErrGlobMatchesOmitted(argumentError error) (verrorComponent string, verrorOperation string, returnErr error)

ParamsErrGlobMatchesOmitted extracts the expected parameters from the error's ParameterList.

func ParamsErrGlobMaxRecursionReached Uses

func ParamsErrGlobMaxRecursionReached(argumentError error) (verrorComponent string, verrorOperation string, returnErr error)

ParamsErrGlobMaxRecursionReached extracts the expected parameters from the error's ParameterList.

func ParamsErrGlobNotImplemented Uses

func ParamsErrGlobNotImplemented(argumentError error) (verrorComponent string, verrorOperation string, returnErr error)

ParamsErrGlobNotImplemented extracts the expected parameters from the error's ParameterList.

func Signature Uses

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.

Package reserved imports 7 packages (graph) and is imported by 9 packages. Updated 2020-10-29. Refresh now. Tools for package owners.