validate

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2021 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Overview

Package validation implements functions to validate devctl plugin types.

Index

Constants

View Source
const CurrentAPIVersion = "alexheld.io/devctl/v1alpha1"
View Source
const PluginKind = "Plugin"

Variables

This section is empty.

Functions

func IsSafePluginName

func IsSafePluginName(name string) bool

IsSafePluginName checks if the plugin Name is safe to use.

func ValidatePlugin

func ValidatePlugin(name string, p spec.Plugin) error

ValidatePlugin checks for structural validity of the Plugin object with given name.

Types

This section is empty.

Jump to

Keyboard shortcuts

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