Documentation ¶
Index ¶
- Variables
- func DynamicClient(conf *rest.Config) (dynamic.Interface, error)
- func FetchIndexFile(client dynamic.Interface, corev1Client corev1.CoreV1Interface, ...) (*repo.IndexFile, error)
- func GetActionConfigurations(host, ns, token string, transport *http.RoundTripper) *action.Configuration
- func GetChart(url string, conf *action.Configuration) (*chart.Chart, error)
- func GetRelease(releaseName string, conf *action.Configuration) (*release.Release, error)
- func GetReleaseHistory(name string, conf *action.Configuration) ([]*release.Release, error)
- func InstallChart(ns, name, url string, vals map[string]interface{}, conf *action.Configuration) (*release.Release, error)
- func ListReleases(conf *action.Configuration) ([]*release.Release, error)
- func RenderManifests(name string, url string, vals map[string]interface{}, ...) (string, error)
- func RollbackRelease(releaseName string, revision int, conf *action.Configuration) (*release.Release, error)
- func UninstallRelease(name string, conf *action.Configuration) (*release.UninstallReleaseResponse, error)
- func UpgradeRelease(ns, name, url string, vals map[string]interface{}, conf *action.Configuration) (*release.Release, error)
- type HelmConfig
- type HelmConfigGetter
- func (b HelmConfigGetter) ConfigMapValue(name string, dataField string) ([]byte, error)
- func (b HelmConfigGetter) Get(caCert, tlsCert, tlsKey []byte) (*tls.Config, error)
- func (b HelmConfigGetter) HttpClient(helmConfig *HelmConfig) (*http.Client, error)
- func (b HelmConfigGetter) IndexFile(helmConfig *HelmConfig) (*repo.IndexFile, error)
- func (b HelmConfigGetter) IndexFiles(helmConfigs []*HelmConfig) []*repo.IndexFile
- func (b *HelmConfigGetter) List() ([]*HelmConfig, error)
- func (b HelmConfigGetter) MergeIndexFiles(files ...*repo.IndexFile) *repo.IndexFile
- func (b HelmConfigGetter) SecretValue(name string, dataField string) ([]byte, error)
- type TLSConfigGetter
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrReleaseNotFound = errors.New("release: not found") ErrReleaseRevisionNotFound = errors.New("revision not found for provided release") )
Functions ¶
func FetchIndexFile ¶
func GetActionConfigurations ¶
func GetActionConfigurations(host, ns, token string, transport *http.RoundTripper) *action.Configuration
func GetRelease ¶
func GetReleaseHistory ¶
func InstallChart ¶
func ListReleases ¶
func ListReleases(conf *action.Configuration) ([]*release.Release, error)
func RenderManifests ¶
func RollbackRelease ¶
func UninstallRelease ¶
func UninstallRelease(name string, conf *action.Configuration) (*release.UninstallReleaseResponse, error)
func UpgradeRelease ¶
Types ¶
type HelmConfig ¶
type HelmConfigGetter ¶
type HelmConfigGetter struct { Client dynamic.Interface CoreClient corev1.CoreV1Interface DefaultRepoCACertificate []byte }
func (HelmConfigGetter) ConfigMapValue ¶
func (b HelmConfigGetter) ConfigMapValue(name string, dataField string) ([]byte, error)
func (HelmConfigGetter) Get ¶
func (b HelmConfigGetter) Get(caCert, tlsCert, tlsKey []byte) (*tls.Config, error)
func (HelmConfigGetter) HttpClient ¶
func (b HelmConfigGetter) HttpClient(helmConfig *HelmConfig) (*http.Client, error)
func (HelmConfigGetter) IndexFile ¶
func (b HelmConfigGetter) IndexFile(helmConfig *HelmConfig) (*repo.IndexFile, error)
func (HelmConfigGetter) IndexFiles ¶
func (b HelmConfigGetter) IndexFiles(helmConfigs []*HelmConfig) []*repo.IndexFile
func (*HelmConfigGetter) List ¶
func (b *HelmConfigGetter) List() ([]*HelmConfig, error)
func (HelmConfigGetter) MergeIndexFiles ¶
func (b HelmConfigGetter) MergeIndexFiles(files ...*repo.IndexFile) *repo.IndexFile
func (HelmConfigGetter) SecretValue ¶
func (b HelmConfigGetter) SecretValue(name string, dataField string) ([]byte, error)
type TLSConfigGetter ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.