controllers

package
v0.2.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2020 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartManager

func StartManager(cfg ControllerConfig)

Types

type BuildJobConfig

type BuildJobConfig struct {
	Image                      string
	CAImage                    string
	CustomCASecret             string
	PreparerPluginPath         string
	Labels                     map[string]string
	Annotations                map[string]string
	GrantFullPrivilege         bool
	EnableLayerCaching         bool
	PodSecurityPolicy          string
	SecurityContextConstraints string
	BrokerOpts                 *message.Options
	Volumes                    []corev1.Volume
	VolumeMounts               []corev1.VolumeMount
	EnvVar                     []corev1.EnvVar
}

type ContainerImageBuildReconciler

type ContainerImageBuildReconciler struct {
	client.Client
	*kubernetes.Clientset
	Log      logr.Logger
	Scheme   *runtime.Scheme
	Recorder record.EventRecorder

	JobConfig *BuildJobConfig
}

ContainerImageBuildReconciler reconciles a ContainerImageBuild object

func (*ContainerImageBuildReconciler) Reconcile

func (*ContainerImageBuildReconciler) SetupWithManager

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

type ControllerConfig

type ControllerConfig struct {
	Debug                bool
	Namespace            string
	MetricsAddr          string
	EnableLeaderElection bool

	JobConfig *BuildJobConfig
}

Jump to

Keyboard shortcuts

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