Documentation
¶
Index ¶
Constants ¶
View Source
const (
// Component names
ComponentPostgres = "postgres"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Context ¶
type Context interface {
gocontext.Context
client.Client
// CommonLabels returns common cluster labels to use on objects
CommonLabels() map[string]string
// PodLabels returns specific labels to use on specific PODs
PodLabels(component string) 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
// Image returns the current image to be used
Image() image.Image
}
Click to show internal directories.
Click to hide internal directories.