proxy

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildConfigmap added in v0.4.0

func BuildConfigmap(proxy Proxy, ownership []metav1.OwnerReference) (*v1.ConfigMap, error)

BuildConfigmap builds kubernetes configmap object used by proxy container of the database

func BuildDeployment

func BuildDeployment(proxy Proxy, ownership []metav1.OwnerReference) (*v1apps.Deployment, error)

BuildDeployment builds kubernetes deployment object to create proxy container of the database

func BuildService

func BuildService(proxy Proxy, ownership []metav1.OwnerReference) (*v1.Service, error)

BuildService builds kubernetes service object for proxy service of the database

func BuildServiceMonitor added in v1.3.0

func BuildServiceMonitor(proxy Proxy, ownership []metav1.OwnerReference) (*promv1.ServiceMonitor, error)

BuildServiceMonitor builds kubernetes prometheus ServiceMonitor CR object used for monitoring

Types

type CloudProxy

type CloudProxy struct {
	NamePrefix             string
	Namespace              string
	InstanceConnectionName string
	AccessSecretName       string
	Engine                 string
	Port                   int32
	Labels                 map[string]string
	Conf                   *config.Config
	MonitoringEnabled      bool
}

CloudProxy for google sql instance

type Proxy

type Proxy interface {
	// contains filtered or unexported methods
}

Proxy for database

Jump to

Keyboard shortcuts

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