runner

package
v1.33.0 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2025 License: Apache-2.0, MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// GitLabRunnerImage has name of runner
	GitLabRunnerImage = imageName("gitlab-runner")
	// GitLabRunnerHelperImage has name of runner helper
	GitLabRunnerHelperImage = imageName("gitlab-runner-helper")
)

Variables

This section is empty.

Functions

func ConfigMap

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

ConfigMap returns the runner configmap 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

type Controller added in v1.1.0

type Controller struct {

	// DEPRECATED: Should be removed when the `registration-token` is deprecated
	IsAuthToken bool
	// contains filtered or unexported fields
}

Controller is the Runner controller providing methods to build the relevant kubernetes resources

func New added in v1.1.0

func New(cr *gitlabv1beta2.Runner, isAuthToken bool) *Controller

New creates a new instance of Controller from a Runner instance

func (*Controller) Deployment added in v1.1.0

func (c *Controller) Deployment(envvars []corev1.EnvVar, serviceAccount string) (*appsv1.Deployment, error)

Deployment returns the runner deployment object

Jump to

Keyboard shortcuts

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