dell

package
v0.0.0-...-b8e83fa Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package dell wraps the standard Redfish client in order to provide additional functionality required to perform actions on iDRAC servers.

Index

Constants

View Source
const (
	// ClientType is used by other packages as the identifier of the Redfish client.
	ClientType = "redfish-dell"
)

Variables

View Source
var ClientFactory ifc.ClientFactory = func(nodeName, redfishURL string,
	insecure bool,
	useProxy bool,
	username string,
	password string,
	systemActionRetries int,
	systemRebootDelay int) (ifc.Client, error) {
	return newClient(nodeName, redfishURL, insecure, useProxy,
		username, password, systemActionRetries, systemRebootDelay)
}

ClientFactory is a constructor for redfish ifc.Client implementation

Functions

This section is empty.

Types

type Client

type Client struct {
	redfish.Client
	RedfishAPI redfishAPI.RedfishAPI
	RedfishCFG *redfishClient.Configuration
	// contains filtered or unexported fields
}

Client is a wrapper around the standard airshipctl Redfish client. This allows vendor specific Redfish clients to override methods without duplicating the entire client.

func (*Client) RemoteDirect

func (c *Client) RemoteDirect(ctx context.Context, isoURL string) error

RemoteDirect implements remote direct interface

func (*Client) SetBootSourceByType

func (c *Client) SetBootSourceByType(ctx context.Context) error

SetBootSourceByType sets the boot source of the ephemeral node to a virtual CD, "VCD-DVD".

Jump to

Keyboard shortcuts

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