oneview

package
v0.0.0-...-28ada1f Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateServerProfile

func CreateServerProfile(sptName, spName string) error

CreateServerProfile creates server profile using template

func DeleteServerProfile

func DeleteServerProfile(spName string) error

DeleteServerProfile delete the server profile

func GetAllServerHardwareDetails

func GetAllServerHardwareDetails() (ov.ServerHardwareList, error)

GetAllServerHardwareDetails returns all server hardware details

func GetAllServerProfileDetails

func GetAllServerProfileDetails() (ov.ServerProfileList, error)

GetAllServerProfileDetails returns all server profile details

func GetAllServerTemplateDetails

func GetAllServerTemplateDetails() (ov.ServerProfileList, error)

GetAllServerTemplateDetails returns all server template details

func GetServerHardwareByName

func GetServerHardwareByName(name string) (ov.ServerHardware, error)

GetServerHardwareByName returns server hardware by name

func GetServerProfileByName

func GetServerProfileByName(name string) (ov.ServerProfile, error)

GetServerProfileByName returns server profile by name

func GetServerTemplateByName

func GetServerTemplateByName(name string) (ov.ServerProfile, error)

GetServerTemplateByName returns server template by name

func UpdatePowerState

func UpdatePowerState(name, newPowerState string) error

UpdatePowerState toggle the power state of the given srever

Types

type ClientOV

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

ClientOV struct holds ov client

func GetOVClient

func GetOVClient() *ClientOV

GetOVClient returns the ov client

Jump to

Keyboard shortcuts

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