Documentation
¶
Overview ¶
tonyaw: refer to "kubernetes/helm/pkg/repo/index.go"
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type IndexFile ¶
IndexFile represents the index file in a chart repository tonyaw: here only add "WriteObject" function.
func IndexDirectory ¶
func IndexDirectory(c *swift.Connection, container, baseURL, rootPath, indexName string) (*IndexFile, error)
IndexDirectory reads a (flat) directory and generates an index.
It indexes only charts that have been packaged (*.tgz).
The index returned will be in an unsorted state
func LoadIndexFile ¶
LoadIndexFile takes a file at the given path and returns an IndexFile object
func (IndexFile) WriteObject ¶
func (i IndexFile) WriteObject(c *swift.Connection, container, path string) error
WriteObject writes an index file to the given destination path.
Click to show internal directories.
Click to hide internal directories.