sonarqube

package
v0.0.0-...-0979d6c Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2020 License: GPL-3.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(mgr manager.Manager) error

Add creates a new SonarQube Controller and adds it to the Manager. The Manager will set fields on the Controller and Start it when the Manager is Started.

Types

type ReconcileSonarQube

type ReconcileSonarQube struct {
	// contains filtered or unexported fields
}

ReconcileSonarQube reconciles a SonarQube object

func (*ReconcileSonarQube) Labels

func (*ReconcileSonarQube) Reconcile

func (r *ReconcileSonarQube) Reconcile(request reconcile.Request) (reconcile.Result, error)

Reconcile reads that state of the cluster for a SonarQube object and makes changes based on the state read and what is in the SonarQube.Spec

func (*ReconcileSonarQube) ReconcileSecret

func (r *ReconcileSonarQube) ReconcileSecret(cr *sonarsourcev1alpha1.SonarQube) (*corev1.Secret, error)

Reconciles Secret for SonarQube Returns: Secret, Error If Error is non-nil, Service is not in expected state Errors:

ErrorReasonSpecUpdate: returned when spec does not have secret name
ErrorReasonResourceCreate: returned when secret does not exists
ErrorReasonResourceUpdate: returned when secret was updated to meet expected state
ErrorReasonUnknown: returned when unhandled error from client occurs

func (*ReconcileSonarQube) ReconcileService

func (r *ReconcileSonarQube) ReconcileService(cr *sonarsourcev1alpha1.SonarQube) (*corev1.Service, error)

Reconciles Service for SonarQube Returns: Service, Error If Error is non-nil, Service is not in expected state Errors:

ErrorReasonResourceCreate: returned when Service does not exists
ErrorReasonResourceUpdate: returned when Service was updated to meet expected state
ErrorReasonUnknown: returned when unhandled error from client occurs

func (*ReconcileSonarQube) ReconcileServiceAccount

func (r *ReconcileSonarQube) ReconcileServiceAccount(cr *sonarsourcev1alpha1.SonarQube) (*corev1.ServiceAccount, error)

Reconciles Service for SonarQube Returns: Service, Error If Error is non-nil, Service is not in expected state Errors:

ErrorReasonResourceCreate: returned when Service does not exists
ErrorReasonResourceUpdate: returned when Service was updated to meet expected state
ErrorReasonUnknown: returned when unhandled error from client occurs

func (*ReconcileSonarQube) ReconcileSonarQubeServers

Reconciles Service for SonarQube Returns: Service, Error If Error is non-nil, Service is not in expected state Errors:

ErrorReasonResourceCreate: returned when Service does not exists
ErrorReasonResourceUpdate: returned when Service was updated to meet expected state
ErrorReasonUnknown: returned when unhandled error from client occurs

Jump to

Keyboard shortcuts

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