oras

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2026 License: Apache-2.0 Imports: 39 Imported by: 5

Documentation

Index

Constants

View Source
const (
	HTTPMaxIdleConns         = 100
	HTTPMaxConnsPerHost      = 100
	HTTPMaxIdleConnsPerHost  = 100
	HTTPRetryMax             = 5
	HTTPRetryDurationMinimum = 200 * time.Millisecond
	HTTPRetryDurationMax     = 1750 * time.Millisecond
)
View Source
const CosignArtifactType = "application/vnd.dev.cosign.artifact.sig.v1+json"
View Source
const CosignSignatureTagSuffix = ".sig"

Variables

This section is empty.

Functions

func OciDescriptorToReferenceDescriptor

func OciDescriptorToReferenceDescriptor(ociDescriptor oci.Descriptor) ocispecs.ReferenceDescriptor

Types

type OrasStoreConf

type OrasStoreConf struct {
	Name           string                          `json:"name"`
	UseHTTP        bool                            `json:"useHttp,omitempty"`
	CosignEnabled  bool                            `json:"cosignEnabled,omitempty"`
	AuthProvider   authprovider.AuthProviderConfig `json:"authProvider,omitempty"`
	LocalCachePath string                          `json:"localCachePath,omitempty"`
}

OrasStoreConf describes the configuration of ORAS store

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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