kubernetes: k8s.io/kubernetes/pkg/registry/core/service Index | Files | Directories

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

Package Files

doc.go proxy.go strategy.go

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.

type ProxyREST Uses

type ProxyREST struct {
    Redirector     rest.Redirector
    ProxyTransport http.RoundTripper
}

ProxyREST implements the proxy subresource for a Service

func (*ProxyREST) Connect Uses

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 Uses

func (r *ProxyREST) ConnectMethods() []string

ConnectMethods returns the list of HTTP methods that can be proxied

func (*ProxyREST) New Uses

func (r *ProxyREST) New() runtime.Object

New returns an empty service resource

func (*ProxyREST) NewConnectOptions Uses

func (r *ProxyREST) NewConnectOptions() (runtime.Object, bool, string)

NewConnectOptions returns versioned resource that represents proxy parameters

Directories

PathSynopsis
allocator
allocator/storage
ipallocator
ipallocator/controller
ipallocator/storage
portallocator
portallocator/controller
storage

Package service imports 16 packages (graph) and is imported by 7 packages. Updated 2019-11-17. Refresh now. Tools for package owners.