receipt

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Load

func Load(path string) (index.Receipt, error)

Load reads the plugin receipt at the specified destination. If not found, it returns os.IsNotExist error.

func New

func New(plugin index.Plugin, timestamp metav1.Time) index.Receipt

New returns a new receipt with the given plugin and index name.

func Store

func Store(receipt index.Receipt, dest string) error

Store saves the given receipt at the destination. The caller has to ensure that the destination directory exists.

Types

This section is empty.

Jump to

Keyboard shortcuts

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