Update ingress godeps
This commit is contained in:
parent
d43021b3f1
commit
28db8fb16d
1068 changed files with 461467 additions and 117300 deletions
4
vendor/k8s.io/kubernetes/pkg/kubectl/proxy_server.go
generated
vendored
4
vendor/k8s.io/kubernetes/pkg/kubectl/proxy_server.go
generated
vendored
|
|
@ -35,7 +35,7 @@ import (
|
|||
const (
|
||||
DefaultHostAcceptRE = "^localhost$,^127\\.0\\.0\\.1$,^\\[::1\\]$"
|
||||
DefaultPathAcceptRE = "^/.*"
|
||||
DefaultPathRejectRE = "^/api/.*/exec,^/api/.*/run,^/api/.*/attach"
|
||||
DefaultPathRejectRE = "^/api/.*/pods/.*/exec,^/api/.*/pods/.*/attach"
|
||||
DefaultMethodRejectRE = "POST,PUT,PATCH"
|
||||
)
|
||||
|
||||
|
|
@ -63,7 +63,7 @@ type FilterServer struct {
|
|||
delegate http.Handler
|
||||
}
|
||||
|
||||
// Splits a comma separated list of regexps into a array of Regexp objects.
|
||||
// Splits a comma separated list of regexps into an array of Regexp objects.
|
||||
func MakeRegexpArray(str string) ([]*regexp.Regexp, error) {
|
||||
parts := strings.Split(str, ",")
|
||||
result := make([]*regexp.Regexp, len(parts))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue