controllers

package
v0.0.0-...-d10fae5 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2021 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const TestRunnerJobClusterRoleBindingName = "test-job-runner"

Variables

This section is empty.

Functions

func IsJobCompleted

func IsJobCompleted(job batchv1.Job) bool

func IsJobDone

func IsJobDone(job batchv1.Job) bool

Types

type CNRMContainerClusterWatcher

type CNRMContainerClusterWatcher struct {
	common.ClientLogger
	gkeclient.ClientSetBuilder
	Scheme *runtime.Scheme
}

func (*CNRMContainerClusterWatcher) EnsureTestRunnerJobClusterRoleBindingExists

func (w *CNRMContainerClusterWatcher) EnsureTestRunnerJobClusterRoleBindingExists(ctx context.Context, instance *unstructured.Unstructured) error

func (*CNRMContainerClusterWatcher) Reconcile

func (*CNRMContainerClusterWatcher) SetupWithManager

func (w *CNRMContainerClusterWatcher) SetupWithManager(mgr ctrl.Manager) error

type CNRMContainerNodePoolWatcher

type CNRMContainerNodePoolWatcher struct {
	common.ClientLogger
	ConfigRenderer *config.Config
	Scheme         *runtime.Scheme
}

func (*CNRMContainerNodePoolWatcher) Reconcile

func (*CNRMContainerNodePoolWatcher) RenderObjects

func (*CNRMContainerNodePoolWatcher) SetupWithManager

func (w *CNRMContainerNodePoolWatcher) SetupWithManager(mgr ctrl.Manager) error

type JobWatcher

type JobWatcher struct {
	common.ClientLogger
	Logview *common.LogviewService
}

func (*JobWatcher) Reconcile

func (w *JobWatcher) Reconcile(req ctrl.Request) (ctrl.Result, error)

func (*JobWatcher) SetupWithManager

func (w *JobWatcher) SetupWithManager(mgr ctrl.Manager) error

type TestClusterGKEReconciler

type TestClusterGKEReconciler struct {
	common.ClientLogger
	Scheme *runtime.Scheme

	ConfigRenderer *config.Config
	Metrics        TestClusterGKEReconcilerMetrics
}

TestClusterGKEReconciler reconciles a TestClusterGKE object

func (*TestClusterGKEReconciler) Reconcile

func (r *TestClusterGKEReconciler) Reconcile(req ctrl.Request) (ctrl.Result, error)

func (*TestClusterGKEReconciler) RenderObjects

func (*TestClusterGKEReconciler) SetupWithManager

func (r *TestClusterGKEReconciler) SetupWithManager(mgr ctrl.Manager) error

type TestClusterGKEReconcilerMetrics

type TestClusterGKEReconcilerMetrics struct {
	ClustersCreatedMetric prometheus.Counter
	ClusterErrorMetric    prometheus.Counter
}

TestClusterGKEReconcilerMetrics contains metrics for TestClusterGKEReconciler

type TestClusterPoolGKEReconciler

type TestClusterPoolGKEReconciler struct {
	common.ClientLogger
	Scheme *runtime.Scheme
}

TestClusterPoolGKEReconciler reconciles a TestClusterPoolGKE object

func (*TestClusterPoolGKEReconciler) Reconcile

func (*TestClusterPoolGKEReconciler) SetupWithManager

func (r *TestClusterPoolGKEReconciler) SetupWithManager(mgr ctrl.Manager) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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