utils

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Reset  = "\u001B[0m"
	Red    = "\033[1;31m"
	Green  = "\033[1;32m"
	Yellow = "\033[33m"
)

Variables

This section is empty.

Functions

func GetRemoteDiffForConditions

func GetRemoteDiffForConditions(source, remote []remoteconfig.Condition) string

func GetRemoteDiffForParameters

func GetRemoteDiffForParameters(source, remote map[string]remoteconfig.Parameter) string

func JSONMarshal

func JSONMarshal(t interface{}) ([]byte, error)

func PrintDiff

func PrintDiff(source, remote remoteconfig.RemoteConfig)

func ValidateParameters

func ValidateParameters(parameters map[string]model.Parameter) []error

Types

This section is empty.

Jump to

Keyboard shortcuts

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