Documentation ¶
Index ¶
- Constants
- func IsJobCompleted(job batchv1.Job) bool
- func IsJobDone(job batchv1.Job) bool
- type CNRMContainerClusterWatcher
- func (w *CNRMContainerClusterWatcher) EnsureTestRunnerJobClusterRoleBindingExists(ctx context.Context, instance *unstructured.Unstructured) error
- func (w *CNRMContainerClusterWatcher) Reconcile(req ctrl.Request) (ctrl.Result, error)
- func (w *CNRMContainerClusterWatcher) SetupWithManager(mgr ctrl.Manager) error
- type CNRMContainerNodePoolWatcher
- func (w *CNRMContainerNodePoolWatcher) Reconcile(req ctrl.Request) (ctrl.Result, error)
- func (r *CNRMContainerNodePoolWatcher) RenderObjects(ownerObj *clustersv1alpha2.TestClusterGKE) (*unstructured.UnstructuredList, error)
- func (w *CNRMContainerNodePoolWatcher) SetupWithManager(mgr ctrl.Manager) error
- type JobWatcher
- type TestClusterGKEReconciler
- type TestClusterGKEReconcilerMetrics
- type TestClusterPoolGKEReconciler
Constants ¶
View Source
const TestRunnerJobClusterRoleBindingName = "test-job-runner"
Variables ¶
This section is empty.
Functions ¶
func IsJobCompleted ¶
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) SetupWithManager ¶
func (w *CNRMContainerClusterWatcher) SetupWithManager(mgr ctrl.Manager) error
type CNRMContainerNodePoolWatcher ¶
type CNRMContainerNodePoolWatcher struct { common.ClientLogger ConfigRenderer *config.Config Scheme *runtime.Scheme }
func (*CNRMContainerNodePoolWatcher) RenderObjects ¶
func (r *CNRMContainerNodePoolWatcher) RenderObjects(ownerObj *clustersv1alpha2.TestClusterGKE) (*unstructured.UnstructuredList, error)
func (*CNRMContainerNodePoolWatcher) SetupWithManager ¶
func (w *CNRMContainerNodePoolWatcher) SetupWithManager(mgr ctrl.Manager) error
type JobWatcher ¶
type JobWatcher struct { common.ClientLogger Logview *common.LogviewService }
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) RenderObjects ¶
func (r *TestClusterGKEReconciler) RenderObjects(instance *clustersv1alpha2.TestClusterGKE) (*unstructured.UnstructuredList, error)
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) SetupWithManager ¶
func (r *TestClusterPoolGKEReconciler) SetupWithManager(mgr ctrl.Manager) error
Source Files ¶
Click to show internal directories.
Click to hide internal directories.