runner

package
v1.0.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// RunnerImage has name of runner
	RunnerImage string = "gitlab-runner"

	// HelperImage has name of runner helper
	HelperImage string = "gitlab-runner-helper"
)
View Source
const RunnerServiceAccount string = "gitlab-runner-sa"

RunnerServiceAccount defines the sa for GitLab runner

Variables

This section is empty.

Functions

func ConfigMap

func ConfigMap(cr *gitlabv1beta2.Runner) *corev1.ConfigMap

ConfigMap returns the runner configmap object

func Deployment

func Deployment(cr *gitlabv1beta2.Runner, envvars []corev1.EnvVar) *appsv1.Deployment

Deployment returns the runner deployment object

func MetricsService

func MetricsService(cr *gitlabv1beta2.Runner) *corev1.Service

MetricsService returns the kubernetes service object for metrics

func RegistrationTokenSecret

func RegistrationTokenSecret(cr *gitlabv1beta2.Runner) types.NamespacedName

RegistrationTokenSecret returns name of secret containing the runner-registration-token and runner-token keys

Types

type Config

type Config struct {
	Concurrent    int32
	CheckInterval int32
}

Config struct holds the values used to configure Runner Global options

Jump to

Keyboard shortcuts

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