logstore

package
v0.0.0-...-e560ebb Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2021 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Overview

Package logstore provides an access to storage of ninja_log and compiler_proxy.INFO log.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bucket

func Bucket(ctx context.Context, obj string) (string, error)

Bucket returns url of the given obj.

func Fetch

func Fetch(ctx context.Context, client *storage.Client, path string) (*storage.Reader, error)

Fetch fetches file from path in logstore. Caller would need to uncompress the reader.

func Upload

func Upload(ctx context.Context, prefix string, data []byte) (_ string, rerr error)

Upload uploads data to logstore and returns logPath. data will be compressed.

Types

This section is empty.

Jump to

Keyboard shortcuts

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