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 ¶
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.
Click to show internal directories.
Click to hide internal directories.