Documentation ¶
Index ¶
- Constants
- func GetDeletePropagationPolicyAnnotation(obj KubernetesObject) *metav1.DeletionPropagation
- func IsObjectTaggedToDelete(obj KubernetesObject) bool
- func NewAPIClientReader(mgr manager.Manager) (client.Client, error)
- func ObjectInfo(obj KubernetesObject) string
- func ObjectKey(obj KubernetesObject) types.NamespacedName
- func TagObjectToDelete(obj KubernetesObject)
- func TagToObjectDeleteWithPropagationPolicy(obj KubernetesObject, deletionPropagationPolicy metav1.DeletionPropagation)
- type KubernetesObject
Constants ¶
View Source
const ( DeleteTagAnnotation = "apps.3scale.net/delete" DeletePropagationPolicyTagAnnotation = "apps.3scale.net/delete-propagation-policy" )
View Source
const (
MonitoringKey = "middleware"
)
Constants
Variables ¶
This section is empty.
Functions ¶
func GetDeletePropagationPolicyAnnotation ¶ added in v0.6.0
func GetDeletePropagationPolicyAnnotation(obj KubernetesObject) *metav1.DeletionPropagation
func IsObjectTaggedToDelete ¶ added in v0.6.0
func IsObjectTaggedToDelete(obj KubernetesObject) bool
func NewAPIClientReader ¶ added in v0.6.0
We create an Client Reader that directly queries the API server without going to the Cache provided by the Manager's Client because there are some resources that do not implement Watch (like ImageStreamTag) and the Manager's Client always tries to use the Cache when reading
func ObjectInfo ¶ added in v0.6.0
func ObjectInfo(obj KubernetesObject) string
func ObjectKey ¶ added in v0.6.0
func ObjectKey(obj KubernetesObject) types.NamespacedName
func TagObjectToDelete ¶ added in v0.6.0
func TagObjectToDelete(obj KubernetesObject)
func TagToObjectDeleteWithPropagationPolicy ¶ added in v0.6.0
func TagToObjectDeleteWithPropagationPolicy(obj KubernetesObject, deletionPropagationPolicy metav1.DeletionPropagation)
Types ¶
Click to show internal directories.
Click to hide internal directories.