Documentation
¶
Overview ¶
* Copyright contributors to the Galasa project * * SPDX-License-Identifier: EPL-2.0
* Copyright contributors to the Galasa project * * SPDX-License-Identifier: EPL-2.0
Index ¶
Constants ¶
View Source
const ( HEADER_SECRET_NAME = "name" HEADER_SECRET_TYPE = "type" HEADER_SECRET_DESCRIPTION = "description" HEADER_LAST_UPDATED_TIME = "last-updated(UTC)" HEADER_LAST_UPDATED_BY = "last-updated-by" )
----------------------------------------------------- SecretsFormatter - implementations can take a collection of secrets and turn them into a string for display to the user.
View Source
const (
SUMMARY_FORMATTER_NAME = "summary"
)
----------------------------------------------------- Summary format.
View Source
const (
YAML_FORMATTER_NAME = "yaml"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SecretSummaryFormatter ¶
type SecretSummaryFormatter struct {
}
func (*SecretSummaryFormatter) FormatSecrets ¶
func (*SecretSummaryFormatter) FormatSecrets(secrets []galasaapi.GalasaSecret) (string, error)
func (*SecretSummaryFormatter) GetName ¶
func (*SecretSummaryFormatter) GetName() string
type SecretYamlFormatter ¶
type SecretYamlFormatter struct {
}
func (*SecretYamlFormatter) FormatSecrets ¶
func (*SecretYamlFormatter) FormatSecrets(secrets []galasaapi.GalasaSecret) (string, error)
func (*SecretYamlFormatter) GetName ¶
func (*SecretYamlFormatter) GetName() string
type SecretsFormatter ¶
type SecretsFormatter interface {
FormatSecrets(secrets []galasaapi.GalasaSecret) (string, error)
GetName() string
}
func NewSecretSummaryFormatter ¶
func NewSecretSummaryFormatter() SecretsFormatter
func NewSecretYamlFormatter ¶
func NewSecretYamlFormatter() SecretsFormatter
Click to show internal directories.
Click to hide internal directories.