Documentation
¶
Index ¶
- Constants
- func DetectContentType(filename string) string
- func HealthCheck(ctx context.Context) error
- func SetConfig(cfg Config)
- type ArtifactMetadata
- type ArtifactNamespace
- type ArtifactPutRequest
- type ArtifactRef
- type ArtifactRetentionClass
- type ArtifactStore
- type Config
- type GCOptions
- type GCReport
- type ListOptions
- type LocalProvider
- type ProviderType
- type StorageProvider
Constants ¶
View Source
const ( ProviderLocal = internalstorage.ProviderLocal ProviderS3 = internalstorage.ProviderS3 )
Variables ¶
This section is empty.
Functions ¶
func DetectContentType ¶
func HealthCheck ¶
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 ArtifactRetentionClass ¶
type ArtifactRetentionClass = internalstorage.ArtifactRetentionClass
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
Click to show internal directories.
Click to hide internal directories.