masterservice

package
v0.4.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 6, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MasterServiceNamespace = "default"
	MasterServiceName      = "kubernetes"
	MasterServicePortName  = "https"
)
View Source
const FilterName = "masterservice"

masterservice filter is used to mutate the ClusterIP and https port of default/kubernetes service in order to pods on edge nodes can access kube-apiserver directly by inClusterConfig.

Variables

This section is empty.

Functions

func NewFilter

func NewFilter() *masterServiceFilter

func NewMasterServiceFilterHandler

func NewMasterServiceFilterHandler(
	req *http.Request,
	serializer *serializer.Serializer,
	host string,
	port int32) filter.Handler

func Register

func Register(filters *filter.Filters)

Register registers a filter

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL