index

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2025 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Index

type Index struct {
	Index    simplestreams.Stream
	Products simplestreams.Products
	// contains filtered or unexported fields
}

Index manages a simplestreams index from a local directory

func GetOrCreateIndex

func GetOrCreateIndex(rootDir string) (*Index, error)

GetOrCreateIndex opens a simplestreams index given a local root directory.

func (*Index) ImportImage

func (i *Index) ImportImage(ctx context.Context, imageType string, imagePath string, aliases []string, incus bool, lxd bool) error

ImportImage imports a container or a virtual machine image into the simplestreams index.

Jump to

Keyboard shortcuts

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