common

package
v0.15.1 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2020 License: Apache-2.0 Imports: 16 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AggregationRuleTransform added in v0.15.0

func AggregationRuleTransform(client unstructuredGetter) mf.Transformer

AggregationRuleTransform

func CustomCertsTransform

func CustomCertsTransform(instance *servingv1alpha1.KnativeServing, log *zap.SugaredLogger) mf.Transformer

CustomCertsTransform configures the controller deployment to trust registries with self-signed certs

func GatewayTransform

func GatewayTransform(instance *servingv1alpha1.KnativeServing, log *zap.SugaredLogger) mf.Transformer

func HighAvailabilityTransform

func HighAvailabilityTransform(instance *servingv1alpha1.KnativeServing, log *zap.SugaredLogger) mf.Transformer

HighAvailabilityTransform mutates configmaps and replicacounts of certain controllers when HA control plane is specified.

Types

type StatsReporter added in v0.15.0

type StatsReporter interface {
	// ReportKnativeServingChange reports the count of KnativeServing changes.
	ReportKnativeservingChange(knativeservingResourceName, change string) error
}

StatsReporter defines the interface for sending metrics.

func NewStatsReporter added in v0.15.0

func NewStatsReporter(reconcilerName string) (StatsReporter, error)

NewStatsReporter creates a reporter that collects and reports metrics.

Jump to

Keyboard shortcuts

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