sonarqubeserver

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: 23 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PodGracePeriod       int64  = 3600
	VolumePathData       string = "/opt/sonarqube/data"
	VolumePathLogs       string = "/opt/sonarqube/logs"
	VolumePathTemp       string = "/opt/sonarqube/temp"
	VolumePathExtensions string = "/opt/sonarqube/extensions"
)
View Source
const (
	DefaultVolumeSize = "1Gi"
)

Variables

This section is empty.

Functions

func Add

func Add(mgr manager.Manager) error

Add creates a new SonarQubeServer 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 ReconcileSonarQubeServer

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

ReconcileSonarQubeServer reconciles a SonarQubeServer object

func (*ReconcileSonarQubeServer) Labels

func (*ReconcileSonarQubeServer) PodLabels

func (*ReconcileSonarQubeServer) Reconcile

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

func (*ReconcileSonarQubeServer) ReconcileDeployment

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

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

func (*ReconcileSonarQubeServer) ReconcilePVC

Reconciles map[Volume]*PersistentVolumeClaim for SonarQubeServer Returns: map[Volume]*PersistentVolumeClaim, Error If Error is non-nil, map[Volume]*PersistentVolumeClaim is not in expected state Errors:

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

func (*ReconcileSonarQubeServer) ReconcileSecret

Reconciles Secret for SonarQubeServer 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 (*ReconcileSonarQubeServer) ReconcileServer

func (*ReconcileSonarQubeServer) ReconcileService

Reconciles Service for SonarQubeServer 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 (*ReconcileSonarQubeServer) ReconcileServiceAccount

Reconciles Service for SonarQubeServer 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

type Volume

type Volume string

Jump to

Keyboard shortcuts

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