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 ¶
- type ProxyREST
- func (r *ProxyREST) Connect(ctx context.Context, id string, opts runtime.Object, responder rest.Responder) (http.Handler, error)
- func (r *ProxyREST) ConnectMethods() []string
- func (r *ProxyREST) New() runtime.Object
- func (r *ProxyREST) NewConnectOptions() (runtime.Object, bool, string)
- type Strategy
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
type Strategy ¶
type Strategy interface { rest.RESTCreateUpdateStrategy rest.RESTExportStrategy }
func NewServiceStatusStrategy ¶
NewServiceStatusStrategy creates a status strategy for the provided base strategy.
func StrategyForServiceCIDRs ¶
StrategyForServiceCIDRs returns the appropriate service strategy for the given configuration.
Source Files ¶
doc.go proxy.go strategy.go
Directories ¶
- Version
- v1.19.7
- Published
- Jan 13, 2021
- Platform
- js/wasm
- Imports
- 18 packages
- Last checked
- 10 minutes ago –
Tools for package owners.