repo

package
v0.16.7 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNotFound = errors.New("repository not found")

Functions

func IndexOf added in v0.12.0

func IndexOf(a []Config, rep Config) (i int, found bool)

func IndexOfName added in v0.12.0

func IndexOfName(a []Config, name string) (i int, found bool)

Types

type Config

type Config interface {
	In([]Config) bool
	Install(*helm.EnvSettings, *repo.File) error
	Name() string
	URL() string
}

Config is an interface to manage particular helm repository.

func UnmarshalYAML added in v0.16.6

func UnmarshalYAML(node *yaml.Node) ([]Config, error)

UnmarshalYAML is an unmarshaller for gopkg.in/yaml.v3 to parse YAML into `Config` interface.

Jump to

Keyboard shortcuts

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