mocks

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	StableServiceName     = "argo-rollouts-stable"
	CanaryServiceName     = "argo-rollouts-canary"
	AddOnServiceName      = "argo-rollouts-addon"
	AddOnRouteServiceName = "argo-rollouts-addon-route"

	HTTPProxyName               = "argo-rollouts"
	ValidHTTPProxyName          = "argo-rollouts-valid"
	OutdatedHTTPProxyName       = "argo-rollouts-outdated"
	InvalidHTTPProxyName        = "argo-rollouts-invalid"
	FalseConditionHTTPProxyName = "argo-rollouts-false-condition"

	// HTTPProxyAddOnWeight represents the add-ons services' weight in the total weight
	HTTPProxyAddOnWeight = 20

	// HTTPProxyCanaryWeightPercent represents the canary's weight for the canary deploment service (only)
	HTTPProxyCanaryWeightPercent = 40
)

Variables

This section is empty.

Functions

func MakeName added in v0.3.0

func MakeName(origin string, appendPostfix ...bool) string

func MakeObjects

func MakeObjects(appendPostfix bool, addonServices ...contourv1.Service) []runtime.Object

Types

This section is empty.

Jump to

Keyboard shortcuts

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