Documentation

Overview

    Package cas provides remote-apis-sdks client with luci integration.

    Index

    Constants

    This section is empty.

    Variables

    This section is empty.

    Functions

    func ClientOptions

    func ClientOptions(creds credentials.PerRPCCredentials) []client.Opt

      ClientOptions returns CAS client options.

      func ContextWithMetadata

      func ContextWithMetadata(ctx context.Context, toolName string) (context.Context, error)

        ContextWithMetadata attaches RBE related metadata with tool name to the given context.

        func NewClient

        func NewClient(ctx context.Context, instance string, opts auth.Options, readOnly bool) (*client.Client, error)

          NewClient returns luci auth configured Client for RBE-CAS.

          Types

          type Flags

          type Flags struct {
          	Instance string
          }

            Flags contains values parsed from command line arguments for RBE-CAS.

            func (*Flags) Init

            func (c *Flags) Init(f *flag.FlagSet)

              Init initializes flag.FlagSet.

              func (*Flags) Parse

              func (c *Flags) Parse() error

                Parse applies changes specified by command line flags.

                Source Files