controller

package
v0.0.0-...-3f85c9d Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2020 License: Apache-2.0, Apache-2.0 Imports: 23 Imported by: 0

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