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

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

type Strategy Uses

type Strategy interface {
    rest.RESTCreateUpdateStrategy
    rest.RESTExportStrategy
}

func NewServiceStatusStrategy Uses

func NewServiceStatusStrategy(strategy Strategy) Strategy

NewServiceStatusStrategy creates a status strategy for the provided base strategy.

func StrategyForServiceCIDRs Uses

func StrategyForServiceCIDRs(primaryCIDR net.IPNet, hasSecondary bool) (Strategy, api.IPFamily)

StrategyForServiceCIDRs returns the appropriate service strategy for the given configuration.

Directories

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

Package service imports 18 packages (graph) and is imported by 25 packages. Updated 2020-09-30. Refresh now. Tools for package owners.