Skip to content

Commit

Permalink
Merge pull request #123 from helmfile/fix-code-comment-go-1.19
Browse files Browse the repository at this point in the history
  • Loading branch information
yxxhero authored Feb 4, 2023
2 parents 2a9a22d + ab11d6b commit 67b6885
Showing 1 changed file with 40 additions and 41 deletions.
81 changes: 40 additions & 41 deletions pkg/api/internal.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,51 +3,50 @@ package api
// StaticConfig is pre-loaded configuration that has zero changes to fail at the time of getting values.
// Examples of StaticConfig:
//
// values:
// - provider:
// type: string
// name: ssm
// prefix: myteam/mysvc1
// region: ap-northeast-1
// inline:
// dst1: src1
// values:
// - provider:
// type: string
// name: ssm
// prefix: myteam/mysvc1
// region: ap-northeast-1
// inline:
// dst1: src1
//
// values:
// - provider:
// type: map
// name: ssm
// prefix: myteam/mysvc1
// region: ap-northeast-1
// strategy: raw
// inline:
// dst1: src1
// values:
// - provider:
// type: map
// name: ssm
// prefix: myteam/mysvc1
// region: ap-northeast-1
// strategy: raw
// inline:
// dst1: src1
//
// values:
// - provider:
// type: map
// name: ssm
// prefix: myteam/mysvc1
// region: ap-northeast-1
// strategy: yaml
// inline:
// dst1: src1
// values:
// - provider:
// type: map
// name: ssm
// prefix: myteam/mysvc1
// region: ap-northeast-1
// strategy: yaml
// inline:
// dst1: src1
//
// values:
// - provider:
// type: string
// name: vault
// address: http://127.0.0.1:8200
// path: secrets/myteam/mysvc1
// inline:
// dst1: src1
//
// values:
// - vault:
// address: http://127.0.0.1:8200
// path: secrets/myteam/mysvc1
// inline:
// dst1: src1
// values:
// - provider:
// type: string
// name: vault
// address: http://127.0.0.1:8200
// path: secrets/myteam/mysvc1
// inline:
// dst1: src1
//
// values:
// - vault:
// address: http://127.0.0.1:8200
// path: secrets/myteam/mysvc1
// inline:
// dst1: src1
type StaticConfig interface {
String(...string) string
Config(...string) StaticConfig
Expand Down

0 comments on commit 67b6885

Please sign in to comment.