errors

package
v1.0.76 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2021 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

View Source
const AttachNetworkPortOperationFailed = "failed to perform Attach Network Port Operation for Port %s to Network %s with error %v"
View Source
const AttachVolumeOperationFailed = "failed to perform the Attach volume Operation for volume  %s  with error  %v"
View Source
const CreateCloneOperationFailed = "failed to perform the create clone operation %v"
View Source
const CreateCloudConnectionOperationFailed = "failed to perform Create Cloud Connection Operation for powerinstanceid %s with error %v"
View Source
const CreateImageOperationFailed = "failed to perform Create Image Operation for powerinstanceid %s with error  %v"
View Source
const CreateNetworkOperationFailed = "failed to perform Create Network Operation for Network %s with error %v"
View Source
const CreateNetworkPortOperationFailed = "failed to perform Create Network Port Operation for Network %s with error %v"
View Source
const CreatePIKeyOperationFailed = "failed to Create PI Key %s with error %v"
View Source
const CreatePlacementGroupOperationFailed = "failed to perform Create Placement Group Operation for powerinstanceid %s with error  %v"
View Source
const CreateVolumeOperationFailed = "failed to perform the Create volume Operation for volume  %s with  error %v"
View Source
const CreateVolumeV2OperationFailed = "failed to perform the Create volume Operation V2 for volume  %s  with error  %v"
View Source
const DeleteCloneOperationFailed = "failed to perform Delete operation %v"
View Source
const DeleteCloudConnectionOperationFailed = "failed to perform Delete Cloud Connection Operation for cloudconnectionid  %s with error %v"
View Source
const DeleteCloudInstanceOperationFailed = "failed to delete the Cloud instance %s with error %v"
View Source
const DeleteJobsOperationFailed = "failed to perform delete Job operation for job id %s with error %v"
View Source
const DeleteMemberPlacementGroupOperationFailed = "failed to perform Delete Placement Group Operation for powerinstanceid  %s and placement group %s with error %v"
View Source
const DeletePIKeyOperationFailed = "failed to Delete PI Key %s with error %v"
View Source
const DeletePlacementGroupOperationFailed = "failed to perform Delete Placement Group Operation for placement group %s with error %v"
View Source
const DeleteVolumeOperationFailed = "failed to perform Delete Volume Operation for volume %s with error %v"

start of Volume Messages

View Source
const GetAllJobsOperationFailed = "failed to perform get all jobs operation with error %v"
View Source
const GetCloneOperationFailed = "failed to get the volumes-clone for the power instanceid  %s with error %v"
View Source
const GetCloudConnectionOperationFailed = "failed to perform Get Cloud Connections Operation for cloudconnectionid %s with error %v"
View Source
const GetCloudInstanceOperationFailed = "failed to Get Cloud Instance %s with error %v"

start of Cloud Instance Messages

View Source
const GetImageOperationFailed = "failed to perform Get Image Operation for image  %s with error %v"
View Source
const GetJobOperationFailed = "failed to perform get Job operation for job id %s with error %v"

start of Job Messages

View Source
const GetNetworkOperationFailed = "failed to perform Get Network  Operation for Network id %s with error %v"

Start of Network Messages

View Source
const GetPIKeyOperationFailed = "failed to Get PI Key %s with error %v"

start of PI Key Messages

View Source
const GetPlacementGroupOperationFailed = "failed to perform Get Placement Group Operation for placement group  %s with error %v"
View Source
const GetSystemPoolsOperationFailed = "failed to perform Get System Pools Operation for powerinstanceid %s with error %v"

start of System-Pools Messages

View Source
const GetVolumeOperationFailed = "failed to perform the Get Volume Operation for volume  %s with error %v"
View Source
const PrepareCloneOperationFailed = "failed to prepare the clone operation for %v"
View Source
const StartCloneOperationFailed = "failed to start the clone operation for %v"

start of Clone Messages

View Source
const UpdateCloudConnectionOperationFailed = "failed to perform Update Cloud Connection Operation for cloudconnectionid  %s with error %v"
View Source
const UpdateCloudInstanceOperationFailed = "failed to update the Cloud instance %s with error %v"
View Source
const UpdatePlacementGroupOperationFailed = "failed to perform Update Placement Group Operation for powerinstanceid  %s and placement group %s with error %v"
View Source
const UpdateVolumeOperationFailed = "failed to perform Update Volume Operation for volume %s with error %v"

Variables

This section is empty.

Functions

func ToError

func ToError(err error) error

ToError ...

Types

type Error

type Error struct {
	Payload *models.Error
}

PowerError ...

func (Error) Error

func (e Error) Error() string

type ErrorTarget

type ErrorTarget struct {
	Name string
	Type string
}

ErrorTarget ...

type SingleError

type SingleError struct {
	Code     string
	Message  string
	MoreInfo string
	Target   ErrorTarget
}

SingleError ...

Jump to

Keyboard shortcuts

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