Documentation
¶
Index ¶
- Constants
- type BootSourceOverrideEnabled
- type BootSourceOverrideTarget
- type Client
- func (s *Client) Get(url string, target interface{}) error
- func (s *Client) GetManagerById(id string) (manager Manager, err error)
- func (s *Client) GetSystem(url string) (*System, error)
- func (s *Client) GetSystems() ([]System, error)
- func (s *Client) Patch(url string, patch interface{}) error
- func (s *Client) Post(url string, body interface{}) error
- type ClientConfig
- type ComputerSystemBoot
- type ComputerSystemLinks
- type Manager
- type MediaType
- type OdataId
- type ResetBody
- type ResetType
- type System
Constants ¶
View Source
const ( BootSourceCD BootSourceOverrideTarget = "Cd" BootSourcePXE BootSourceOverrideTarget = "Pxe" BootSourceEnabledContinuous BootSourceOverrideEnabled = "Continuous" BootSourceEnabledDisabled BootSourceOverrideEnabled = "Disabled" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BootSourceOverrideEnabled ¶
type BootSourceOverrideEnabled string
type BootSourceOverrideTarget ¶
type BootSourceOverrideTarget string
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func NewClient ¶
func NewClient(c ClientConfig) *Client
func (*Client) GetManagerById ¶
func (*Client) GetSystems ¶
type ClientConfig ¶
type ComputerSystemBoot ¶
type ComputerSystemLinks ¶
type System ¶
type System struct { Name string UUID string Boot bootStructOverrideBoot // contains filtered or unexported fields }
func (*System) InsertVirtualMedia ¶
func (*System) SetBootSourceOverride ¶
func (s *System) SetBootSourceOverride(target BootSourceOverrideTarget, enabled BootSourceOverrideEnabled) error
Click to show internal directories.
Click to hide internal directories.