constants

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package constants defines the constants used in the plugin.

Index

Constants

View Source
const (
	// PluginCode is the name of the plugin.
	PluginCode string = "MAAS"

	// ValidationTypeImage is the validation type for MAAS images
	ValidationTypeImage = "maas-image"

	// ValidationTypeUDNS is the validation type for MAAS upstream DNS
	ValidationTypeUDNS = "maas-upstream-dns"

	// ValidationTypeIDNS is the validation type for MAAS internal DNS
	ValidationTypeIDNS = "maas-internal-dns"

	// ValidationTypeResource is the validation type for MAAS resources
	ValidationTypeResource = "maas-resource"

	// ErrImageNotFound is the error message for when an image is not found
	ErrImageNotFound string = "failed to locate one or more image(s)"

	// ErrUDNSNotConfigured is the error message for when an upstream DNS server is not configured
	ErrUDNSNotConfigured string = "failed to locate one or more upstream DNS server(s)"

	// ErrIDNSNotConfigured is the error message for when an internal DNS server is not configured
	ErrIDNSNotConfigured string = "failed to locate one or more internal DNS server(s)"

	// ErrResourceNotFound is the error message for when a resource is not found
	ErrResourceNotFound string = "failed to locate one or more resource(s)"
)

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