comparison

package
v0.0.0-...-9afe088 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2019 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CompareDeploymentMD5Hash

func CompareDeploymentMD5Hash(hash string, dep *apps.Deployment) bool

CompareDeploymentMD5Hash used to compare a md5 hash with the one setted in Deployment annotation

func GenerateMD5DeploymentSpec

func GenerateMD5DeploymentSpec(spec *apps.DeploymentSpec) (string, error)

GenerateMD5DeploymentSpec used to generate the DeploymentSpec MD5 hash

func IsUpToDateDeployment

func IsUpToDateDeployment(kd *kanaryv1alpha1.KanaryDeployment, dep *apps.Deployment) bool

IsUpToDateDeployment returns true if the Deployment is up to date with the KanaryDeployment deployment template.

func SetMD5DeploymentSpecAnnotation

func SetMD5DeploymentSpecAnnotation(kd *kanaryv1alpha1.KanaryDeployment, dep *apps.Deployment) (string, error)

SetMD5DeploymentSpecAnnotation used to set the md5 annotation key/value from the KanaryDeployement.Spec.Template.Spec

Types

This section is empty.

Jump to

Keyboard shortcuts

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