Documentation ¶
Index ¶
- func ComputeHashForNSTemplateSetSpec(s toolchainv1alpha1.NSTemplateSetSpec) (string, error)
- func ComputeHashForNSTemplateTier(tier *toolchainv1alpha1.NSTemplateTier) (string, error)
- func Encode(value []byte) string
- func EncodeString(value string) string
- func TemplateTierHashLabelKey(tierName string) string
- func TierHashMatches(tmplTier *toolchainv1alpha1.NSTemplateTier, ...) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ComputeHashForNSTemplateSetSpec ¶
func ComputeHashForNSTemplateSetSpec(s toolchainv1alpha1.NSTemplateSetSpec) (string, error)
ComputeHashForNSTemplateSetSpec computes the hash of the `.spec.namespaces[].templateRef` + `.spec.clusteResource.TemplateRef`
func ComputeHashForNSTemplateTier ¶
func ComputeHashForNSTemplateTier(tier *toolchainv1alpha1.NSTemplateTier) (string, error)
ComputeHashForNSTemplateTier computes the hash of the `.spec.namespaces[].templateRef` + `.spec.clusteResource.TemplateRef`
func EncodeString ¶
func TemplateTierHashLabelKey ¶
TemplateTierHashLabelKey returns the label key to specify the version of the templates of the given tier
func TierHashMatches ¶
func TierHashMatches(tmplTier *toolchainv1alpha1.NSTemplateTier, nsTmplSetSpec toolchainv1alpha1.NSTemplateSetSpec) bool
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.