type EndpointsStorage …
type PodStorage …
type REST …
var _ …
var _ …
var _ …
var _ …
var _ …
func NewREST(
optsGetter generic.RESTOptionsGetter,
serviceIPFamily api.IPFamily,
ipAllocs map[api.IPFamily]ipallocator.Interface,
portAlloc portallocator.Interface,
endpoints EndpointsStorage,
pods PodStorage,
proxyTransport http.RoundTripper) (*REST, *StatusREST, *svcreg.ProxyREST, error) { … }
func otherFamily(fam api.IPFamily) api.IPFamily { … }
var _ …
var _ …
func (r *REST) ShortNames() []string { … }
func (r *REST) Categories() []string { … }
func (r *REST) Destroy() { … }
type StatusREST …
func (r *StatusREST) New() runtime.Object { … }
func (r *StatusREST) Destroy() { … }
func (r *StatusREST) Get(ctx context.Context, name string, options *metav1.GetOptions) (runtime.Object, error) { … }
func (r *StatusREST) Update(ctx context.Context, name string, objInfo rest.UpdatedObjectInfo, createValidation rest.ValidateObjectFunc, updateValidation rest.ValidateObjectUpdateFunc, forceAllowCreate bool, options *metav1.UpdateOptions) (runtime.Object, bool, error) { … }
func (r *StatusREST) ConvertToTable(ctx context.Context, object runtime.Object, tableOptions runtime.Object) (*metav1.Table, error) { … }
func (r *StatusREST) GetResetFields() map[fieldpath.APIVersion]*fieldpath.Set { … }
type Before …
type After …
func (r *REST) defaultOnRead(obj runtime.Object) { … }
func (r *REST) defaultOnReadServiceList(serviceList *api.ServiceList) { … }
func (r *REST) defaultOnReadService(service *api.Service) { … }
func defaultOnReadInternalTrafficPolicy(service *api.Service) { … }
func (r *REST) defaultOnReadIPFamilies(service *api.Service) { … }
func (r *REST) afterDelete(obj runtime.Object, options *metav1.DeleteOptions) { … }
func (r *REST) beginCreate(ctx context.Context, obj runtime.Object, options *metav1.CreateOptions) (genericregistry.FinishFunc, error) { … }
func (r *REST) beginUpdate(ctx context.Context, obj, oldObj runtime.Object, options *metav1.UpdateOptions) (genericregistry.FinishFunc, error) { … }
func (r *REST) ResourceLocation(ctx context.Context, id string) (*url.URL, http.RoundTripper, error) { … }
func isValidAddress(ctx context.Context, addr *api.EndpointAddress, pods rest.Getter) error { … }
func normalizeClusterIPs(after After, before Before) { … }
func patchAllocatedValues(after After, before Before) { … }
func needsClusterIP(svc *api.Service) bool { … }
func needsNodePort(svc *api.Service) bool { … }
func needsHCNodePort(svc *api.Service) bool { … }