mirror of
https://github.com/go-micro/go-micro.git
synced 2025-07-12 22:41:07 +02:00
Kubernetes logging (#1054)
* wip * Implementation of Kubernetes Logger * Missing file * Skip test in Travis
This commit is contained in:
@ -34,6 +34,7 @@ type Request struct {
|
||||
type Params struct {
|
||||
LabelSelector map[string]string
|
||||
Annotations map[string]string
|
||||
Additional map[string]string
|
||||
}
|
||||
|
||||
// verb sets method
|
||||
@ -136,6 +137,9 @@ func (r *Request) Params(p *Params) *Request {
|
||||
// set and overwrite the value
|
||||
r.params.Set("labelSelector", value)
|
||||
}
|
||||
for k, v := range p.Additional {
|
||||
r.params.Set(k, v)
|
||||
}
|
||||
|
||||
return r
|
||||
}
|
||||
|
Reference in New Issue
Block a user