macdb

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2026 License: Apache-2.0 Imports: 1 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Console

type Console struct {
	// Type is the type of the console
	Type string `json:"type"`
	// Port is the port of the console
	Port int32 `json:"port"`
}

Console is a struct that contains the type and port of the console

type Credential

type Credential struct {
	// Username is the username
	Username string `json:"username"`
	// Password is the password
	Password string `json:"password"`
}

Credential is a struct that contains the username and password

type MacPrefix

type MacPrefix struct {
	// MacPrefix is the mac prefix
	MacPrefix string `json:"macPrefix"`
	// Manufacturer is the manufacturer
	Manufacturer string `json:"manufacturer"`
	// Protocol is the protocol
	Protocol string `json:"protocol"`
	// ProtocolScheme is the protocol scheme (http, https)
	ProtocolScheme metalv1alpha1.ProtocolScheme `json:"protocolScheme,omitempty"`
	// Port is the port
	Port int32 `json:"port"`
	// Type is the type
	Type string `json:"type"`
	// DefaultCredentials is the default credentials
	DefaultCredentials []Credential `json:"defaultCredentials"`
	// Console is the console
	Console Console `json:"console,omitempty"`
}

MacPrefix is a struct that contains the mac prefix, manufacturer, protocol, protocol scheme, port, type, default credentials and console

type MacPrefixes

type MacPrefixes struct {
	// MacPrefixes is a list of MacPrefix
	MacPrefixes []MacPrefix `json:"macPrefixes"`
}

MacPrefixes is a list of MacPrefix

Jump to

Keyboard shortcuts

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