Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterInfo ¶
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(spLogger klog.Logger) string
type ServiceInfo ¶
type ServiceInfo types.NamespacedName
func NewServiceInfo ¶
func NewServiceInfo(namespace, resourceName string) ServiceInfo
Click to show internal directories.
Click to hide internal directories.