Documentation ¶
Overview ¶
releasetool operates on Helm releases like ReleaseModule, but has only a few operations supported to make helm-x work. For the upstream "ReleaseModule", see https://github.com/helm/helm/blob/53d432fa58748412ff3dc10bc27cbf996d96c3ed/pkg/tiller/release_modules.go
Index ¶
- func ExtractHookManifests(manifest, target string) ([]string, error)
- func SplitManifestAndHooks(manifest string) (string, []*release.Hook, error)
- func TurnHelmTemplateToInstall(chartName, version, tillerNs, releaseName, ns, manifest string, ...) (string, error)
- type Opts
- type ReleaseManifest
- type ReleaseTool
- func (s *ReleaseTool) AdoptRelease(name, ns, manifest string) error
- func (s *ReleaseTool) BumpVersion(release *rspb.Release) (*rspb.Release, error)
- func (s *ReleaseTool) GetDeployedRelease(name string) (*rspb.Release, error)
- func (s *ReleaseTool) GetLatestRelease(name string) (*rspb.Release, error)
- func (s *ReleaseTool) ReleaseToConfigMap(release *rspb.Release, tillerNs string) (interface{}, error)
- func (s *ReleaseTool) ReleaseToSecret(release *rspb.Release, tillerNs string) (interface{}, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractHookManifests ¶
func SplitManifestAndHooks ¶
func TurnHelmTemplateToInstall ¶
func TurnHelmTemplateToInstall(chartName, version, tillerNs, releaseName, ns, manifest string, releaseManifests ...ReleaseManifest) (string, error)
Types ¶
type ReleaseManifest ¶
type ReleaseTool ¶
type ReleaseTool struct {
// contains filtered or unexported fields
}
ReleaseTool operates on Helm releases like ReleaseModule, but has only a few operations supported to make helm-x work. For the upstream "ReleaseModule", see https://github.com/helm/helm/blob/53d432fa58748412ff3dc10bc27cbf996d96c3ed/pkg/tiller/release_modules.go
func NewConfigMapBackedReleaseTool ¶
func NewConfigMapBackedReleaseTool(tillerNs string) (*ReleaseTool, error)
func NewSecretBackednReleaseTool ¶
func NewSecretBackednReleaseTool(tillerNs string) (*ReleaseTool, error)
func (*ReleaseTool) AdoptRelease ¶
func (s *ReleaseTool) AdoptRelease(name, ns, manifest string) error
func (*ReleaseTool) BumpVersion ¶
func (*ReleaseTool) GetDeployedRelease ¶
func (s *ReleaseTool) GetDeployedRelease(name string) (*rspb.Release, error)
func (*ReleaseTool) GetLatestRelease ¶
func (s *ReleaseTool) GetLatestRelease(name string) (*rspb.Release, error)
func (*ReleaseTool) ReleaseToConfigMap ¶
func (s *ReleaseTool) ReleaseToConfigMap(release *rspb.Release, tillerNs string) (interface{}, error)
func (*ReleaseTool) ReleaseToSecret ¶
func (s *ReleaseTool) ReleaseToSecret(release *rspb.Release, tillerNs string) (interface{}, error)
Click to show internal directories.
Click to hide internal directories.