Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNameEmpty = errors.New("repository name is empty") ErrURLEmpty = errors.New("repository url is empty") )
Functions ¶
func IndexOfName ¶ added in v0.12.0
IndexOfName searches repository in slice of repositories by name. Returns offset.
func NewDuplicateError ¶ added in v0.31.0
func NewInvalidURLError ¶ added in v0.31.0
func NewNotFoundError ¶ added in v0.31.0
Types ¶
type Config ¶
type Config interface { helper.EqualChecker[Config] log.LoggerGetter Install(context.Context, *helm.EnvSettings, *repo.File) error Name() string URL() string Validate() error }
Config is an interface to manage particular helm repository.
type Configs ¶ added in v0.19.1
type Configs []Config
Configs type of array Config.
func (Configs) JSONSchema ¶ added in v0.23.0
func (Configs) JSONSchema() *jsonschema.Schema
func (*Configs) UnmarshalYAML ¶ added in v0.19.1
UnmarshalYAML is an unmarshaller for gopkg.in/yaml.v3 to parse YAML into `Config` interface.
type DuplicateError ¶ added in v0.30.2
type DuplicateError struct {
Name string
}
func (DuplicateError) Error ¶ added in v0.30.2
func (err DuplicateError) Error() string
type InvalidURLError ¶ added in v0.30.2
type InvalidURLError struct {
URL string
}
func (InvalidURLError) Error ¶ added in v0.30.2
func (err InvalidURLError) Error() string
type NotFoundError ¶ added in v0.30.2
type NotFoundError struct {
Name string
}
func (NotFoundError) Error ¶ added in v0.30.2
func (err NotFoundError) Error() string
Click to show internal directories.
Click to hide internal directories.