utils

package
v0.4.25-alpha Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2025 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Package utils exposes helpers for robot handing of data

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertBoolToString

func ConvertBoolToString(p *bool, t, f string) string

func GetBool

func GetBool(p *bool) bool

func GetString

func GetString(p *string) string

func IsValidEmail

func IsValidEmail(email string) bool

func LoadFromYaml

func LoadFromYaml(path string, receiver interface{}) error

func LoadSingleSecret

func LoadSingleSecret(path string) ([]byte, error)

LoadSingleSecret reads and returns the value of a single file.

func LogIfHasError

func LogIfHasError(logger *logrus.Entry, err error)

func ResourceIsExist

func ResourceIsExist(path string, logger *logrus.Entry, fn [2]func()) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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