Documentation ¶
Index ¶
Constants ¶
View Source
const ( // LabelServiceProxyName indicates that an alternative service // proxy will implement this Service. LabelServiceProxyName = "service.kubernetes.io/service-proxy-name" )
TODO: need to find a better home for this
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Job ¶
type Job struct { Kube *kubernetes.Clientset Store *proxystore.Store Config *K8sConfig }
type K8sConfig ¶
type K8sConfig struct { // UseSlices turns on endpoint slices. This can go away eventually. UseSlices bool // ServiceProxyName identifies a "different" service proxy, i.e. tells // KPNG we're not handling this service. ServiceProxyName string // ServiceLabelGlobs tells the proxy to filter certain services by label. ServiceLabelGlobs []string // ServiceAnnotationGlobs tells the proxy to filter certain services by label. ServiceAnnonationGlobs []string NodeLabelGlobs []string NodeAnnotationGlobs []string }
K8sConfig is the data structure that users edit to influence the way that KPNG watches the K8s APIServer.
Click to show internal directories.
Click to hide internal directories.