controller

package
v3.5.5+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2019 License: Apache-2.0 Imports: 25 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
	Queue             workqueue.RateLimitingInterface
	UpdateQueue       workqueue.RateLimitingInterface
}

PgbackupController holds connections required by the controller

func (*PgbackupController) Run

Run starts controller

func (*PgbackupController) RunUpdateWorker

func (c *PgbackupController) RunUpdateWorker()

func (*PgbackupController) RunWorker

func (c *PgbackupController) RunWorker()

type PgclusterController

type PgclusterController struct {
	PgclusterClient    *rest.RESTClient
	PgclusterScheme    *runtime.Scheme
	PgclusterClientset *kubernetes.Clientset
	Queue              workqueue.RateLimitingInterface
	Namespace          string
}

PgclusterController holds the connections for the controller

func (*PgclusterController) Run

Run starts an pgcluster resource controller

func (*PgclusterController) RunWorker

func (c *PgclusterController) RunWorker()

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
	Ctx                context.Context
	Queue              workqueue.RateLimitingInterface
}

PgreplicaController holds the connections for the controller

func (*PgreplicaController) Run

Run starts an pgreplica resource controller

func (*PgreplicaController) RunWorker

func (c *PgreplicaController) RunWorker()

type PgtaskController

type PgtaskController struct {
	PgtaskConfig    *rest.Config
	PgtaskClient    *rest.RESTClient
	PgtaskScheme    *runtime.Scheme
	PgtaskClientset *kubernetes.Clientset
	Queue           workqueue.RateLimitingInterface
	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

func (*PgtaskController) RunWorker

func (c *PgtaskController) RunWorker()

type PgupgradeController

type PgupgradeController struct {
	PgupgradeClient    *rest.RESTClient
	PgupgradeClientset *kubernetes.Clientset
	PgupgradeScheme    *runtime.Scheme
	Namespace          string
}

PgupgradeController holds the connections for the controller

func (*PgupgradeController) Run

Run starts an pgupgrade 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