fetcher

package
v0.0.0-...-e8da0a6 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2023 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Fetcher

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

func NewFetcher

func NewFetcher(bearerToken, clusterId string, scheduler *scheduler.Scheduler, api server.ServerAPIInterface, fetchLimit int, clientVersion string) (*Fetcher, error)

func (*Fetcher) Cancel

func (f *Fetcher) Cancel()

func (*Fetcher) CatchClientSystemService

func (f *Fetcher) CatchClientSystemService(services []*service.Service) bool

func (*Fetcher) ChangeClientConfigFromToken

func (f *Fetcher) ChangeClientConfigFromToken()

func (*Fetcher) Done

func (f *Fetcher) Done() <-chan struct{}

func (*Fetcher) HandShake

func (f *Fetcher) HandShake() error

func (*Fetcher) Polling

func (f *Fetcher) Polling(ctx context.Context) error

func (*Fetcher) RebounceClientPod

func (f *Fetcher) RebounceClientPod(serviceId string)

func (*Fetcher) RemainServices

func (f *Fetcher) RemainServices() map[string]service.ServiceStatus

func (*Fetcher) RetryHandshake

func (f *Fetcher) RetryHandshake()

func (*Fetcher) UpdateFailedToConvertServices

func (f *Fetcher) UpdateFailedToConvertServices(failed []*service.UpdateService)

func (*Fetcher) UpdateServiceProcess

func (f *Fetcher) UpdateServiceProcess()

func (*Fetcher) UpgradeClient

func (f *Fetcher) UpgradeClient(serviceId string, args map[string]interface{}) (err error)

Jump to

Keyboard shortcuts

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