service

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PGPrimaryServiceType = ServiceType("primary")
	PGBouncerServiceType = ServiceType("bouncer")
	PGReplicaServiceType = ServiceType("replica")
)

Variables

This section is empty.

Functions

func CreateOrUpdate

func CreateOrUpdate(clientset kubeapi.Interface, cluster *crv1.PerconaPGCluster, svcType ServiceType) error

func Delete

func Delete(clientset kubeapi.Interface, namespace, serviceName string) error

func GetReplicaServiceName

func GetReplicaServiceName(clusterName string) string

Types

type ServiceType

type ServiceType string

Jump to

Keyboard shortcuts

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