Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct {
Client *client.Client `validate:"required"`
ConfigFile *config.File `validate:"required"`
Err errs.HandlerIface `validate:"required"`
ORM *gorm.DB `validate:"required"`
Log logger.OutputIface `validate:"required"`
MetadataDir string `validate:"required"`
}
Options constructor options
type Repo ¶
type Repo struct {
Name string `json:"name" yaml:"name"`
URL string `json:"url" yaml:"url"`
Description string `json:"description" yaml:"description"`
}
Repo is the repo struct
type Template ¶
type Template struct {
Name string `json:"name" yaml:"name"`
URL string `json:"url" yaml:"url"`
Description string `json:"description" yaml:"description"`
Versions []string `json:"versions" yaml:"versions"`
Repo Repo
}
Template is a template creator
type Update ¶
type Update struct {
// contains filtered or unexported fields
}
Update build metadata
type UpdateIface ¶
type UpdateIface interface {
// Build metadata. Conf defaults to globals.Config if Conf is nil.
Build() error
}
UpdateIface ...
Click to show internal directories.
Click to hide internal directories.