registry

package
v0.0.0-...-0083734 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2025 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NetworkInterface

type NetworkInterface struct {
	Name       string `json:"name"`
	IPAddress  string `json:"ipAddress"`
	MACAddress string `json:"macAddress"`
}

NetworkInterface represents a network interface on a server, including its IP and MAC addresses.

type RegistrationPayload

type RegistrationPayload struct {
	SystemUUID string `json:"systemUUID"`
	Data       Server `json:"data"`
}

RegistrationPayload represents the payload to send to the `/register` endpoint, including the systemUUID and the server details.

type Server

type Server struct {
	NetworkInterfaces []NetworkInterface `json:"networkInterfaces,omitempty"`
}

Server represents a server with a list of network interfaces.

Jump to

Keyboard shortcuts

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