prober

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Auth

type Auth struct {
	Username string
	Password string
}

type ProberClient

type ProberClient interface {
	Ready(ctx context.Context) (bool, error)
	GetSeeds(ctx context.Context, host string) ([]string, error)
	UpdateSeeds(ctx context.Context, seeds []string) error
	GetDCs(ctx context.Context, host string) ([]v1alpha1.DC, error)
	UpdateDCs(ctx context.Context, dcs []v1alpha1.DC) error
	UpdateRegionStatus(ctx context.Context, ready bool) error
	RegionReady(ctx context.Context, host string) (bool, error)
	ReaperReady(ctx context.Context, host string) (bool, error)
	UpdateReaperStatus(ctx context.Context, ready bool) error
	GetRegionIPs(ctx context.Context, host string) ([]string, error)
	UpdateRegionIPs(ctx context.Context, ips []string) error
	GetReaperIPs(ctx context.Context, host string) ([]string, error)
	UpdateReaperIPs(ctx context.Context, ips []string) error
}

func NewProberClient

func NewProberClient(url *url.URL, client *http.Client, user, password string) ProberClient

Jump to

Keyboard shortcuts

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