Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StartManager ¶
func StartManager(cfg ControllerConfig) error
Types ¶
type BuildJobConfig ¶
type BuildJobConfig struct {
Image string
ImagePullSecret string
CustomCAConfigMap string
PreparerPluginPath string
Labels map[string]string
Annotations map[string]string
NodeSelector map[string]string
TolerationKey string
GrantFullPrivilege bool
EnableLayerCaching bool
PodSecurityPolicy string
SecurityContextConstraints string
BrokerOpts *message.Options
Volumes []corev1.Volume
VolumeMounts []corev1.VolumeMount
EnvVar []corev1.EnvVar
EnableIstioSupport bool
DynamicVolumes []corev1.Volume
DynamicVolumeMounts []corev1.VolumeMount
}
type ContainerImageBuildReconciler ¶
type ContainerImageBuildReconciler struct {
client.Client
*kubernetes.Clientset
Log logr.Logger
Scheme *runtime.Scheme
Recorder record.EventRecorder
NewRelic *newrelic.Application
JobConfig *BuildJobConfig
// contains filtered or unexported fields
}
ContainerImageBuildReconciler reconciles a ContainerImageBuild object
func (*ContainerImageBuildReconciler) RunGC ¶
func (r *ContainerImageBuildReconciler) RunGC(retentionCount int)
RunGC will delete ContainerImageBuild resources that are in a "completed" or "failed" state. The oldest resources will be deleted first and the retentionCount will preserve N of resources for inspection.
func (*ContainerImageBuildReconciler) SetupWithManager ¶
func (r *ContainerImageBuildReconciler) SetupWithManager(mgr ctrl.Manager) error
type ControllerConfig ¶
Click to show internal directories.
Click to hide internal directories.