controllers

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: May 12, 2021 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EndpointMembers []string

EndpointMembers returns a list of members

Functions

This section is empty.

Types

type GitLabReconciler

type GitLabReconciler struct {
	client.Client

	Log    logr.Logger
	Scheme *runtime.Scheme
}

GitLabReconciler reconciles a GitLab object

func (*GitLabReconciler) Reconcile

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

Reconcile triggers when an event occurs on the watched resource

func (*GitLabReconciler) SetupWithManager

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

SetupWithManager configures the custom resource watched resources

type ReadinessStatus

type ReadinessStatus struct {
	// Returns status of Gitlab rails app
	WorkhorseStatus string `json:"status,omitempty"`
	// RedisStatus reports status of redis
	RedisStatus []ServiceStatus `json:"redis_check,omitempty"`
	// DatabaseStatus reports status of postgres
	DatabaseStatus []ServiceStatus `json:"db_check,omitempty"`
}

ReadinessStatus shows status of Gitlab services

type ServiceStatus

type ServiceStatus struct {
	Status string `json:"status,omitempty"`
}

ServiceStatus shows status of a Gitlab dependent service .e.g. Postgres, Redis, Gitaly

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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