Documentation ¶
Overview ¶
Package service provides the Registry interface and its RESTStorage implementation for storing Service api objects.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NormalizeClusterIPs ¶ added in v1.20.0
NormalizeClusterIPs adjust clusterIPs based on ClusterIP. This must not consider any other fields.
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
type Strategy ¶
type Strategy interface { rest.RESTCreateUpdateStrategy rest.ResetFieldsStrategy }
func NewServiceStatusStrategy ¶ added in v1.19.0
NewServiceStatusStrategy creates a status strategy for the provided base strategy.
Click to show internal directories.
Click to hide internal directories.