Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SanitizeMap ¶
func SanitizeMap(parentName string, input map[string]any) (map[string]string, []terraform.TerraformVariable)
SanitizeMap takes a map returned by the Octopus API, and replaces any sensitive value references with a placeholder
func SanitizeName ¶
SanitizeName creates a string that can be used as a name for HCL resources
func SanitizeNamePointer ¶
SanitizeNamePointer creates a string pointer that can be used as a name for HCL resources
func SanitizeParameterName ¶ added in v0.1.903
func SanitizeParameterName(dependencies *data.ResourceDetailsCollection, name string, parameterType string) string
SanitizeParameterName creates a string that can be used as slug in a step template parameter name It ensures the name is unique is the set of dependencies. This is important because a sanitized string can produce conflicts e.g. "DockerHub" and "Docker Hub" are both sanitized to "DockerHub".
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.