cmd

package
v0.0.0-...-e050086 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Version = "v0"

Version will be set with the -ldflags option at compile time

Functions

func DisruptionFromFile

func DisruptionFromFile(path string) (v1beta1.Disruption, error)

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

func PrintSeparator

func PrintSeparator()

func ReadUnmarshalValidate

func ReadUnmarshalValidate(path string) v1beta1.Disruption

func RunAllValidation

func RunAllValidation(disruption v1beta1.Disruption, rootPath string) error

RunAllValidation runs and concatenate the ddmark validation and the regular api validation

func ValidateDisruption

func ValidateDisruption(path string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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