controllers

package
v0.0.0-...-85617d8 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2022 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

View Source
const AppGUIDLabel = "cloudfoundry.org/app_guid"
View Source
const BuildGUIDLabel = "cloudfoundry.org/build_guid"
View Source
const BuildReasonAnnotation = "image.kpack.io/reason"
View Source
const DropletGUIDLabel = "cloudfoundry.org/droplet_guid"
View Source
const StackUpdateBuildReason = "STACK"

Variables

View Source
var BuildFilterError = errors.New("Received a build event with a non-build runtime.Object")
View Source
var ImageFilterError = errors.New("Received an image event with a non-image runtime.Object")

Functions

This section is empty.

Types

type BuildReconciler

type BuildReconciler struct {
	client.Client
	Log      logr.Logger
	Scheme   *runtime.Scheme
	CFClient CfBuildUpdater
	image_registry.ImageConfigFetcher
}

BuildReconciler reconciles a Build object

func (*BuildReconciler) Reconcile

func (r *BuildReconciler) Reconcile(req ctrl.Request) (ctrl.Result, error)

func (*BuildReconciler) SetupWithManager

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

type CfBuildUpdater

type CfBuildUpdater interface {
	UpdateBuild(buildGUID string, build model.Build) error
}

type ImageReconciler

type ImageReconciler struct {
	client.Client
	Log                logr.Logger
	Scheme             *runtime.Scheme
	CFClient           *cf.Client
	AppsClientSet      *appsv1.AppsV1Client
	WorkloadsNamespace string
}

ImageReconciler reconciles a Image object

func (*ImageReconciler) Reconcile

func (r *ImageReconciler) Reconcile(req ctrl.Request) (ctrl.Result, error)

func (*ImageReconciler) SetupWithManager

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

type PeriodicSyncReconciler

type PeriodicSyncReconciler struct {
	client.Client
	Log                logr.Logger
	Scheme             *runtime.Scheme
	CFClient           cf.ClientInterface
	WorkloadsNamespace string
}

PeriodicSyncReconciler reconciles a PeriodicSync object

func (*PeriodicSyncReconciler) Reconcile

func (r *PeriodicSyncReconciler) Reconcile(req ctrl.Request) (ctrl.Result, error)

func (*PeriodicSyncReconciler) SetupWithManager

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

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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