Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Chart ¶
type Chart struct { ID string `json:"ID" bson:"chart_id"` Name string `json:"name"` Repo *Repo `json:"repo"` Description string `json:"description"` Home string `json:"home"` Keywords []string `json:"keywords"` Maintainers []chart.Maintainer `json:"maintainers"` Sources []string `json:"sources"` Icon string `json:"icon"` RawIcon []byte `json:"raw_icon" bson:"raw_icon"` IconContentType string `json:"icon_content_type" bson:"icon_content_type,omitempty"` Category string `json:"category"` ChartVersions []ChartVersion `json:"chartVersions"` }
Chart is a higher-level representation of a chart package
type ChartFiles ¶
type ChartFiles struct { ID string `bson:"file_id"` Readme string Values string Schema string Repo *Repo Digest string }
ChartFiles holds the README and values for a given chart version
type ChartIconString ¶
ChartIconString is a higher-level representation of a chart package TODO(andresmgot) Replace this type when the icon is stored as a binary
type ChartVersion ¶
type ChartVersion struct { Version string `json:"version"` AppVersion string `json:"app_version"` Created time.Time `json:"created"` Digest string `json:"digest"` URLs []string `json:"urls"` // The following three fields get set with the URL paths to the respective // chart files (as opposed to the similar fields on ChartFiles which // contain the actual content). Readme string `json:"readme" bson:"-"` Values string `json:"values" bson:"-"` Schema string `json:"schema" bson:"-"` }
ChartVersion is a representation of a specific version of a chart
type Repo ¶
type Repo struct { Namespace string `json:"namespace"` Name string `json:"name"` URL string `json:"url"` }
Repo holds the App repository basic details
Click to show internal directories.
Click to hide internal directories.