util

package
v1.9.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 30, 2023 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 8 more Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FilterApplication

func FilterApplication(ctx context.Context, release *application.App) error

FilterApplication is used to filter helmRelease that do not belong to the tenant.

func NewHelmClient

func NewHelmClient(ctx context.Context,
	platformClient platformversionedclient.PlatformV1Interface,
	clusterID string,
	namespace string) (*helmaction.Client, error)

NewHelmClient return a new client used to run helm cmd

func NewHelmClientWithProvider added in v1.9.1

func NewHelmClientWithProvider(ctx context.Context, platformClient platformversionedclient.PlatformV1Interface, app *applicationv1.App) (*helmaction.Client, error)

NewHelmClientWithProvider return a new helm client used to run helm cmd

func NewHelmClientWithoutRESTClient added in v1.6.0

func NewHelmClientWithoutRESTClient() *helmaction.Client

NewHelmClientWithoutRESTClient return a new client used to run helm cmd

Types

This section is empty.

Directories

Path Synopsis
v1

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL