deploy

package
v5.1.2 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateAnalysisRunName

func GenerateAnalysisRunName(releaseName, templateName string) string

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

func HashString(b []byte) string

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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