client

package
v0.20.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChartsReader

type ChartsReader interface {
	Fetch(name string, version string) (string, error)
	List() ([]string, error)
	ListChartVersions(name string) ([]string, error)
	Has(name string, version string) (bool, error)
	GetChartDetails(name string, version string) (*types.ChartDetails, error)

	// Reload reloads or refresh the client-side data, in case it needs it
	Reload() error
}

ChartsReader defines the methods that a ReadOnly chart or bundle client should implement.

type ChartsReaderWriter

type ChartsReaderWriter interface {
	ChartsReader
	ChartsWriter
}

ChartsReaderWriter defines the methods that a chart or bundle client should implement

type ChartsWriter

type ChartsWriter interface {
	Upload(filepath string, metadata *chart.Metadata) error
}

ChartsWriter defines the methods that a WriteOnly chart or bundle client should implement.

Directories

Path Synopsis
oci

Jump to

Keyboard shortcuts

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