oci

package
v0.92.1 Latest Latest
Warning

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

Go to latest
Published: May 15, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HelmCredentialsFileBasename = ".config/helm/registry/config.json"
)

Variables

View Source
var (
	ErrNoRelease = errors.New("no release found")
)

Functions

func PullPreflightFromOCI

func PullPreflightFromOCI(uri string) ([]byte, error)

func PullSpecsFromOCI added in v0.76.0

func PullSpecsFromOCI(ctx context.Context, uri string) ([]string, error)

PullSpecsFromOCI pulls both the preflight and support bundle specs from the given URI

The URI is expected to be the same as the one used to install your KOTS application Example oci://registry.replicated.com/app-slug/unstable will endup pulling preflights from "registry.replicated.com/app-slug/unstable/replicated-preflight:latest" and support bundles from "registry.replicated.com/app-slug/unstable/replicated-supportbundle:latest" Both images have their own media types created when publishing KOTS OCI image. NOTE: This only works with replicated registries for now and for KOTS applications only

func PullSupportBundleFromOCI

func PullSupportBundleFromOCI(uri string) ([]byte, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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