ari

package
v0.1.23-oss Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlobClient

type BlobClient interface {
	Close() error
	FetchBlob(ctx context.Context, ari string) (remote.ContentReadCloser, error)
}

BlobClient defines the interface for fetching ARI blob objects.

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client fetches ARI blob objects from RBE.

func NewClient

func NewClient(rbeClient *rexec.Client) *Client

NewClient creates a new ARI Client.

func (*Client) Close

func (c *Client) Close() error

Close closes the underlying RBE client connection.

func (*Client) FetchBlob

func (c *Client) FetchBlob(ctx context.Context, ari string) (remote.ContentReadCloser, error)

FetchBlob parses an ARI string in the form of 'rbe:sha256:size' and fetches the blob bytes directly from RBE.

Jump to

Keyboard shortcuts

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