digest

package
v2.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// IntegrationDigestEnvVar -- .
	IntegrationDigestEnvVar = "CAMEL_K_DIGEST"
)

Variables

This section is empty.

Functions

func ComputeForIntegration

func ComputeForIntegration(integration *v1.Integration, configmapVersions []string, secretVersions []string) (string, error)

ComputeForIntegration a digest of the fields that are relevant for the deployment Produces a digest that can be used as docker image tag.

func ComputeForIntegrationKit

func ComputeForIntegrationKit(kit *v1.IntegrationKit) (string, error)

ComputeForIntegrationKit a digest of the fields that are relevant for the deployment Produces a digest that can be used as docker image tag.

func ComputeForResource

func ComputeForResource(res v1.DataSpec) (string, error)

ComputeForResource returns a digest for the specific resource.

func ComputeForSource

func ComputeForSource(s v1.SourceSpec) (string, error)

ComputeForSource returns a digest for the specific source.

func ComputeSHA1

func ComputeSHA1(elem ...string) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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