oras

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2024 License: Apache-2.0 Imports: 38 Imported by: 1

Documentation

Index

Constants

View Source
const (
	HTTPMaxIdleConns                       = 100
	HTTPMaxConnsPerHost                    = 100
	HTTPMaxIdleConnsPerHost                = 100
	HTTPRetryMax                           = 5
	HTTPRetryDurationMinimum time.Duration = 200 * time.Millisecond
	HTTPRetryDurationMax     time.Duration = 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