controller

package
v4.0.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2019 License: Apache-2.0 Imports: 23 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetPrimaryPodStatus

func GetPrimaryPodStatus(clientset *kubernetes.Clientset, cluster *crv1.Pgcluster, ns string) (error, bool)

Types

type JobController

type JobController struct {
	JobClient    *rest.RESTClient
	JobClientset *kubernetes.Clientset
	Namespace    []string
}

JobController holds the connections for the controller

func (*JobController) Run

func (c *JobController) Run(ctx context.Context) error

Run starts an pod resource controller

type PgbackupController

type PgbackupController struct {
	PgbackupClient    *rest.RESTClient
	PgbackupScheme    *runtime.Scheme
	PgbackupClientset *kubernetes.Clientset
	Namespace         []string
}

PgbackupController holds connections required by the controller

func (*PgbackupController) Run

Run starts controller

type PgclusterController

type PgclusterController struct {
	PgclusterClient    *rest.RESTClient
	PgclusterScheme    *runtime.Scheme
	PgclusterClientset *kubernetes.Clientset
	Namespace          []string
}

PgclusterController holds the connections for the controller

func (*PgclusterController) Run

Run starts an pgcluster resource controller

type PgpolicyController

type PgpolicyController struct {
	PgpolicyClient    *rest.RESTClient
	PgpolicyScheme    *runtime.Scheme
	PgpolicyClientset *kubernetes.Clientset
	Namespace         []string
}

PgpolicyController holds connections for the controller

func (*PgpolicyController) Run

Run starts an pgpolicy resource controller

type PgreplicaController

type PgreplicaController struct {
	PgreplicaClient    *rest.RESTClient
	PgreplicaScheme    *runtime.Scheme
	PgreplicaClientset *kubernetes.Clientset
	Namespace          []string
}

PgreplicaController holds the connections for the controller

func (*PgreplicaController) Run

Run starts an pgreplica resource controller

type PgtaskController

type PgtaskController struct {
	PgtaskConfig    *rest.Config
	PgtaskClient    *rest.RESTClient
	PgtaskScheme    *runtime.Scheme
	PgtaskClientset *kubernetes.Clientset
	Namespace       []string
}

PgtaskController holds connections for the controller

func (*PgtaskController) Run

func (c *PgtaskController) Run(ctx context.Context) error

Run starts an pgtask resource controller

type PodController

type PodController struct {
	PodClient    *rest.RESTClient
	PodClientset *kubernetes.Clientset
	Namespace    []string
}

PodController holds the connections for the controller

func (*PodController) Run

func (c *PodController) Run(ctx context.Context) error

Run starts an pod resource controller

Jump to

Keyboard shortcuts

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