deployers

package
v0.50.0 Latest Latest
Warning

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

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

Documentation

Overview

Package deployers provides canonical short names for the function deployer implementations.

Index

Constants

View Source
const (
	Knative    = "knative"
	Kubernetes = "raw"
	Keda       = "keda"

	// Default deployer absent any other configuration.
	Default = Knative
)

Variables

This section is empty.

Functions

func ValidateSwitch

func ValidateSwitch(from, to string) error

ValidateSwitch reports an error if redeploying an already-deployed function with deployer 'to' would strand the previous deployer's resources on the cluster. The only safe cross-deployer change is raw -> keda, because the keda deployer embeds the raw one; same-deployer redeploys are always allowed. 'from' is the deployer the function is currently deployed with. 'to' is the one to deploy to. An empty value on either side means "not known" -> returns nil.

Types

This section is empty.

Jump to

Keyboard shortcuts

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