Documentation
¶
Index ¶
- Variables
- func CreateFormatters(hasYamlFormat bool) map[string]propertiesformatter.PropertyFormatter
- func DeleteProperty(namespace string, name string, apiClient *galasaapi.APIClient) error
- func GetFormatterNamesString(validFormatters map[string]propertiesformatter.PropertyFormatter) string
- func GetProperties(namespace string, name string, prefix string, suffix string, infix string, ...) error
- func GetPropertiesNamespaces(apiClient *galasaapi.APIClient, namespaceOutputFormat string, ...) error
- func SetProperty(namespace string, name string, value string, apiClient *galasaapi.APIClient) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( APIVERSION = "galasa-dev/v1aplha1" KIND = "GalasaProperty" )
Functions ¶
func CreateFormatters ¶
func CreateFormatters(hasYamlFormat bool) map[string]propertiesformatter.PropertyFormatter
func DeleteProperty ¶
DeleteProperty - performs all the logic to implement the `galasactl properties delete` command, but in a unit-testable manner.
func GetFormatterNamesString ¶
func GetFormatterNamesString(validFormatters map[string]propertiesformatter.PropertyFormatter) string
GetFormatterNamesString builds a string of comma separated, quoted formatter names
func GetProperties ¶
func GetProperties( namespace string, name string, prefix string, suffix string, infix string, apiClient *galasaapi.APIClient, propertiesOutputFormat string, console utils.Console, ) error
GetProperties - performs all the logic to implement the `galasactl properties get` command, but in a unit-testable manner.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.