utils

package
v0.0.0-...-78176ad Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AcknowledgeStatusToErr

func AcknowledgeStatusToErr(s nbmpv2.AcknowledgeStatus) error

func ExtractStringParameterValue

func ExtractStringParameterValue(p nbmpv2.Parameter) (string, bool)

func GetStringParameterValue

func GetStringParameterValue(parameters []nbmpv2.Parameter, key string) (string, bool)

GetStringParameterValue returns the value of given key and a bool indicating if the value could be retrieved successfully. This assumes there is exactly one string value with exactly one restriction.

func MustDeepCopyInto

func MustDeepCopyInto(in any, out any)

func SetStringParameterValue

func SetStringParameterValue(parameters []nbmpv2.Parameter, key, value string) []nbmpv2.Parameter

func UpdateAcknowledgeStatus

func UpdateAcknowledgeStatus(ack *nbmpv2.Acknowledge) nbmpv2.AcknowledgeStatus

Types

This section is empty.

Jump to

Keyboard shortcuts

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