validate

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2025 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CustomHost

func CustomHost(CustomHost string) error

CustomHost validates IP address or hostname

func EnvironmentExistsDocker

func EnvironmentExistsDocker(name string) error

EnvironmentExistsDocker checks that Docker environment exists

func EnvironmentExistsK8s

func EnvironmentExistsK8s(name string) error

EnvironmentExistsK8s checks that Kubernetes environment exists

func EnvironmentNotExistDocker

func EnvironmentNotExistDocker(name string) error

EnvironmentNotExistDocker checks that Docker environment doesn't exist

func EnvironmentNotExistK8s

func EnvironmentNotExistK8s(name string) error

EnvironmentNotExistK8s checks that Kubernetes environment doesn't exist

func IsFile

func IsFile(path string) error

IsFile validates that path is an existing file

func Name

func Name(name string) error

Name validates environment name

func PathExists

func PathExists(path string) error

PathExists validates that path is an existing directory

Types

This section is empty.

Jump to

Keyboard shortcuts

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