poller

package
v0.0.0-...-3388463 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2024 License: Apache-2.0 Imports: 28 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PollClient

type PollClient struct {
	// contains filtered or unexported fields
}

func (*PollClient) Start

func (pc *PollClient) Start()

func (*PollClient) Stop

func (pc *PollClient) Stop()

type PollConnection

type PollConnection struct {
	// contains filtered or unexported fields
}

func NewPollConnection

func NewPollConnection(index int, client *http.Client, receiverDomain, pollerDomain, serviceName string) *PollConnection

func (*PollConnection) Start

func (conn *PollConnection) Start(ctx context.Context)

func (*PollConnection) Stop

func (conn *PollConnection) Stop()

type PollManager

type PollManager struct {
	// contains filtered or unexported fields
}

func NewPollManager

func NewPollManager(isMaster bool, selfNamespace, gatewayName string, serviceInformer corev1informers.ServiceInformer,
	domainRouteInformer kusciaextv1alpha1.DomainRouteInformer, gatewayInformer kusciaextv1alpha1.GatewayInformer) (*PollManager, error)

func (*PollManager) Run

func (pm *PollManager) Run(workers int, stopCh <-chan struct{})

type PollState

type PollState int

Jump to

Keyboard shortcuts

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