adapter

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: May 15, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KubernetesClientAdapter

type KubernetesClientAdapter interface {
	GetSecret(ctx context.Context, name, namespace string) (*v1.Secret, error)
	GetConfigMap(ctx context.Context, name, namespace string) (*v1.ConfigMap, error)
}

type PackageClientAdapter

type PackageClientAdapter interface {
	GetPackageInfo(ctx context.Context, pkgInfoName string) (*v1alpha1.PackageInfo, error)
	ListPackages(ctx context.Context) (*v1alpha1.PackageList, error)
	GetPackage(ctx context.Context, name string) (*v1alpha1.Package, error)
}

type RepoAdapter

type RepoAdapter interface {
	GetVersions(repoURL string, name string) ([]string, error)
	GetManifest(repoURL string, name string, version string) (*v1alpha1.PackageManifest, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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