tools

package
v0.0.0-...-3ba4e27 Latest Latest
Warning

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

Go to latest
Published: May 22, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckDeployment

func CheckDeployment(namespace, name string) (bool, error)

func CheckPods

func CheckPods() (bool, error)

func CheckPort

func CheckPort(port int) (bool, error)

func CheckSVC

func CheckSVC(svcName string) (bool, error)

func DoTrace

func DoTrace(host string) bool

func GetHostname

func GetHostname(inputUrl string) string

func GetIngress

func GetIngress() (bool, error)

func HasPing

func HasPing(host string) bool

func ResolveDNS

func ResolveDNS(domain string) (string, error)

func ValidateURL

func ValidateURL(inUrl string) bool

Types

type Config

type Config struct {
	CurrentContext string
	Contexts       clientcmdapi.Context
	Clusters       clientcmdapi.Cluster
	Users          clientcmdapi.AuthInfo
}

func ReadConfig

func ReadConfig(filePath string) (*Config, error)

Jump to

Keyboard shortcuts

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