Documentation ¶
Overview ¶
Copyright 2020 The Kubernetes authors.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
Constants ¶
const FinalizerName = "canary.canaries.flanksource.com"
const SystemTemplateFinalizerName = "systemTemplate.canaries.flanksource.com"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CanaryReconciler ¶
type CanaryReconciler struct { IncludeCheck string IncludeNamespaces []string LogPass, LogFail bool client.Client Kubernetes kubernetes.Interface Kommons *kommons.Client Log logr.Logger Scheme *runtime.Scheme Events record.EventRecorder Cron *cron.Cron RunnerName string Done chan *pkg.CheckResult }
CanaryReconciler reconciles a Canary object
func (*CanaryReconciler) Reconcile ¶
+kubebuilder:rbac:groups=canaries.flanksource.com,resources=canaries,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=canaries.flanksource.com,resources=canaries/status,verbs=get;update;patch +kubebuilder:rbac:groups="",resources=pods/exec,verbs=* +kubebuilder:rbac:groups="",resources=pods/logs,verbs=*
func (*CanaryReconciler) Report ¶
func (r *CanaryReconciler) Report()
func (*CanaryReconciler) SetupWithManager ¶
func (r *CanaryReconciler) SetupWithManager(mgr ctrl.Manager) error
type SystemReconciler ¶ added in v0.38.106
type SystemReconciler struct { client.Client Log logr.Logger Scheme *runtime.Scheme Events record.EventRecorder RunnerName string }
SystemReconciler reconciles a Canary object
func (*SystemReconciler) Reconcile ¶ added in v0.38.106
+kubebuilder:rbac:groups=canaries.flanksource.com,resources=systemtemplates,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=canaries.flanksource.com,resources=systemtemplates/status,verbs=get;update;patch
func (*SystemReconciler) SetupWithManager ¶ added in v0.38.106
func (r *SystemReconciler) SetupWithManager(mgr ctrl.Manager) error