Documentation
¶
Index ¶
- Variables
- func IsNoSuchKey(err error) bool
- type Client
- func (c *Client) DownloadBlob(ctx context.Context, digests digest.ForRestore, file *os.File) error
- func (c *Client) GetManifests(ctx context.Context, identity manifests.NodeIdentity, ...) ([]manifests.Manifest, error)
- func (c *Client) ListHostNames(ctx context.Context, cluster string) ([]manifests.NodeIdentity, error)
- func (c *Client) ListManifests(ctx context.Context, identity manifests.NodeIdentity, ...) (manifests.ManifestKeys, error)
- func (c *Client) PutBlob(ctx context.Context, file paranoid.File, digests digest.ForUpload) error
- func (c *Client) PutManifest(ctx context.Context, identity manifests.NodeIdentity, ...) error
- type ExistsCache
Constants ¶
This section is empty.
Variables ¶
View Source
var UploadSkipped = errors.New("upload skipped")
Functions ¶
func IsNoSuchKey ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
var (
)func OpenShared ¶
func OpenShared() *Client
func (*Client) DownloadBlob ¶
func (*Client) GetManifests ¶
func (c *Client) GetManifests(ctx context.Context, identity manifests.NodeIdentity, keys manifests.ManifestKeys) ([]manifests.Manifest, error)
func (*Client) ListHostNames ¶
func (*Client) ListManifests ¶
func (c *Client) ListManifests(ctx context.Context, identity manifests.NodeIdentity, startAfter, notAfter unixtime.Seconds) (manifests.ManifestKeys, error)
func (*Client) PutManifest ¶
type ExistsCache ¶
type ExistsCache struct {
// contains filtered or unexported fields
}
func (*ExistsCache) Get ¶
func (e *ExistsCache) Get(restore digest.ForRestore) bool
func (*ExistsCache) Put ¶
func (e *ExistsCache) Put(restore digest.ForRestore, lockedUntil time.Time)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.