Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrIndexOutOfDate occurs when trying to push a chart on a repository // that is being updated at the same time. ErrIndexOutOfDate = errors.New("index is out-of-date") // Debug is used to activate log output Debug bool )
Functions ¶
Types ¶
type Repo ¶
type Repo struct {
// contains filtered or unexported fields
}
Repo manages Helm repositories on Google Cloud Storage.
func Load ¶
Load loads an existing repository known by Helm. Returns ErrNotFound if the repository is not found in helm repository entries.
func (Repo) PushChart ¶
PushChart adds a chart into the repository.
The index file on GCS will be updated and the file at "chartpath" will be uploaded to GCS. If the version of the chart is already indexed, it won't be uploaded unless "force" is set to true. The push will fail if the repository is updated at the same time, use "retry" to automatically reload the index of the repository.
Click to show internal directories.
Click to hide internal directories.