Support the subresource of service proxy
This commit is contained in:
@@ -2010,6 +2010,18 @@ type NodeProxyOptions struct {
|
||||
Path string
|
||||
}
|
||||
|
||||
// ServiceProxyOptions is the query options to a Service's proxy call.
|
||||
type ServiceProxyOptions struct {
|
||||
unversioned.TypeMeta
|
||||
|
||||
// Path is the part of URLs that include service endpoints, suffixes,
|
||||
// and parameters to use for the current proxy request to service.
|
||||
// For example, the whole request URL is
|
||||
// http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy.
|
||||
// Path is _search?q=user:kimchy.
|
||||
Path string
|
||||
}
|
||||
|
||||
// ObjectReference contains enough information to let you inspect or modify the referred object.
|
||||
type ObjectReference struct {
|
||||
Kind string `json:"kind,omitempty"`
|
||||
|
Reference in New Issue
Block a user