Documentation
¶
Index ¶
- Variables
- func DownloadBinaryContent(url string, outputPath string) error
- func DownloadProxyRevision(in chan ProxyDeployment, environment string) chan struct{}
- func DownloadSharedflowRevision(in chan SharedflowDeployment, environment string)
- func Get(url string) ([]byte, error)
- func GetDeployments(list []string, environment, path string) chan Deployment
- func GetEnvironments() ([]string, error)
- func GetItemList(url string) ([]string, error)
- func GetProxyList() ([]string, error)
- func GetSharedFlowList() ([]string, error)
- func GetSharedflowDeployments(list []string, environment string) chan SharedflowDeployment
- func ListAllTraffic(environment string, filterProxy string, from string, to string) ([]string, [][]string, error)
- func StreamProxyDeployments(list []string, environment string) (chan ProxyDeployment, chan UndeployedEntity)
- func Unzip(src, dest string) error
- type Deployment
- type Dimension
- type Environment
- type Metric
- type ProxyDeployment
- type SharedflowDeployment
- type StatsTrafficList
- type UndeployedEntity
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func DownloadBinaryContent ¶
func DownloadProxyRevision ¶
func DownloadProxyRevision(in chan ProxyDeployment, environment string) chan struct{}
func DownloadSharedflowRevision ¶
func DownloadSharedflowRevision(in chan SharedflowDeployment, environment string)
func GetDeployments ¶
func GetDeployments(list []string, environment, path string) chan Deployment
func GetEnvironments ¶
func GetItemList ¶
func GetProxyList ¶
func GetSharedFlowList ¶
func GetSharedflowDeployments ¶
func GetSharedflowDeployments(list []string, environment string) chan SharedflowDeployment
func ListAllTraffic ¶
func StreamProxyDeployments ¶
func StreamProxyDeployments(list []string, environment string) (chan ProxyDeployment, chan UndeployedEntity)
Types ¶
type Deployment ¶
type Deployment interface{}
type Environment ¶
type ProxyDeployment ¶
type ProxyDeployment struct { Environment string `json:"environment"` Name string `json:"name"` Organization string `json:"organization"` Revision []struct { Configuration struct { BasePath string `json:"basePath"` Steps []interface{} `json:"steps"` } `json:"configuration"` Name string `json:"name"` Server []interface{} `json:"server"` State string `json:"state"` } `json:"revision"` }
type SharedflowDeployment ¶
type SharedflowDeployment struct { string `json:"basePath"` ConfigVersion string `json:"configVersion"` Steps []interface{} `json:"steps"` } `json:"configuration"` Name string `json:"name"` Server []struct { Pod struct { Name string `json:"name"` Region string `json:"region"` } `json:"pod"` Status string `json:"status"` Type []string `json:"type"` UUID string `json:"uUID"` } `json:"server"` State string `json:"state"` } `json:"revision"` }Configuration struct { BasePath
type StatsTrafficList ¶
type StatsTrafficList struct {
Environments []Environment `json:"environments,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.