Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateAnalysisRunName ¶
GenerateAnalysisRunName generates a name for an AnalysisRun by concatenating the release name and template. If the result would be too long, parts are trimmed to 27 characters and a hash is appended. 27 char maximum is to ensure final name doesn't exceed 64 characters: <release(27)>-<template(27)>-<hash(7)>
func GenerateReleaseName ¶
func GenerateReleaseName(release deployv1alpha1.Release) (string, error)
Generates a name for a release based on its target name and revision IDs. The generated name hash the format of `{targetName}-{hash}`, where hash is a SHA-256 hash of the appended revision Names and IDs.
func HashString ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.