storage

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ProviderLocal = internalstorage.ProviderLocal
	ProviderS3    = internalstorage.ProviderS3
)

Variables

This section is empty.

Functions

func DetectContentType

func DetectContentType(filename string) string

func HealthCheck

func HealthCheck(ctx context.Context) error

func SetConfig

func SetConfig(cfg Config)

Types

type ArtifactMetadata

type ArtifactMetadata = internalstorage.ArtifactMetadata

type ArtifactNamespace

type ArtifactNamespace = internalstorage.ArtifactNamespace

type ArtifactPutRequest

type ArtifactPutRequest = internalstorage.ArtifactPutRequest

type ArtifactRef

type ArtifactRef = internalstorage.ArtifactRef

type ArtifactStore

type ArtifactStore = internalstorage.ArtifactStore

func DefaultArtifactStore

func DefaultArtifactStore() (ArtifactStore, error)

func NewArtifactStore

func NewArtifactStore(provider StorageProvider) ArtifactStore

func NewArtifactStoreFromConfig

func NewArtifactStoreFromConfig(cfg Config) (ArtifactStore, error)

type Config

type Config = internalstorage.Config

type GCOptions

type GCOptions = internalstorage.GCOptions

type GCReport

type GCReport = internalstorage.GCReport

type ListOptions

type ListOptions = internalstorage.ListOptions

type LocalProvider

type LocalProvider = internalstorage.LocalProvider

func NewLocalProviderWithConfig

func NewLocalProviderWithConfig(cfg Config) (*LocalProvider, error)

type ProviderType

type ProviderType = internalstorage.ProviderType

func GetProviderType

func GetProviderType() ProviderType

type StorageProvider

type StorageProvider = internalstorage.StorageProvider

Jump to

Keyboard shortcuts

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