receipt

package
v0.4.4 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2023 License: Apache-2.0 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 added in v0.4.0

func New(plugin index.Plugin, indexName string, 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