Canary deployments for fission functions. (#892)
This commit is contained in:
@@ -52,6 +52,9 @@ type (
|
||||
MessageQueueTriggerSpec = fv1.MessageQueueTriggerSpec
|
||||
TimeTriggerSpec = fv1.TimeTriggerSpec
|
||||
RecorderSpec = fv1.RecorderSpec
|
||||
CanaryConfigSpec = fv1.CanaryConfigSpec
|
||||
CanaryConfigStatus = fv1.CanaryConfigStatus
|
||||
FailureType = fv1.FailureType
|
||||
)
|
||||
|
||||
type (
|
||||
@@ -146,10 +149,13 @@ const (
|
||||
// reference is simply by function name.
|
||||
FunctionReferenceTypeFunctionName = fv1.FunctionReferenceTypeFunctionName
|
||||
|
||||
// Set of function references (recursively), by percentage of traffic
|
||||
FunctionReferenceTypeFunctionWeights = fv1.FunctionReferenceTypeFunctionWeights
|
||||
|
||||
// Other function reference types we'd like to support:
|
||||
// Versioned function, latest version
|
||||
// Versioned function. by semver "latest compatible"
|
||||
// Set of function references (recursively), by percentage of traffic
|
||||
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -194,3 +200,12 @@ const (
|
||||
|
||||
ClusterRole = "ClusterRole"
|
||||
)
|
||||
|
||||
const (
|
||||
FailureTypeStatusCode = fv1.FailureTypeStatusCode
|
||||
CanaryConfigStatusPending = fv1.CanaryConfigStatusPending
|
||||
CanaryConfigStatusSucceeded = fv1.CanaryConfigStatusSucceeded
|
||||
CanaryConfigStatusFailed = fv1.CanaryConfigStatusFailed
|
||||
CanaryConfigStatusAborted = fv1.CanaryConfigStatusAborted
|
||||
MaxIterationsForCanaryConfig = fv1.MaxIterationsForCanaryConfig
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user