gitserver

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2023 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetGitServerLabels

func GetGitServerLabels(resource *v1alpha1.GitServer) map[string]string

func GetImageTag

func GetImageTag(resource *v1alpha1.GitServer) string

func GetImageUrl

func GetImageUrl(resource *v1alpha1.GitServer) string

func SetGitDeploymentPodTemplateSpec

func SetGitDeploymentPodTemplateSpec(resource *v1alpha1.GitServer, target *appsv1.Deployment)

func SetIngressSpec

func SetIngressSpec(resource *v1alpha1.GitServer, ingress *networkingv1.Ingress)

func SetServiceSpec

func SetServiceSpec(resource *v1alpha1.GitServer, service *v1.Service)

Types

type GitServerReconciler

type GitServerReconciler struct {
	client.Client
	Scheme  *runtime.Scheme
	Content fs.FS
}

func (*GitServerReconciler) Reconcile

func (g *GitServerReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

func (*GitServerReconciler) ReconcileGitServer

func (g *GitServerReconciler) ReconcileGitServer(ctx context.Context, req ctrl.Request, resource *v1alpha1.GitServer) (ctrl.Result, error)

func (*GitServerReconciler) SetupWithManager

func (g *GitServerReconciler) SetupWithManager(mgr ctrl.Manager) error

func (*GitServerReconciler) ValidateSource

func (g *GitServerReconciler) ValidateSource(resource *v1alpha1.GitServer) error

Jump to

Keyboard shortcuts

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