config

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 19, 2020 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

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

func NewWithSamsahaiClient(client rpc.RPC, teamName string, authToken string) (internal.ConfigManager, error)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL