1 Star 0 Fork 0

zhuchance / kubernetes

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
urls.go 583 Bytes
AI 代码解读
一键复制 编辑 原始数据 按行查看 历史
Thom May 提交于 2015-02-17 10:48 . Basic Rackspace cloud support
package ssl
import (
"strconv"
"github.com/rackspace/gophercloud"
)
const (
path = "loadbalancers"
sslPath = "ssltermination"
certPath = "certificatemappings"
)
func rootURL(c *gophercloud.ServiceClient, id int) string {
return c.ServiceURL(path, strconv.Itoa(id), sslPath)
}
func certURL(c *gophercloud.ServiceClient, id int) string {
return c.ServiceURL(path, strconv.Itoa(id), sslPath, certPath)
}
func certResourceURL(c *gophercloud.ServiceClient, id, certID int) string {
return c.ServiceURL(path, strconv.Itoa(id), sslPath, certPath, strconv.Itoa(certID))
}
Go
1
https://gitee.com/meoom/kubernetes.git
git@gitee.com:meoom/kubernetes.git
meoom
kubernetes
kubernetes
v1.1.0-beta

搜索帮助