runtime

package
v5.1.2-bit Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreatePostgresOperatorScheme

func CreatePostgresOperatorScheme() (*runtime.Scheme, error)

CreatePostgresOperatorScheme creates a scheme containing the resource types required by the PostgreSQL Operator. This includes any custom resource types specific to the PostgreSQL Operator, as well as any standard Kubernetes resource types.

func CreateRuntimeManager

func CreateRuntimeManager(namespace string, config *rest.Config,
	disableMetrics bool) (manager.Manager, error)

CreateRuntimeManager creates a new controller runtime manager for the PostgreSQL Operator. The manager returned is configured specifically for the PostgreSQL Operator, and includes any controllers that will be responsible for managing PostgreSQL clusters using the 'postgrescluster' custom resource. Additionally, the manager will only watch for resources in the namespace specified, with an empty string resulting in the manager watching all namespaces.

func GetConfig

func GetConfig() (*rest.Config, error)

GetConfig creates a *rest.Config for talking to a Kubernetes API server.

Types

This section is empty.

Jump to

Keyboard shortcuts

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