common

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KuadrantNamespace             = "kuadrant-system"
	KuadrantAuthorizationProvider = "kuadrant-authorization"
)

TODO: move the const to a proper place, or get it from config

View Source
const (
	DeleteTagAnnotation      = "kuadrant.io/delete"
	ReadyStatusConditionType = "Ready"
)

Variables

This section is empty.

Functions

func FetchEnv added in v0.2.0

func FetchEnv(key string, def string) string

func IsObjectTaggedToDelete

func IsObjectTaggedToDelete(obj client.Object) bool

func IsOwnedBy

func IsOwnedBy(owned, owner client.Object) bool

func ObjectInfo

func ObjectInfo(obj client.Object) string

func StatusConditionsMarshalJSON

func StatusConditionsMarshalJSON(input []metav1.Condition) ([]byte, error)

StatusConditionsMarshalJSON marshals the list of conditions as a JSON array, sorted by condition type.

func TagObjectToDelete

func TagObjectToDelete(obj client.Object)

Types

This section is empty.

Jump to

Keyboard shortcuts

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