Documentation
¶
Index ¶
- func AddRepo(namespace string, repoConfig *RepoConfig) error
- func CheckExist(namespace string, repoConfig *RepoConfig) bool
- func ListChart(namespace string, repoConfig *RepoConfig, listOpts *ListOptions) (*paginator.Page, error)
- func RepoUpdate() error
- type ChartDetail
- type ChartSummary
- type ListOptions
- type RepoAddOptions
- type RepoConfig
- type SearchRepoOptions
- type ShowOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckExist ¶ added in v1.0.0
func CheckExist(namespace string, repoConfig *RepoConfig) bool
func ListChart ¶
func ListChart(namespace string, repoConfig *RepoConfig, listOpts *ListOptions) (*paginator.Page, error)
func RepoUpdate ¶
func RepoUpdate() error
Types ¶
type ChartDetail ¶
type ChartDetail struct {
ChartSummary
Values string `json:"values,omitempty"`
Readme string `json:"readme,omitempty"`
Versions []string `json:"versions,omitempty"`
}
func ShowDetail ¶
func ShowDetail(namespace string, repoConfig *RepoConfig, showOpts *ShowOptions) (*ChartDetail, error)
ShowDetail show chart details with multiple versions
type ChartSummary ¶
type ChartSummary struct {
Name string `json:"name,omitempty"`
// A SemVer 2 conformant version string of the chart
Version string `json:"version,omitempty"`
// The version of the application enclosed inside of this chart.
AppVersion string `json:"appVersion,omitempty"`
// A one-sentence description of the chart
Description string `json:"description,omitempty"`
// The URL to an icon file.
Icon string `json:"icon,omitempty"`
}
type ListOptions ¶
type RepoAddOptions ¶
type RepoAddOptions struct {
// contains filtered or unexported fields
}
RepoAddOptions repo add options
type RepoConfig ¶
RepoConfig repo config to add
type SearchRepoOptions ¶
type SearchRepoOptions struct {
// contains filtered or unexported fields
}
type ShowOptions ¶
Click to show internal directories.
Click to hide internal directories.