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: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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