macbaremetal

package
v2.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var IPRangeAny = net.IPNet{
	IP:   net.IPv4(0, 0, 0, 0),
	Mask: net.IPv4Mask(0, 0, 0, 0),
}
View Source
var ProtocolIDs = map[string]int{
	"icmp": macbaremetal.ProtocolICMP,
	"tcp":  macbaremetal.ProtocolTCP,
	"udp":  macbaremetal.ProtocolUDP,
}
View Source
var ProtocolNames = map[int]string{
	macbaremetal.ProtocolICMP: "icmp",
	macbaremetal.ProtocolTCP:  "tcp",
	macbaremetal.ProtocolUDP:  "udp",
}

Functions

This section is empty.

Types

type Device

type Device macbaremetal.Device

func (Device) Columns

func (d Device) Columns() []string

func (Device) Keys

func (d Device) Keys() []string

func (Device) String

func (d Device) String() string

func (Device) Values

func (d Device) Values() map[string]any

type DeviceAction

type DeviceAction macbaremetal.DeviceAction

func (DeviceAction) Columns

func (d DeviceAction) Columns() []string

func (DeviceAction) Keys

func (d DeviceAction) Keys() []string

func (DeviceAction) Values

func (d DeviceAction) Values() map[string]any

type DeviceCreate

type DeviceCreate = macbaremetal.DeviceCreateReq

type DeviceDelete added in v2.1.0

type DeviceDelete = macbaremetal.DeviceDeleteReq

type DeviceGet added in v2.1.0

type DeviceGet = macbaremetal.DeviceGetReq

type DeviceList added in v2.1.0

type DeviceList = core.Cursor

type DeviceRunAction

type DeviceRunAction = macbaremetal.DevicePerformReq

type DeviceUpdate

type DeviceUpdate = macbaremetal.DeviceUpdateReq

type DeviceVNC added in v2.1.0

type DeviceVNC = macbaremetal.DeviceGetReq

type DeviceWorkflow

type DeviceWorkflow macbaremetal.DeviceWorkflow

func (DeviceWorkflow) Columns

func (d DeviceWorkflow) Columns() []string

func (DeviceWorkflow) Keys

func (d DeviceWorkflow) Keys() []string

func (DeviceWorkflow) Values

func (d DeviceWorkflow) Values() map[string]any

type ElasticIP

type ElasticIP macbaremetal.ElasticIP

func (ElasticIP) Columns

func (e ElasticIP) Columns() []string

func (ElasticIP) Keys

func (e ElasticIP) Keys() []string

func (ElasticIP) String

func (e ElasticIP) String() string

func (ElasticIP) Values

func (e ElasticIP) Values() map[string]any

type ElasticIPCreate

type ElasticIPCreate = macbaremetal.ElasticIPCreateReq

type ElasticIPDelete added in v2.1.0

type ElasticIPDelete = macbaremetal.ElasticIPDeleteReq

type ElasticIPDetach added in v2.1.0

type ElasticIPList added in v2.1.0

type ElasticIPList = core.Cursor

type GenericDeviceService added in v2.1.0

func DeviceService

func DeviceService() GenericDeviceService

func (GenericDeviceService) GetVNC added in v2.1.0

func (GenericDeviceService) WorkflowList added in v2.1.0

func (d GenericDeviceService) WorkflowList(ctx context.Context, req WorkflowList) ([]DeviceWorkflow, error)

func (GenericDeviceService) WorkflowRun added in v2.1.0

func (d GenericDeviceService) WorkflowRun(ctx context.Context, req WorkflowRun) (Device, error)

type GenericElasticIPService added in v2.1.0

type GenericElasticIPService struct {
	generic.CFD[macbaremetal.ElasticIP, ElasticIP, ElasticIPCreate, ElasticIPList, ElasticIPDelete]
	// contains filtered or unexported fields
}

func ElasticIPService

func ElasticIPService() GenericElasticIPService

func (GenericElasticIPService) Attach added in v2.1.0

func (GenericElasticIPService) Detach added in v2.1.0

type GenericNetworkInterfaceService added in v2.1.0

