Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuildSource ¶
type BuildSource struct { Properties []PropertySource Options map[string]string }
func NewBuildSource ¶
func NewBuildSource() *BuildSource
func (*BuildSource) AddOption ¶
func (b *BuildSource) AddOption(key, value string) *BuildSource
func (*BuildSource) AddProperty ¶
func (b *BuildSource) AddProperty(p PropertySource) *BuildSource
type EnvConfig ¶
type EnvConfig struct { Cloud SpringCloudConfig Application string Profile string Label string VaultToken string }
type FileResolver ¶
type GithubCommit ¶
type GithubCommit struct {
Modified []string `json:"modified"`
}
type GithubEvent ¶
type GithubEvent struct { Name string `json:"name"` Commits []GithubCommit `json:"commits"` }
type ProfileConfig ¶
type PropertySource ¶
type SpringCloudConfig ¶
type SpringCloudConfig struct { Server struct { Host string `yml:"host"` Port int `yml:"port"` } `yml:"server"` Security struct { Basic struct { Enabled bool `yml:"enabled"` User string `yml:"user"` Password string `yml:"password"` } `yml:"basic"` APIKey struct { Enabled bool `yml:"enabled"` KeyLookup string `yml:"keylookup"` Token string `yml:"token"` } `yml:"apikey"` } `yml:"security"` Encrypt struct { Key string `yml:"key"` } `yml:"encrypt"` Logging struct { Level struct { Root string `yml:"root"` } `yml:"level"` } `yml:"logging"` Spring struct { Profiles struct { Active string `yml:"active"` } `yml:"profiles"` Cloud struct { Config struct { Server struct { Native map[string]interface{} `yml:"native"` Git map[string]interface{} `yml:"git"` Vault map[string]interface{} `yml:"vault"` } `yml:"server"` } `yml:"cloud"` } `yml:"cloud"` Nats struct { Servers string `yml:"servers"` Subject string `yml:"subject"` Auth struct { Type string `yml:"type"` Token string `yml:"token"` User string `yml:"user"` Password string `yml:"password"` } `yml:"auth"` } `yml:"profiles"` } `yml:"spring"` }
Click to show internal directories.
Click to hide internal directories.