@@ -42,7 +42,6 @@ func init() {
|
|||||||
func main() {
|
func main() {
|
||||||
flag.Parse()
|
flag.Parse()
|
||||||
|
|
||||||
|
|
||||||
cfg, err := k8s.Config()
|
cfg, err := k8s.Config()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
klog.Error(err, "failed to build kubeconfig")
|
klog.Error(err, "failed to build kubeconfig")
|
||||||
|
|||||||
@@ -21,7 +21,6 @@ import (
|
|||||||
"k8s.io/apimachinery/pkg/runtime"
|
"k8s.io/apimachinery/pkg/runtime"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
// AddToSchemes may be used to add all resources defined in the project to a Scheme
|
// AddToSchemes may be used to add all resources defined in the project to a Scheme
|
||||||
var AddToSchemes runtime.SchemeBuilder
|
var AddToSchemes runtime.SchemeBuilder
|
||||||
|
|
||||||
|
|||||||
@@ -630,7 +630,7 @@ The last one is encrypted info, such as the password of the username-password ty
|
|||||||
Doc("Download S2iBinary file").
|
Doc("Download S2iBinary file").
|
||||||
Param(webservice.PathParameter("namespace", "the name of namespaces")).
|
Param(webservice.PathParameter("namespace", "the name of namespaces")).
|
||||||
Param(webservice.PathParameter("s2ibinary", "the name of s2ibinary")).
|
Param(webservice.PathParameter("s2ibinary", "the name of s2ibinary")).
|
||||||
Param(webservice.PathParameter("file","the name of binary file")).
|
Param(webservice.PathParameter("file", "the name of binary file")).
|
||||||
Returns(http.StatusOK, RespOK, nil))
|
Returns(http.StatusOK, RespOK, nil))
|
||||||
|
|
||||||
// TODO are not used in this version. will be added in 2.1.0
|
// TODO are not used in this version. will be added in 2.1.0
|
||||||
|
|||||||
Reference in New Issue
Block a user