Documentation ¶
Overview ¶
Package kappclient provides CRUD functionality for kapp-controller related resources
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { CreatePackageInstall(packageInstall *kappipkg.PackageInstall, isPkgPluginCreatedSvcAccount bool, isPkgPluginCreatedSecret bool) error CreatePackageRepository(repository *kappipkg.PackageRepository) error DeletePackageRepository(repository *kappipkg.PackageRepository) error GetAppCR(appName string, namespace string) (*kappctrl.App, error) GetClient() crtclient.Client GetPackageInstall(packageInstallName string, namespace string) (*kappipkg.PackageInstall, error) GetPackageMetadataByName(packageName string, namespace string) (*kapppkg.PackageMetadata, error) GetPackageRepository(repositoryName, namespace string) (*kappipkg.PackageRepository, error) GetPackage(packageName string, namespace string) (*kapppkg.Package, error) GetSecretValue(secretName, namespace string) ([]byte, error) ListPackageInstalls(namespace string) (*kappipkg.PackageInstallList, error) ListPackageMetadata(namespace string) (*kapppkg.PackageMetadataList, error) ListPackages(packageName string, namespace string) (*kapppkg.PackageList, error) ListPackageRepositories(namespace string) (*kappipkg.PackageRepositoryList, error) UpdatePackageInstall(packageInstall *kappipkg.PackageInstall, isPkgPluginCreatedSecret bool) error UpdatePackageRepository(repository *kappipkg.PackageRepository) error }
Client is the kapp client interface
func NewKappClient ¶
NewKappClient returns a new kapp client
Click to show internal directories.
Click to hide internal directories.