reconcile

package
v0.0.0-...-ecaab16 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2023 License: AGPL-3.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DirRenovateBase   = "/tmp/renovate"
	DirRenovateConfig = "/etc/config/renovate"
	DirRawConfig      = "/tmp/rawConfigs"
)
View Source
const (
	VolumeConfig    = "config"
	VolumeRawConfig = "raw-config"
	VolumeWorkDir   = "workdir"
)

Variables

View Source
var (
	FileRenovateConfig       = filepath.Join(DirRenovateConfig, "renovate.json")
	FileRenovateConfigOutput = filepath.Join(DirRenovateBase, "repositories.json")
)

Functions

func Reconcile

func Reconcile(parameters Parameters) (*ctrl.Result, error)

func SetupCCM

func SetupCCM(parameter Parameters, batches []scaling.Batch) (*controllerruntime.Result, error)

func SetupDiscovery

func SetupDiscovery(parameters Parameters) (*controllerruntime.Result, error)

func SetupWorker

func SetupWorker(parameters Parameters, batches []scaling.Batch) (*controllerruntime.Result, error)

Types

type Parameters

type Parameters struct {
	RenovateCR v1alpha1.Renovate
	Client     client.Client
	Scheme     *runtime.Scheme
	Ctx        context.Context
	Req        ctrl.Request
	Logger     logr.Logger
}

Jump to

Keyboard shortcuts

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