registry

package
v0.19.0 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IndexOfHost

func IndexOfHost(a []Config, host string) (i int, found bool)

IndexOfHost searches registry in slice of registries by host. Returns offset.

Types

type Config

type Config interface {
	Install() error
	Logger() *log.Entry
	Host() string
}

Config is an interface to manage particular helm reg.

func UnmarshalYAML

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