validation

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2023 License: MIT Imports: 7 Imported by: 1

Documentation

Overview

Package validation implements functions to validate Srew plugin types.

Index

Constants

This section is empty.

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 index.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