Add stackube proxy

- Adds stackube proxy which listens on endpoints, services and
  namespaces, creates load balancer rules for clusterIP service
- Switch to govendor for managing vendors
- Add hack scripts for verifying govet and gofmt

Change-Id: I8594c16d294f46ae0d3dec6dae6fa491e7891b8b
Implements: blueprint stackube-proxy
This commit is contained in:
Pengfei Ni
2017-07-20 11:29:19 +08:00
parent c72fe929db
commit b9bf13f065
978 changed files with 31357 additions and 315958 deletions

View File

@@ -67,7 +67,7 @@ type Config struct {
Global struct {
AuthUrl string `gcfg:"auth-url"`
Username string `gcfg:"username"`
Password string `gcfg: "password"`
Password string `gcfg:"password"`
TenantName string `gcfg:"tenant-name"`
Region string `gcfg:"region"`
ExtNetID string `gcfg:"ext-net-id"`
@@ -417,8 +417,6 @@ func (os *Client) ToProviderStatus(status string) string {
default:
return "Failed"
}
return "Failed"
}
// Create network