orasfile

package
v0.0.42 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	StaticFileConfigType = "application/vnd.ciq.static.file.v1.config+json"
	StaticFileLayerType  = "application/vnd.ciq.static.v1.file"
)

Variables

This section is empty.

Functions

func FileReference added in v0.0.20

func FileReference(filename, repo string, opts ...name.Option) (name.Reference, error)

func NewStaticFilePusher

func NewStaticFilePusher(path, repo string, opts ...name.Option) (oras.Pusher, error)

func NewStaticFileStreamPusher added in v0.0.20

func NewStaticFileStreamPusher(stream io.Reader, filename, repo string, opts ...name.Option) (oras.Pusher, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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