controllers

package
v0.0.0-...-87f0bbb Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2021 License: AGPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// NextCloudAppName is the key for the "app name" label
	NextCloudAppName = "nextcloud"

	// NextCloudDefaultApacheConfig is the default apache vhosts configuration
	NextCloudDefaultApacheConfig = `` /* 151-byte string literal not displayed */

	// NextCloudDefaultHTTPPort is the default HTTP listen port for NextCloud server
	NextCloudDefaultHTTPPort = 8080

	// NextCloudDefaultPortsConfig is the default apache ports configuration
	NextCloudDefaultPortsConfig = "Listen 8080"

	// NextCloudDefaultServerImage is the default container image to use for NextCloud server
	NextCloudDefaultServerImage = "nextcloud"

	// NextCloudDefaultServerVersion is the default version tag to use for the NextCloud server container image
	NextCloudDefaultServerVersion = "20.0.4-apache"

	// NextCloudDefaultServerResourceLimitCPU is the default CPU limits for NextCloud server
	NextCloudDefaultServerResourceLimitCPU = "1000m"

	// NextCloudDefaultServerResourceLimitMemory is the default memory limits for NextCloud server
	NextCloudDefaultServerResourceLimitMemory = "1Gi"

	// NextCloudDefaultServerResourceRequestCPU is the default CPU requests for NextCloud server
	NextCloudDefaultServerResourceRequestCPU = "250m"

	// NextCloudDefaultServerResourceRequestMemory is the default memory requests for NextCloud server
	NextCloudDefaultServerResourceRequestMemory = "512Mi"

	// NextCloudKeyAppName is the key for the "app name" label
	NextCloudKeyAppName = "app.kubernetes.io/name"

	// NextCloudKeyPartOf is the key for the "part-of" label
	NextCloudKeyPartOf = "app.kubernetes.io/part-of"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type NextCloudReconciler

type NextCloudReconciler struct {
	client.Client
	Log    logr.Logger
	Scheme *runtime.Scheme
}

NextCloudReconciler reconciles a NextCloud object

func (*NextCloudReconciler) Reconcile

func (r *NextCloudReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.

func (*NextCloudReconciler) SetupWithManager

func (r *NextCloudReconciler) 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