type GenericNetworkInterfaceService struct {
	generic.ListService[NetworkInterfaceList, macbaremetal.NetworkInterface, NetworkInterface]
	// contains filtered or unexported fields
}

func NetworkInterfaceService

func NetworkInterfaceService() GenericNetworkInterfaceService

func (GenericNetworkInterfaceService) UpdateSecurityGroup added in v2.1.0

type Network

type Network macbaremetal.Network

func (Network) Columns

func (n Network) Columns() []string

func (Network) Keys

func (n Network) Keys() []string

func (Network) String

func (n Network) String() string

func (Network) Values

func (n Network) Values() map[string]any

type NetworkCreate

type NetworkCreate = macbaremetal.NetworkCreateReq

type NetworkDelete added in v2.1.0

type NetworkDelete = macbaremetal.NetworkDeleteReq

type NetworkGet added in v2.1.0

type NetworkGet = macbaremetal.NetworkGetReq

type NetworkInterface

type NetworkInterface macbaremetal.NetworkInterface

func (NetworkInterface) Columns

func (n NetworkInterface) Columns() []string

func (NetworkInterface) Keys

func (n NetworkInterface) Keys() []string

func (NetworkInterface) Values

func (n NetworkInterface) Values() map[string]any

type NetworkInterfaceList added in v2.1.0

type NetworkInterfaceList = macbaremetal.NetworkInterfaceListReq

type NetworkList added in v2.1.0

type NetworkList = core.Cursor

type NetworkUpdate

type NetworkUpdate = macbaremetal.NetworkUpdateReq

type Router

type Router macbaremetal.Router

func (Router) Columns

func (r Router) Columns() []string

func (Router) Keys

func (r Router) Keys() []string

func (Router) Values

func (r Router) Values() map[string]any

type RouterGet added in v2.1.0

type RouterGet = macbaremetal.RouterGetReq

type RouterList added in v2.1.0

type RouterList = core.Cursor

type RouterUpdate

type RouterUpdate = macbaremetal.RouterUpdateReq

type SecurityGroup

type SecurityGroup macbaremetal.SecurityGroup

func (SecurityGroup) Columns

func (s SecurityGroup) Columns() []string

func (SecurityGroup) Keys

func (s SecurityGroup) Keys() []string

func (SecurityGroup) String

func (s SecurityGroup) String() string

func (SecurityGroup) Values

func (s SecurityGroup) Values() map[string]any

type SecurityGroupCreate

type SecurityGroupCreate = macbaremetal.SecurityGroupCreateReq

type SecurityGroupDelete added in v2.1.0

type SecurityGroupDelete = macbaremetal.SecurityGroupDeleteReq

type SecurityGroupGet added in v2.1.0

type SecurityGroupGet = macbaremetal.SecurityGroupGetReq

type SecurityGroupList added in v2.1.0

type SecurityGroupList = core.Cursor

type SecurityGroupRule

type SecurityGroupRule macbaremetal.SecurityGroupRule

func (SecurityGroupRule) Columns

func (s SecurityGroupRule) Columns() []string

func (SecurityGroupRule) Keys

func (s SecurityGroupRule) Keys() []string

func (SecurityGroupRule) Values

func (s SecurityGroupRule) Values() map[string]any

type SecurityGroupRuleDelete added in v2.1.0

type SecurityGroupRuleDelete = macbaremetal.SecurityGroupRuleDeleteReq

type SecurityGroupRuleList added in v2.1.0

type SecurityGroupRuleList = macbaremetal.SecurityGroupRuleListReq

type SecurityGroupUpdate

type SecurityGroupUpdate = macbaremetal.SecurityGroupUpdateReq

type VNCConnection added in v2.1.0

type VNCConnection = macbaremetal.DeviceVNCConnection

type WorkflowList added in v2.1.0

type WorkflowList = macbaremetal.DeviceWorkflowListReq

type WorkflowRun added in v2.1.0

type WorkflowRun = macbaremetal.DeviceWorkflowRunReq

Jump to

Keyboard shortcuts

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