installutils

package
v0.3.0-rc.3 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package installutils implements some utility functions for the liqo install providers

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckStringFlagIsSet

func CheckStringFlagIsSet(flags *flag.FlagSet, providerPrefix, name string) (string, error)

CheckStringFlagIsSet checks that a string flag is set and returns its value.

func FusionMap

func FusionMap(baseMap, patchMap map[string]interface{}) (map[string]interface{}, error)

FusionMap fusions two maps recursively writing the result in expectedResultMap result passed as argument. In case of duplicated keys, the values extracted from patchMap are considered valid.

func PrefixedName

func PrefixedName(providerPrefix, name string) string

PrefixedName returns the paramenter name with the providerPrefix.

Types

This section is empty.

Jump to

Keyboard shortcuts

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