forked from LaconicNetwork/kompose
merged from main and dummy coments
This commit is contained in:
parent
182e0ce294
commit
6ce08bb234
@ -1238,13 +1238,14 @@ func TestKubernetes_CreateSecrets(t *testing.T) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// struct defines the configuration parameters required for creating a secret
|
||||||
type SecretsConfig struct {
|
type SecretsConfig struct {
|
||||||
nameSecretConfig string
|
nameSecretConfig string
|
||||||
nameSecret string
|
nameSecret string
|
||||||
pathFile string
|
pathFile string
|
||||||
}
|
}
|
||||||
|
|
||||||
// generate
|
// creates a new instance of types.Secrets based on the provided SecretsConfig parameter
|
||||||
func newSecrets(stringsSecretConfig SecretsConfig) types.Secrets {
|
func newSecrets(stringsSecretConfig SecretsConfig) types.Secrets {
|
||||||
return types.Secrets{
|
return types.Secrets{
|
||||||
stringsSecretConfig.nameSecretConfig: types.SecretConfig{
|
stringsSecretConfig.nameSecretConfig: types.SecretConfig{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user