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 ¶
IndexOfName searches repository in slice of repositories by name. Returns offset.
func NewDuplicateError ¶
func NewInvalidURLError ¶
func NewNotFoundError ¶
Types ¶
type Config ¶
type Config interface {
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 ¶
type Configs []Config
Configs type of array Config.
func (Configs) JSONSchema ¶
func (Configs) JSONSchema() *jsonschema.Schema
type DuplicateError ¶
type DuplicateError struct {
Name string
}
func (DuplicateError) Error ¶
func (err DuplicateError) Error() string
type InvalidURLError ¶
type InvalidURLError struct {
URL string
}
func (InvalidURLError) Error ¶
func (err InvalidURLError) Error() string
type NotFoundError ¶
type NotFoundError struct {
Name string
}
func (NotFoundError) Error ¶
func (err NotFoundError) Error() string
Click to show internal directories.
Click to hide internal directories.