validator

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: May 22, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateConfig

func ValidateConfig(config *models.Configuration) bool

ValidateConfig return true if provided configuration is valid

func ValidateEmail added in v1.3.0

func ValidateEmail(config *models.Configuration) bool

func ValidateMinimumCommentSeverity

func ValidateMinimumCommentSeverity(config *models.Configuration) bool

ValidateMinimumCommentSeverity returns true if the minimum_comment_severity option is one of the valid values:

  • ""
  • LOW / low
  • MEDIUM / medium
  • HIGH / high
  • CRITICAL / critical

func ValidateSecrets added in v1.4.0

func ValidateSecrets(config *models.Configuration) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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