Documentation ¶
Index ¶
- func GetUniqueLabelSets(svc *kubev1.Service, pods []*kubev1.Pod) []map[string]string
- func GetUniqueLabelSetsForObjects(selector map[string]string, podlabelss []map[string]string) []map[string]string
- func NewPlugin(kube kubernetes.Interface, kubeCoreCache corecache.KubeCoreCache) plugins.Plugin
- func UpdateUpstream(original, desired *v1.Upstream) (bool, error)
- func UpstreamName(serviceNamespace, serviceName string, servicePort int32, ...) string
- type KubePluginListers
- type KubePluginSharedFactory
- type KubeUpstreamConverter
- type UpstreamConverter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetUniqueLabelSets ¶
func NewPlugin ¶
func NewPlugin(kube kubernetes.Interface, kubeCoreCache corecache.KubeCoreCache) plugins.Plugin
Types ¶
type KubePluginListers ¶
type KubePluginListers struct {
// contains filtered or unexported fields
}
func (*KubePluginListers) EndpointsLister ¶
func (k *KubePluginListers) EndpointsLister(ns string) kubelisters.EndpointsLister
func (*KubePluginListers) Subscribe ¶
func (k *KubePluginListers) Subscribe() <-chan struct{}
func (*KubePluginListers) Unsubscribe ¶
func (k *KubePluginListers) Unsubscribe(c <-chan struct{})
type KubePluginSharedFactory ¶
type KubePluginSharedFactory interface {}
type KubeUpstreamConverter ¶
type KubeUpstreamConverter struct {
// contains filtered or unexported fields
}
func DefaultUpstreamConverter ¶
func DefaultUpstreamConverter() *KubeUpstreamConverter
func (*KubeUpstreamConverter) CreateUpstream ¶ added in v1.0.0
func (*KubeUpstreamConverter) UpstreamsForService ¶
func (uc *KubeUpstreamConverter) UpstreamsForService(ctx context.Context, svc *kubev1.Service, pods []*kubev1.Pod) v1.UpstreamList
type UpstreamConverter ¶
Directories ¶
Path | Synopsis |
---|---|
Package mock_kubernetes is a generated GoMock package.
|
Package mock_kubernetes is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.