controllers

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2023 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ConventionsStashKey reconcilers.StashKey = "conventions.carto.run/Conventions"
	RegistryConfigKey   reconcilers.StashKey = "conventions.carto.run/RegistryConfig"
)
View Source
const (
	TLSCAKey = "ca.crt"
)

Variables

This section is empty.

Functions

func ApplyConventionsReconciler

func ApplyConventionsReconciler(wc binding.WebhookConfig) reconcilers.SubReconciler

func ResolveConventions

func ResolveConventions() reconcilers.SubReconciler

func RetrieveConventions

func RetrieveConventions(ctx context.Context) binding.Conventions

func RetrieveRegistryConfig

func RetrieveRegistryConfig(ctx context.Context) binding.RegistryConfig

func StashConventions

func StashConventions(ctx context.Context, conventions []binding.Convention)

func StashRegistryConfig

func StashRegistryConfig(ctx context.Context, rc binding.RegistryConfig)

Types

type MetricsReconciler

type MetricsReconciler struct {
	client.Client
	Namespace string
	Name      string
}

MetricsReconciler reconciles workload intent, cluster convention objects

func (*MetricsReconciler) Reconcile

func (r *MetricsReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

func (*MetricsReconciler) SetupWithManager

func (r *MetricsReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager) error

Jump to

Keyboard shortcuts

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