context

package
v0.0.0-...-e5e5886 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: BSD-2-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Context

type Context interface {
	gocontext.Context
	client.Client

	// CommonLabels returns common labels to use on objects
	CommonLabels() map[string]string

	// ListOption returns list options to use to filter for own objects
	ListOption() (client.ListOption, error)

	// SetMeta sets Namespace and Labels in ObjectMeta, sets ownerreference to current PatroniPostgres instance
	SetMeta(metav1.Object) error

	// Clientset returns *kubernetes.Clientset
	Clientset() *kubernetes.Clientset
}

Jump to

Keyboard shortcuts

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