Documentation
¶
Index ¶
- func ArgToEnvVarMap(input []string) (map[string]string, error)
- func BuildDate() string
- func Commit() string
- func Get(path string) (body []byte, err error)
- func GetRoleName(role int) string
- func SetAuthoriziationHeader(req *http.Request) error
- func ValidateUrl(urlIn string) (string, error)
- func Version() string
- type Browser
- type Build
- type Environment
- type FileSystem
- func (f *FileSystem) CreateDirectory(dirname string) error
- func (f *FileSystem) CreateFile(filename string) (billy.File, error)
- func (f *FileSystem) DirExists(dirname string) bool
- func (f *FileSystem) FileExists(filename string) bool
- func (f *FileSystem) WriteFile(path string, filename string, data []byte, force bool) error
- type ReplicaStatus
- type Step
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ArgToEnvVarMap ¶ added in v0.3.0
func GetRoleName ¶
func SetAuthoriziationHeader ¶
func ValidateUrl ¶ added in v0.4.0
Validates a URL is a http/https URL
Types ¶
type Browser ¶ added in v0.3.0
type Browser struct{}
func NewBrowser ¶ added in v0.3.0
func NewBrowser() *Browser
type Environment ¶ added in v0.1.0
type Environment struct { }
func NewEnv ¶ added in v0.1.0
func NewEnv() *Environment
func (*Environment) GetApiToken ¶ added in v0.1.0
func (e *Environment) GetApiToken() (string, error)
func (*Environment) GetApiUrl ¶ added in v0.1.0
func (e *Environment) GetApiUrl() string
func (*Environment) GetTeamId ¶ added in v0.1.0
func (e *Environment) GetTeamId() (int, error)
func (*Environment) GetWorkspaceId ¶ added in v0.1.0
func (e *Environment) GetWorkspaceId() (int, error)
func (*Environment) ReadNumericEnv ¶ added in v0.1.0
func (e *Environment) ReadNumericEnv(env string) (int, error)
type FileSystem ¶ added in v0.9.0
func NewMemFileSystem ¶ added in v0.9.0
func NewMemFileSystem() *FileSystem
func NewOSFileSystem ¶ added in v0.9.0
func NewOSFileSystem(root string) *FileSystem
func (*FileSystem) CreateDirectory ¶ added in v0.9.0
func (f *FileSystem) CreateDirectory(dirname string) error
func (*FileSystem) CreateFile ¶ added in v0.9.0
func (f *FileSystem) CreateFile(filename string) (billy.File, error)
func (*FileSystem) DirExists ¶ added in v0.9.0
func (f *FileSystem) DirExists(dirname string) bool
func (*FileSystem) FileExists ¶ added in v0.9.0
func (f *FileSystem) FileExists(filename string) bool
type ReplicaStatus ¶
type ReplicaStatus struct { State string `json:"state"` Steps []Step `json:"steps"` Replica string `json:"replica"` Server string `json:"server"` }
func GetPipelineStatus ¶
func GetPipelineStatus(ws int, stage string) (res []ReplicaStatus, err error)
Click to show internal directories.
Click to hide internal directories.