Documentation ¶
Index ¶
- func NewRelease(releaseName string, namespace string, chart *chart.Chart, ...) *rspb.Release
- func OpenChart(settings *cli.EnvSettings, chartPathOptions *action.ChartPathOptions, ...) (*chart.Chart, error)
- func SearchRepo(ctx context.Context, query string) ([]string, error)
- type CapabilityRetriever
- type ChartSource
- type HelmReleaseClient
- func (r *HelmReleaseClient) CreateNewRelease(releaseName string, namespace string, chart *chart.Chart, ...) (*rspb.Release, error)
- func (r *HelmReleaseClient) GetRelease(name string) (*rspb.Release, error)
- func (r *HelmReleaseClient) ListReleases() ([]*rspb.Release, error)
- func (r *HelmReleaseClient) PurgeRelease(name string) error
- func (r *HelmReleaseClient) ReplaceRelease(rel *rspb.Release) error
- func (r *HelmReleaseClient) UpdateRelease(release *rspb.Release) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRelease ¶
func OpenChart ¶
func OpenChart(settings *cli.EnvSettings, chartPathOptions *action.ChartPathOptions, name string) (*chart.Chart, error)
Types ¶
type CapabilityRetriever ¶
type CapabilityRetriever struct {
// contains filtered or unexported fields
}
func NewCapabilityRetriever ¶
func NewCapabilityRetriever(cachedDiscoveryClient discovery.CachedDiscoveryInterface) *CapabilityRetriever
func (*CapabilityRetriever) GetCapabilities ¶
func (c *CapabilityRetriever) GetCapabilities() (*chartutil.Capabilities, error)
capabilities builds a Capabilities from discovery information.
type ChartSource ¶
type ChartSource int
const ( LocalChart ChartSource = iota RemoteChart Invalid )
func ParseChartArgument ¶
func ParseChartArgument(name string) (ChartSource, []string)
type HelmReleaseClient ¶
type HelmReleaseClient struct {
// contains filtered or unexported fields
}
func NewForConfig ¶
func NewForConfig(secretClient v1.SecretInterface) (*HelmReleaseClient, error)
func (*HelmReleaseClient) CreateNewRelease ¶
func (r *HelmReleaseClient) CreateNewRelease( releaseName string, namespace string, chart *chart.Chart, values map[string]interface{}, ) (*rspb.Release, error)
createRelease creates a new release object
func (*HelmReleaseClient) GetRelease ¶
func (r *HelmReleaseClient) GetRelease(name string) (*rspb.Release, error)
Find latest release for name
func (*HelmReleaseClient) ListReleases ¶
func (r *HelmReleaseClient) ListReleases() ([]*rspb.Release, error)
func (*HelmReleaseClient) PurgeRelease ¶
func (r *HelmReleaseClient) PurgeRelease(name string) error
Remove release release data (after uninstalling release)
func (*HelmReleaseClient) ReplaceRelease ¶
func (r *HelmReleaseClient) ReplaceRelease(rel *rspb.Release) error
replaceRelease replaces an older release with this one
This allows us to re-use names by superseding an existing release with a new one
func (*HelmReleaseClient) UpdateRelease ¶
func (r *HelmReleaseClient) UpdateRelease(release *rspb.Release) error
Update exising release (eg update status)
Click to show internal directories.
Click to hide internal directories.