Documentation ¶
Index ¶
Constants ¶
View Source
const ( TimeoutCheckpointHelmBeforeInstallingRelease = "helm deployer: before installing release" TimeoutCheckpointHelmBeforeUpgradingRelease = "helm deployer: before upgrading release" TimeoutCheckpointHelmBeforeDeletingRelease = "helm deployer: before deleting release" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientConfigGetter ¶
type ClientConfigGetter struct {
// contains filtered or unexported fields
}
func (*ClientConfigGetter) ClientConfig ¶
func (c *ClientConfigGetter) ClientConfig() (*rest.Config, error)
func (*ClientConfigGetter) ConfigAccess ¶
func (c *ClientConfigGetter) ConfigAccess() clientcmd.ConfigAccess
func (*ClientConfigGetter) Namespace ¶
func (c *ClientConfigGetter) Namespace() (string, bool, error)
func (*ClientConfigGetter) RawConfig ¶
func (c *ClientConfigGetter) RawConfig() (clientcmdapi.Config, error)
type HelmSecretManager ¶
type HelmSecretManager struct {
// contains filtered or unexported fields
}
The HelmSecretManager manages secrets which are created by Helm to manage releases.
func NewHelmSecretManager ¶
func NewHelmSecretManager(targetRestConfig *rest.Config, defaultNamespace string, logf func(string, ...interface{})) (*HelmSecretManager, error)
NewHelmSecretManager creates a new helm secret manager.
func (*HelmSecretManager) DeletePendingReleaseSecrets ¶
func (m *HelmSecretManager) DeletePendingReleaseSecrets(ctx context.Context, releaseName string) error
DeletePendingReleaseSecrets lists all secrets that are created for the given Helm release which are in a pending state. The secret latest (the greatest version) release version is being deleted.
type ManifestObject ¶
type ManifestObject struct { APIVersion string `json:"apiVersion"` Kind string `json:"kind"` ObjectMeta types.NamespacedName `json:"metadata"` // Items are needed for lists, e.g. ConfigMapLists. // Caution! The pointer is necessary to distinguish nil (ordinary object) from empty list. Items *[]ManifestObject `json:"items"` }
type RealHelmDeployer ¶
type RealHelmDeployer struct {
// contains filtered or unexported fields
}
func NewRealHelmDeployer ¶
func NewRealHelmDeployer(ch *chart.Chart, providerConfig *helmv1alpha1.ProviderConfiguration, targetRestConfig *rest.Config, clientset kubernetes.Interface, di *lsv1alpha1.DeployItem) *RealHelmDeployer
func (*RealHelmDeployer) GetManagedResourcesStatus ¶
func (c *RealHelmDeployer) GetManagedResourcesStatus(ctx context.Context) ([]managedresource.ManagedResourceStatus, error)
Click to show internal directories.
Click to hide internal directories.