Documentation ¶
Index ¶
- type Index
- func (idx *Index) AddOrReplace(md *chart.Metadata, filename, baseURL, digest string) error
- func (idx *Index) Delete(name, version string) (*repo.ChartVersion, error)
- func (idx *Index) MarshalBinary() (data []byte, err error)
- func (idx *Index) Reader() (io.Reader, error)
- func (idx *Index) UnmarshalBinary(data []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Index ¶
Index of a helm chart repository.
func (*Index) AddOrReplace ¶ added in v0.6.0
AddOrReplace is the same as Add but replaces the version if it exists instead of adding it to the list of versions.
func (*Index) Delete ¶
func (idx *Index) Delete(name, version string) (*repo.ChartVersion, error)
Delete removes chart version from index and returns deleted item.
func (*Index) MarshalBinary ¶
MarshalBinary encodes index to a binary form.
func (*Index) UnmarshalBinary ¶
UnmarshalBinary decodes index from a binary form.
Click to show internal directories.
Click to hide internal directories.