errors

package
v0.0.0-...-1f8c1e5 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2025 License: AGPL-3.0 Imports: 1 Imported by: 3

Documentation

Index

Constants

View Source
const (
	// PublicKeyAlreadyExists indicates that the authorised key already
	// exists for the specified user.
	PublicKeyAlreadyExists = errors.ConstError("public key already exists")

	// ImportSubjectNotFound indicates that when importing public keys for a
	// subject the source of the public keys has told us that this subject
	// does not exist.
	ImportSubjectNotFound = errors.ConstError("import subject not found")

	// InvalidPublicKey indicates a problem with a public key where it
	// was unable to be understood.
	InvalidPublicKey = errors.ConstError("invalid public key")

	// ReservedCommentViolation indicates that a key contains a comment that is
	// reserved within the Juju system and cannot be used.
	ReservedCommentViolation = errors.ConstError("key contains a reserved comment")

	// UnknownImportSource indicates that an import operation cannot occur
	// because the source of the information is unknown.
	UnknownImportSource = errors.ConstError("unknown import source")
)

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