Versions in this module Expand all Collapse all v1 v1.24.10 Oct 24, 2017 v1.24.9 Oct 24, 2017 Changes in this version + var StatusStrategy = serviceStatusStrategy + var Strategy = svcStrategy + func CollectServiceNodePorts(service *api.Service) []int + type ProxyREST struct + ProxyTransport http.RoundTripper + ServiceRest *REST + func (r *ProxyREST) Connect(ctx genericapirequest.Context, id string, opts runtime.Object, ...) (http.Handler, error) + func (r *ProxyREST) ConnectMethods() []string + func (r *ProxyREST) New() runtime.Object + func (r *ProxyREST) NewConnectOptions() (runtime.Object, bool, string) + type REST struct + func (*REST) New() runtime.Object + func (*REST) NewList() runtime.Object + func (rs *REST) Categories() []string + func (rs *REST) Create(ctx genericapirequest.Context, obj runtime.Object, includeUninitialized bool) (runtime.Object, error) + func (rs *REST) Delete(ctx genericapirequest.Context, id string) (runtime.Object, error) + func (rs *REST) Export(ctx genericapirequest.Context, name string, opts metav1.ExportOptions) (runtime.Object, error) + func (rs *REST) Get(ctx genericapirequest.Context, id string, options *metav1.GetOptions) (runtime.Object, error) + func (rs *REST) List(ctx genericapirequest.Context, options *metainternalversion.ListOptions) (runtime.Object, error) + func (rs *REST) ResourceLocation(ctx genericapirequest.Context, id string) (*url.URL, http.RoundTripper, error) + func (rs *REST) ShortNames() []string + func (rs *REST) Update(ctx genericapirequest.Context, name string, objInfo rest.UpdatedObjectInfo) (runtime.Object, bool, error) + func (rs *REST) Watch(ctx genericapirequest.Context, options *metainternalversion.ListOptions) (watch.Interface, error) + type Registry interface + CreateService func(ctx genericapirequest.Context, svc *api.Service) (*api.Service, error) + DeleteService func(ctx genericapirequest.Context, name string) error + ExportService func(ctx genericapirequest.Context, name string, options metav1.ExportOptions) (*api.Service, error) + GetService func(ctx genericapirequest.Context, name string, options *metav1.GetOptions) (*api.Service, error) + ListServices func(ctx genericapirequest.Context, options *metainternalversion.ListOptions) (*api.ServiceList, error) + UpdateService func(ctx genericapirequest.Context, svc *api.Service) (*api.Service, error) + WatchServices func(ctx genericapirequest.Context, options *metainternalversion.ListOptions) (watch.Interface, error) + func NewRegistry(s rest.StandardStorage) Registry + type ServiceRest struct + Proxy *ProxyREST + Service *REST + func NewStorage(registry Registry, endpoints endpoint.Registry, ...) *ServiceRest