poller

package
v0.0.0-...-81cdc2d Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: Apache-2.0 Imports: 27 Imported by: 0

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, 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) (*PollManager, error)

func (*PollManager) Run

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

type PollState

type PollState int
const (
	PollStateUnknown PollState = iota
	PollStateNotPoll
	PollStatePolling
)

Jump to

Keyboard shortcuts

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