Documentation
¶
Index ¶
Constants ¶
View Source
const APIVersionV1 = "v1"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type File ¶
type File struct {
APIVersion string `json:"apiVersion"`
Generated time.Time `json:"generated"`
Repositories []*Entry `json:"repositories"`
}
File represents the repositories.yaml file
func NewFile ¶
func NewFile() *File
NewFile generates an empty repositories file.
Generated and APIVersion are automatically set.
type SDKRepository ¶
type SDKRepository struct {
Config *Entry
ChartPaths []string
Client getter.Getter
CachePath string
}
SDKRepository represents a sdk repository For example sdkman.io
func NewSDKRepo ¶
func NewSDKRepo(cfg *Entry, getters getter.Providers) (*SDKRepository, error)
Click to show internal directories.
Click to hide internal directories.