Update ingress godeps
This commit is contained in:
parent
d43021b3f1
commit
28db8fb16d
1068 changed files with 461467 additions and 117300 deletions
9
vendor/k8s.io/kubernetes/pkg/labels/labels.go
generated
vendored
9
vendor/k8s.io/kubernetes/pkg/labels/labels.go
generated
vendored
|
|
@ -61,6 +61,15 @@ func (ls Set) AsSelector() Selector {
|
|||
return SelectorFromSet(ls)
|
||||
}
|
||||
|
||||
// AsSelectorPreValidated converts labels into a selector, but
|
||||
// assumes that labels are already validated and thus don't
|
||||
// preform any validation.
|
||||
// According to our measurements this is significantly faster
|
||||
// in codepaths that matter at high sccale.
|
||||
func (ls Set) AsSelectorPreValidated() Selector {
|
||||
return SelectorFromValidatedSet(ls)
|
||||
}
|
||||
|
||||
// FormatLables convert label map into plain string
|
||||
func FormatLabels(labelMap map[string]string) string {
|
||||
l := Set(labelMap).String()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue