checks

package
v1.4.6 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2020 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckBondNetworkInterface added in v1.3.4

func CheckBondNetworkInterface() error

func CheckChrony added in v1.3.5

func CheckChrony() error

func CheckDnsInPod

func CheckDnsInPod() error

func CheckDnsNslookupOnKubernetes

func CheckDnsNslookupOnKubernetes() error

func CheckDnsServiceNode

func CheckDnsServiceNode() error

func CheckDockerPool

func CheckDockerPool(okSize int) error

func CheckEtcdHealth

func CheckEtcdHealth(etcdIps string, etcdCertPath string) error

func CheckExternalSystem

func CheckExternalSystem(url string) error

func CheckFileSslCertificates added in v1.3.0

func CheckFileSslCertificates(filePaths []string, days int) error

func CheckGlusterStatus

func CheckGlusterStatus() error

func CheckHawcularHealth

func CheckHawcularHealth(ip string) error

func CheckHttpHaProxy

func CheckHttpHaProxy(publicUrl string, slow bool) error

func CheckHttpService

func CheckHttpService(slow bool) error

func CheckIfGlusterdIsRunning added in v1.1.5

func CheckIfGlusterdIsRunning() error

func CheckKubeSslCertificates added in v1.3.3

func CheckKubeSslCertificates(kubePaths []string, days int) error

func CheckLVPoolSizes added in v1.0.6

func CheckLVPoolSizes(okSize int) error

func CheckLimitsAndQuota added in v1.4.3

func CheckLimitsAndQuota(allowedWithoutLimits int, allowedWithoutQuota int) error

func CheckLoggingRestartsCount

func CheckLoggingRestartsCount() error

func CheckMasterApis

func CheckMasterApis(urls string) error

func CheckMountPointSizes added in v1.1.5

func CheckMountPointSizes(okSize int) error

func CheckNtpd

func CheckNtpd() error

func CheckOcGetNodes

func CheckOcGetNodes(buildNodes bool) error

func CheckOcGetNodesRelaxed added in v1.4.0

func CheckOcGetNodesRelaxed() error

func CheckOpenFileCount

func CheckOpenFileCount() error

func CheckPodHttpAtoB

func CheckPodHttpAtoB() error

func CheckPodHttpAtoC

func CheckPodHttpAtoC(slow bool) error

func CheckRegistryHealth

func CheckRegistryHealth(ip string) error

func CheckRouterHealth

func CheckRouterHealth(ip string) error

func CheckRouterRestartCount

func CheckRouterRestartCount() error

func CheckUrlSslCertificates added in v1.3.0

func CheckUrlSslCertificates(urls []string, days int) error

func CheckVGSizes added in v1.0.6

func CheckVGSizes(okSize int) error

Types

type Cert added in v1.3.0

type Cert struct {
	File     string
	DaysLeft int
}

type KubeConfig added in v1.3.0

type KubeConfig struct {
	APIVersion string `yaml:"apiVersion"`
	Clusters   []struct {
		Cluster struct {
			CertificateAuthorityData string `yaml:"certificate-authority-data"`
			Server                   string `yaml:"server"`
		} `yaml:"cluster"`
		Name string `yaml:"name"`
	} `yaml:"clusters"`
	Contexts []struct {
		Context struct {
			Cluster   string `yaml:"cluster"`
			Namespace string `yaml:"namespace"`
			User      string `yaml:"user"`
		} `yaml:"context"`
		Name string `yaml:"name"`
	} `yaml:"contexts"`
	CurrentContext string `yaml:"current-context"`
	Kind           string `yaml:"kind"`
	Preferences    struct {
	} `yaml:"preferences"`
	Users []struct {
		Name string `yaml:"name"`
		User struct {
			ClientCertificateData string `yaml:"client-certificate-data"`
			ClientKeyData         string `yaml:"client-key-data"`
		} `yaml:"user"`
	} `yaml:"users"`
}

Jump to

Keyboard shortcuts

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