testcommon

package
v0.0.0-...-9d026b8 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const KeptnNamespace = "keptn"

Variables

This section is empty.

Functions

func GetApp

func GetApp(name string) *apilifecycle.KeptnApp

func InitAppMeters

func InitAppMeters() apicommon.KeptnMeters

func NewTestClient

func NewTestClient(objs ...client.Object) client.Client

NewTestClient returns a new controller-runtime fake Client configured with the Operator's scheme, and initialized with objs.

func ReturnAppVersion

func ReturnAppVersion(namespace string, appName string, version string, workloads []apilifecycle.KeptnWorkloadRef, status apilifecycle.KeptnAppVersionStatus) *apilifecycle.KeptnAppVersion

func SetupSchemes

func SetupSchemes()

Types

This section is empty.

Jump to

Keyboard shortcuts

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