Documentation ¶
Index ¶
- func ValidateConfig(fldPath *field.Path, config tmv1beta1.ConfigElement) field.ErrorList
- func ValidateConfigList(fldPath *field.Path, configs []tmv1beta1.ConfigElement) field.ErrorList
- func ValidateKubeconfig(fldPath *field.Path, kubeconfig *strconf.StringOrConfig) field.ErrorList
- func ValidateKubeconfigs(fldPath *field.Path, kubeconfigs tmv1beta1.TestrunKubeconfigs) field.ErrorList
- func ValidateLabelName(fldPath *field.Path, label string) field.ErrorList
- func ValidateLocationSet(fldPath *field.Path, set tmv1beta1.LocationSet) field.ErrorList
- func ValidateLocationSets(fldPath *field.Path, sets []tmv1beta1.LocationSet) field.ErrorList
- func ValidateLocations(fldPath *field.Path, spec tmv1beta1.TestrunSpec) field.ErrorList
- func ValidateName(fldPath *field.Path, name string) field.ErrorList
- func ValidateStep(fldPath *field.Path, definition tmv1beta1.StepDefinition) field.ErrorList
- func ValidateTestDefinition(fldPath *field.Path, td *tmv1beta1.TestDefinition) field.ErrorList
- func ValidateTestFlow(fldPath *field.Path, testflow tmv1beta1.TestFlow) field.ErrorList
- func ValidateTestLocation(fldPath *field.Path, l tmv1beta1.TestLocation) field.ErrorList
- func ValidateTestLocations(fldPath *field.Path, l []tmv1beta1.TestLocation) field.ErrorList
- func ValidateTestrun(tr *tmv1beta1.Testrun) error
- func ValidateTestrunSpec(spec tmv1beta1.TestrunSpec) field.ErrorList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateConfig ¶
ValidateConfig validates a testrun config element.
func ValidateConfigList ¶
ValidateConfigList validates a list of configurations.
func ValidateKubeconfig ¶
ValidateKubeconfig validates a kubeconfig definition.
func ValidateKubeconfigs ¶
func ValidateKubeconfigs(fldPath *field.Path, kubeconfigs tmv1beta1.TestrunKubeconfigs) field.ErrorList
ValidateKubeconfigs validates all testrun kubeconfigs
func ValidateLabelName ¶
ValidateLabelName validates the TestDefinition label string. label starting with "!" are not valid as this is considered to mean exclude label
func ValidateLocationSet ¶
ValidateLocationSet validates a location set.
func ValidateLocationSets ¶
ValidateLocationSets validates a list of locationsets.
func ValidateLocations ¶
ValidateLocations validates testlocations.
func ValidateName ¶
ValidateName validates the TestDefinition name. Therefore Kubernetes naming conventions and elasticsearch naming is considered. es conform: must not contain the #, \, /, *, ?, ", <, >, |, , must not start with _, - or + must no be . or .. must be lowercase
func ValidateStep ¶
ValidateStep validates a step definition
func ValidateTestDefinition ¶
ValidateTestDefinition validates a testdefinition.
func ValidateTestFlow ¶
ValidateTestFlow validates the structure of a testflow.
func ValidateTestLocation ¶
ValidateTestLocation validates a test location of a testrun
func ValidateTestLocations ¶
ValidateTestLocations validates the deprecated test locations.
func ValidateTestrun ¶
ValidateTestrun validates a testrun.
func ValidateTestrunSpec ¶
func ValidateTestrunSpec(spec tmv1beta1.TestrunSpec) field.ErrorList
ValidateTestrunSpec validates a testrun spec
Types ¶
This section is empty.