package service
import "k8s.io/kubernetes/pkg/registry/core/service"
Package service provides the Registry interface and its RESTStorage implementation for storing Service api objects.
Index ¶
Variables ¶
var StatusStrategy = serviceStatusStrategy{Strategy}
StatusStrategy is the default logic invoked when updating service status.
var Strategy = svcStrategy{legacyscheme.Scheme, names.SimpleNameGenerator}
Services is the default logic that applies when creating and updating Service objects.
Types ¶
type ProxyREST ¶
type ProxyREST struct { Redirector rest.Redirector ProxyTransport http.RoundTripper }
ProxyREST implements the proxy subresource for a Service
func (*ProxyREST) Connect ¶
func (r *ProxyREST) Connect(ctx context.Context, id string, opts runtime.Object, responder rest.Responder) (http.Handler, error)
Connect returns a handler for the service proxy
func (*ProxyREST) ConnectMethods ¶
ConnectMethods returns the list of HTTP methods that can be proxied
func (*ProxyREST) New ¶
New returns an empty service resource
func (*ProxyREST) NewConnectOptions ¶
NewConnectOptions returns versioned resource that represents proxy parameters
Source Files ¶
doc.go proxy.go strategy.go
Directories ¶
- Version
- v1.13.11
- Published
- Sep 13, 2019
- Platform
- js/wasm
- Imports
- 14 packages
- Last checked
- 27 seconds ago –
Tools for package owners.