Documentation ¶
Index ¶
- Constants
- func NewEmpty() internal.ConfigManager
- func NewWithBytes(data []byte) internal.ConfigManager
- func NewWithGit(teamName string, gitStorage s2hv1beta1.GitStorage, ...) (internal.ConfigManager, error)
- func NewWithGitClient(client *s2hgit.Client, teamName, configPath string) (internal.ConfigManager, error)
- func NewWithSamsahaiClient(client rpc.RPC, teamName string, authToken string) (internal.ConfigManager, error)
Constants ¶
View Source
const ( ManagerName = "config-manager" ConfigFileName = "samsahai.yaml" EnvsDir = "envs" )
Variables ¶
This section is empty.
Functions ¶
func NewEmpty ¶
func NewEmpty() internal.ConfigManager
NewEmpty creates an empty Config Manager for Staging Controller
func NewWithBytes ¶
func NewWithBytes(data []byte) internal.ConfigManager
NewWithBytes creates config manager with defined data bytes
func NewWithGit ¶
func NewWithGit(teamName string, gitStorage s2hv1beta1.GitStorage, gitCred *s2hv1beta1.UsernamePasswordCredential) (internal.ConfigManager, error)
NewWithGit creates config manager with defined git storage
func NewWithGitClient ¶
func NewWithGitClient(client *s2hgit.Client, teamName, configPath string) (internal.ConfigManager, error)
NewWithGitClient creates config manager with defined git client and config path
func NewWithSamsahaiClient ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.