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
Click to show internal directories.
Click to hide internal directories.