cloud

package
v0.0.0-...-f88c608 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UUID

type UUID string

UUID represents a unique id within the Juju controller for a cloud.

func NewUUID

func NewUUID() (UUID, error)

NewUUID generates a new cloud UUID

func (UUID) String

func (u UUID) String() string

String implements the stringer interface returning a string representation of the cloud UUID.

func (UUID) Validate

func (u UUID) Validate() error

Validate ensures the consistency of the uuid. If the UUID is invalid an error satisfying errors.NotValid will be returned.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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