bmconsole

package
v0.0.0-...-6410feb Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	IDRAC9_LOGIN_URL     = "/sysmgmt/2015/bmc/session"
	IDRAC9_VCONSOLE_JAVA = "/sysmgmt/2015/server/vconsole?type=Java"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type SBMCConsole

type SBMCConsole struct {
	// contains filtered or unexported fields
}

func NewBMCConsole

func NewBMCConsole(host, username, password string, isDebug bool) *SBMCConsole

func (*SBMCConsole) GetIdrac6ConsoleJNLP

func (r *SBMCConsole) GetIdrac6ConsoleJNLP(ctx context.Context, sku, model string) (string, error)

func (*SBMCConsole) GetIdrac7ConsoleJNLP

func (r *SBMCConsole) GetIdrac7ConsoleJNLP(ctx context.Context, sku, model string) (string, error)

func (*SBMCConsole) GetIdrac9ConsoleJNLP

func (r *SBMCConsole) GetIdrac9ConsoleJNLP(ctx context.Context) (string, error)

func (*SBMCConsole) GetIdracConsoleJNLP

func (r *SBMCConsole) GetIdracConsoleJNLP(ctx context.Context, sku, model string) (string, error)

func (*SBMCConsole) GetIloConsoleJNLP

func (r *SBMCConsole) GetIloConsoleJNLP(ctx context.Context) (string, error)

func (*SBMCConsole) GetLenovoConsoleJNLP

func (r *SBMCConsole) GetLenovoConsoleJNLP(ctx context.Context) (string, error)

func (*SBMCConsole) GetSupermicroConsoleJNLP

func (r *SBMCConsole) GetSupermicroConsoleJNLP(ctx context.Context) (string, error)

func (*SBMCConsole) RawRequest

func (r *SBMCConsole) RawRequest(ctx context.Context, method httputils.THttpMethod, path string, header http.Header, body []byte) (http.Header, []byte, error)

Jump to

Keyboard shortcuts

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