controllers

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2023 License: Apache-2.0, CC-BY-4.0 Imports: 31 Imported by: 0

Documentation

Index

Constants

View Source
const (
	APIVersion    = "core/v1"
	SecretKind    = "Secret"
	ConfigMapKind = "ConfigMap"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type JenkinsReconciler

type JenkinsReconciler struct {
	Client                       client.Client
	Scheme                       *runtime.Scheme
	JenkinsAPIConnectionSettings jenkinsclient.JenkinsAPIConnectionSettings
	ClientSet                    kubernetes.Clientset
	Config                       rest.Config
	NotificationEvents           *chan event.Event
	KubernetesClusterDomain      string
}

JenkinsReconciler reconciles a Jenkins object

func (*JenkinsReconciler) Reconcile

func (r *JenkinsReconciler) Reconcile(_ context.Context, request ctrl.Request) (ctrl.Result, error)

For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.7.0/pkg/reconcile

func (*JenkinsReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

Jump to

Keyboard shortcuts

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