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 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.

      func NewClientFromPerRPCCredentials

      func NewClientFromPerRPCCredentials(ctx context.Context, instance string, creds credentials.PerRPCCredentials) (*client.Client, error)

        NewClientFromPerRPCCredentials creates CAS client using PerRPCCredentials.

        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