workspacearchive

package
v0.33.0 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2026 License: MIT Imports: 14 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package workspacearchive issues narrowly scoped trusted archive transfers.

Index

Constants

View Source
const ReconciliationRetryDelay = 30 * time.Second

Variables

This section is empty.

Functions

This section is empty.

Types

type ObjectStoreConfig

type ObjectStoreConfig struct {
	Bucket                  string           `json:"bucket"`
	Region                  string           `json:"region"`
	Endpoint                string           `json:"endpoint"`
	UsePathStyle            bool             `json:"usePathStyle"`
	TransferLifetimeSeconds int64            `json:"transferLifetimeSeconds"`
	ProfileIdleSeconds      map[string]int64 `json:"profileIdleSeconds"`
}

type S3TransferProvider

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

func NewS3TransferProvider

func NewS3TransferProvider(ctx context.Context, settings ObjectStoreConfig) (*S3TransferProvider, error)

func (*S3TransferProvider) Delete

func (provider *S3TransferProvider) Delete(ctx context.Context, key string) error

func (*S3TransferProvider) Transfer

func (provider *S3TransferProvider) Transfer(ctx context.Context, key, method string, descriptor *runnerv1.WorkspaceArchiveDescriptor) (_ *runnerv1.WorkspaceArchiveTransfer, transferErr error)

Jump to

Keyboard shortcuts

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