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 ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.