Documentation
¶
Index ¶
- Constants
- func AppLabels(name string) map[string]string
- func BlueGreenReplicas(n int32, segmentSize int32) (blueReplicas int32, greenReplicas int32)
- func CleanupDeployment(d *appsv1.Deployment) *appsv1.Deployment
- func GenerateDeployment(name string, r *kubereplayv1alpha1.Refinery) *appsv1.Deployment
- func GenerateService(name string, namespace string, spec *kubereplayv1alpha1.RefinerySpec) *apiv1.Service
Constants ¶
View Source
const ( AnnotationKeyDefault = "kubereplay.lwolf.org/mode" AnnotationKeyReplicas = "kubereplay.lwolf.org/replicas" AnnotationKeyShadow = "kubereplay.lwolf.org/shadow" AnnotationValueCapture = "blue" AnnotationValueSkip = "green" )
Variables ¶
This section is empty.
Functions ¶
func BlueGreenReplicas ¶
func CleanupDeployment ¶
func CleanupDeployment(d *appsv1.Deployment) *appsv1.Deployment
func GenerateDeployment ¶
func GenerateDeployment(name string, r *kubereplayv1alpha1.Refinery) *appsv1.Deployment
func GenerateService ¶
func GenerateService(name string, namespace string, spec *kubereplayv1alpha1.RefinerySpec) *apiv1.Service
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.