Documentation ¶
Overview ¶
Package rate_table contains the top level app-engine code to create datastore and memcache entries to control mlab-ns rate limiting. TODO - add more metrics? TODO - update travis submodule after deploy_app changes are committed.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDataset ¶
func NewDataset(ctx context.Context, project, dataset string, clientOpts ...option.ClientOption) (bqext.Dataset, error)
NewDataset creates a Dataset for a project. httpClient is used to inject mocks for the bigquery client. If httpClient is nil, a suitable default client is used. Additional bigquery ClientOptions may be optionally passed as final clientOpts argument. This is useful for testing credentials. TODO - update go/bqext version to accept a context.
func Status ¶
func Status(w http.ResponseWriter, r *http.Request)
Status writes an instance summary into the response. TODO(gfr) Add either a black list or a white list for the environment variables, so we can hide sensitive vars. https://github.com/m-lab/etl/issues/384
Types ¶
This section is empty.