errors

package
v0.0.0-...-0a82276 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2024 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// MachineNotFound describes an error that occurs when the machine being
	// operated on does not exist.
	MachineNotFound = errors.ConstError("machine not found")

	// AvailabilityZoneNotFound describes an error that occurs when the required
	// availability zone does not exist.
	AvailabilityZoneNotFound = errors.ConstError("availability zone not found")

	// NotProvisioned describes an error that occurs when the machine being
	// operated on is not provisioned yet.
	NotProvisioned = errors.ConstError("machine not provisioned")

	// StatusNotSet describes an error that occurs when the status of a machine
	// or a cloud instance is not set yet.
	StatusNotSet = errors.ConstError("status not set")

	// InvalidStatus describes a status that is not valid
	InvalidStatus = errors.ConstError("invalid status")

	// GrandParentNotSupported describes an error that occurs when the operation
	// found a grandparent machine, as it is not currently supported.
	GrandParentNotSupported = errors.ConstError("grandparent machine are not supported currently")

	// MachineAlreadyExists describes an error that occurs when creating a
	// machine if a machine with the same name already exists.
	MachineAlreadyExists = errors.ConstError("machine already exists")

	// MachineHasNoParent describes an error that occurs when a machine has no
	// parent.
	MachineHasNoParent = errors.ConstError("machine has no parent")

	// MachineCloudInstanceAlreadyExists describes an error that occurs
	// when adding cloud instance on a machine that already exists.
	MachineCloudInstanceAlreadyExists = errors.ConstError("machine cloud instance already exists")
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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