probe

package
v0.0.0-...-3f646dd Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsSLAAC

func IsSLAAC(ip string) bool

IsSLAAC checks if the given IPv6 address is a SLAAC address.

Types

type Agent

type Agent struct {
	SystemUUID  string
	RegistryURL string
	Duration    time.Duration
	Server      *registry.Server // Pointer to Server for late initialization.
}

func NewAgent

func NewAgent(systemUUID, registryURL string, duration time.Duration) *Agent

NewAgent creates a new Agent with the specified system UUID and registry URL.

func (*Agent) Init

func (a *Agent) Init() error

Init initializes the Agent's Server field with network interface data.

func (*Agent) Start

func (a *Agent) Start(ctx context.Context) error

Start begins the periodic registration process.

Jump to

Keyboard shortcuts

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