Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Endpoints = safe.NewSortedMap(map[string]*Endpoint{}, func(data []string, i, j int) bool {
return data[i] < data[j]
})
Functions ¶
func DeleteEndpoint ¶
func DeleteEndpoint(name string)
func UpdateServiceMap ¶
func UpdateServiceMap(notify chan any)
Types ¶
type ClientS ¶
type ClientS struct { Config *restclient.Config API *kubernetes.Clientset CRD crd.Client CTX context.Context Metrics *metricsv.Clientset IngressOldVersion bool }
ClientS ...
var (
Client *ClientS
)
type MapUpdateMsg ¶
type MapUpdateMsg struct{}
type PortForwardA ¶
type PortForwardA struct { KubeClient *ClientS Name string ServiceName string Namespace string LocalPort int // KubePort is the target port for the pod KubePort int Resource string Condition bool OwnerName string Notify chan any // contains filtered or unexported fields }
func (*PortForwardA) Close ¶
func (pf *PortForwardA) Close()
func (*PortForwardA) Copy ¶
func (pf *PortForwardA) Copy() *PortForwardA
func (*PortForwardA) Forward ¶
func (pf *PortForwardA) Forward()
func (*PortForwardA) Ready ¶
func (pf *PortForwardA) Ready()
Click to show internal directories.
Click to hide internal directories.