compositiondefinitions

package
v0.0.0-...-711439c Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2026 License: Apache-2.0 Imports: 43 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	CDCtemplateDeploymentPath       = filepath.Join(os.TempDir(), "assets/cdc-deployment/deployment.yaml")
	CDCtemplateConfigmapPath        = filepath.Join(os.TempDir(), "assets/cdc-configmap/configmap.yaml")
	CDCrbacConfigFolder             = filepath.Join(os.TempDir(), "assets/cdc-rbac/")
	MutatingWebhookPath             = filepath.Join(os.TempDir(), "assets/mutating-webhook-configuration/mutating-webhook.yaml")
	JSONSchemaTemplateConfigmapPath = filepath.Join(os.TempDir(), "assets/json-schema-configmap/configmap.yaml")
	ServiceTemplatePath             = filepath.Join(os.TempDir(), "assets/cdc-service/service.yaml")
	CertsPath                       = filepath.Join(os.TempDir(), "k8s-webhook-server", "serving-certs")
)

Functions

func Setup

func Setup(mgr ctrl.Manager, o Options) error

Types

type Options

type Options struct {
	ControllerOptions controller.Options
	// Metrics records reconcile telemetry for the CompositionDefinition controller.
	Metrics                 reconciler.MetricsRecorder
	WebhookMetrics          *webhooktelemetry.Metrics
	CertManager             certificates.CertManagerInterface
	Pluralizer              pluralizerlib.PluralizerInterface
	CertificateSyncInterval time.Duration
}

Directories

Path Synopsis
helpers
webhooks

Jump to

Keyboard shortcuts

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