repository

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2024 License: MPL-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get(ctx context.Context, client *http.Client, url, username, password string) ([]byte, error)

func ParseReadmeValues

func ParseReadmeValues(ctx context.Context, helmChart *helm.Chart) (string, string, error)

func ParseRepository

func ParseRepository(ctx context.Context, repository *Definition) ([]helm.Chart, error)

Types

type Definition

type Definition struct {
	Name     string `json:"name,omitempty"`
	URL      string `json:"url,omitempty"`
	Username string `json:"username,omitempty"`
	Password string `json:"password,omitempty"`
	Insecure bool   `json:"insecure,omitempty"`
}

Definition defines a named repository

type Entries

type Entries struct {
	// The API Version of this repository.
	APIVersion string `json:"apiVersion,omitempty"`
	// The entries of this repository
	Entries map[string][]*helm.Metadata `json:"entries,omitempty"`
}

Entries describes the entries of an helm chart repository

Jump to

Keyboard shortcuts

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