ping

package
v0.6.40 Latest Latest
Warning

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

Go to latest
Published: May 16, 2026 License: AGPL-3.0, Apache-2.0, MIT Imports: 32 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunClusterPingerInBackgroundOrDie

func RunClusterPingerInBackgroundOrDie(ctx context.Context, pinger *Pinger, duration time.Duration)

func RunRuntimeServicePingerInBackgroundOrDie

func RunRuntimeServicePingerInBackgroundOrDie(ctx context.Context, pinger *Pinger, duration time.Duration)

Types

type HeuristicVersionSearch

type HeuristicVersionSearch func([]string) string

type Pinger

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

func New

func New(console client.Client, config *rest.Config, k8sClient ctrclient.Client, discoveryCache discoverycache.Cache, store store.Store) (*Pinger, error)

func NewOrDie

func NewOrDie(console client.Client, config *rest.Config, k8sClient ctrclient.Client, discoveryCache discoverycache.Cache, store store.Store) *Pinger

func (*Pinger) AddRuntimeServiceInfo

func (p *Pinger) AddRuntimeServiceInfo(namespace string, labels map[string]string, acc map[string]client.NamespaceVersion, heuristicVersionSearch HeuristicVersionSearch)

func (*Pinger) GetDeprecatedCustomResources

func (p *Pinger) GetDeprecatedCustomResources(ctx context.Context) []console.DeprecatedCustomResourceAttributes

func (*Pinger) PingCluster

func (p *Pinger) PingCluster() error

func (*Pinger) PingRuntimeServices

func (p *Pinger) PingRuntimeServices(ctx context.Context)

type VersionPair

type VersionPair struct {
	LatestVersion   string
	PreviousVersion string
}

Jump to

Keyboard shortcuts

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