validator

package
v1.9.4 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrOldClientVersion = fmt.Errorf("client version is older than api version, please upgrade")

Functions

func DNS1123Subdomain added in v0.9.18

func DNS1123Subdomain(cmd *cobra.Command, args []string) error

func ExecutionIDAndFileNames

func ExecutionIDAndFileNames(cmd *cobra.Command, args []string) error

func ExecutionName added in v1.7.21

func ExecutionName(cmd *cobra.Command, args []string) error

func ManifestsDirectory

func ManifestsDirectory(cmd *cobra.Command, args []string) error

func PersistentPreRunVersionCheck added in v0.10.3

func PersistentPreRunVersionCheck(cmd *cobra.Command, clientVersion string)

PersistentPreRunVersionCheck will check versions based on commands client

func TestSuiteName added in v0.9.5

func TestSuiteName(cmd *cobra.Command, args []string) error

func TrimPatchVersion added in v1.0.13

func TrimPatchVersion(version string) string

TrimPatchVersion will trim

func ValidateVersions added in v0.10.0

func ValidateVersions(apiVersionString, clientVersionString string) error

ValidateVersions will check if kubectl plugins MINOR version is greater or equal Testkube API version

Types

This section is empty.

Jump to

Keyboard shortcuts

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