Documentation ¶
Index ¶
- func DestringifyValue(Data string) (interface{}, error)
- func IsPrimitiveType(value interface{}) bool
- func IsStringType(val interface{}) bool
- func IsValidJSON(input string) bool
- func IsValidYAML(input string) bool
- func ManifestToPayload(manifest models.ScopedVariableManifest, userId int32) models.Payload
- func PayloadToManifest(payload models.Payload) models.ScopedVariableManifest
- func StringifyValue(data interface{}) (string, error)
- func ToInterfaceArray(arr []string) []interface{}
- func ToStringArray(interfaceArr []interface{}) []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DestringifyValue ¶
func IsPrimitiveType ¶ added in v0.6.24
func IsPrimitiveType(value interface{}) bool
func IsStringType ¶ added in v0.6.24
func IsStringType(val interface{}) bool
func IsValidJSON ¶
func IsValidYAML ¶
func ManifestToPayload ¶
func ManifestToPayload(manifest models.ScopedVariableManifest, userId int32) models.Payload
func PayloadToManifest ¶
func PayloadToManifest(payload models.Payload) models.ScopedVariableManifest
func StringifyValue ¶
func ToInterfaceArray ¶
func ToInterfaceArray(arr []string) []interface{}
ToInterfaceArray converts an array of string to an array of interface{}
func ToStringArray ¶
func ToStringArray(interfaceArr []interface{}) []string
ToStringArray converts an array of interface{} back to an array of string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.