healthcheck

package
v1.26.0 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterInfo

type ClusterInfo struct {
	Name     string
	Location string
	Regional bool
}

type HealthcheckConfig

type HealthcheckConfig string
const (
	DefaultHC        HealthcheckConfig = "Default"
	ReadinessProbeHC HealthcheckConfig = "ReadinessProbe"
	BackendConfigHC  HealthcheckConfig = "BackendConfig"
	TransparentHC    HealthcheckConfig = "TransparentHC"
)

type HealthcheckDesc

type HealthcheckDesc struct {
	K8sCluster  string            `json:"k8sCluster,omitempty"`
	K8sResource string            `json:"k8sResource,omitempty"`
	Config      HealthcheckConfig `json:"config,omitempty"`
}

type HealthcheckInfo

type HealthcheckInfo struct {
	ClusterInfo
	ServiceInfo
	HealthcheckConfig
}

func (*HealthcheckInfo) GenerateHealthcheckDescription

func (i *HealthcheckInfo) GenerateHealthcheckDescription() string

type ServiceInfo

type ServiceInfo types.NamespacedName

func NewServiceInfo

func NewServiceInfo(namespace, resourceName string) ServiceInfo

Jump to

Keyboard shortcuts

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