Documentation ¶
Index ¶
- Variables
- func CheckCronScheduleIsValid(schedule string) (bool, error)
- func GetAnalyzerMap() (map[string]common.IAnalyzer, map[string]common.IAnalyzer)
- func ListFilters() ([]string, []string, []string)
- type CronJobAnalyzer
- type DeploymentAnalyzer
- type DeploymentInfo
- type GatewayAnalyzer
- type GatewayClassAnalyzer
- type HTTPRouteAnalyzer
- type HpaAnalyzer
- type IngressAnalyzer
- type LogAnalyzer
- type MutatingWebhookAnalyzer
- type NetworkPolicyAnalyzer
- type NodeAnalyzer
- type PdbAnalyzer
- type PodAnalyzer
- type PodInfo
- type PvcAnalyzer
- type ReplicaSetAnalyzer
- type ReplicaSetInfo
- type ReplicationControllerInfo
- type ServiceAnalyzer
- type StatefulSetAnalyzer
- type StatefulSetInfo
- type ValidatingWebhookAnalyzer
Constants ¶
This section is empty.
Variables ¶
View Source
var ( AnalyzerErrorsMetric = promauto.NewGaugeVec(prometheus.GaugeOpts{ Name: "analyzer_errors", Help: "Number of errors detected by analyzer", }, []string{"analyzer_name", "object_name", "namespace"}) )
Functions ¶
func CheckCronScheduleIsValid ¶ added in v0.2.2
Check CRON schedule format
func GetAnalyzerMap ¶ added in v0.2.0
func ListFilters ¶ added in v0.1.5
Types ¶
type CronJobAnalyzer ¶ added in v0.2.2
type CronJobAnalyzer struct{}
type DeploymentAnalyzer ¶ added in v0.2.2
type DeploymentAnalyzer struct { }
DeploymentAnalyzer is an analyzer that checks for misconfigured Deployments
type DeploymentInfo ¶ added in v0.2.4
type DeploymentInfo struct {
*appsv1.Deployment
}
func (DeploymentInfo) GetPodSpec ¶ added in v0.2.4
func (d DeploymentInfo) GetPodSpec() corev1.PodSpec
type GatewayAnalyzer ¶ added in v0.3.23
type GatewayAnalyzer struct{}
type GatewayClassAnalyzer ¶ added in v0.3.23
type GatewayClassAnalyzer struct{}
type HTTPRouteAnalyzer ¶ added in v0.3.23
type HTTPRouteAnalyzer struct{}
type HpaAnalyzer ¶ added in v0.1.8
type HpaAnalyzer struct{}
type IngressAnalyzer ¶ added in v0.1.8
type IngressAnalyzer struct{}
type LogAnalyzer ¶ added in v0.3.21
type LogAnalyzer struct { }
type MutatingWebhookAnalyzer ¶ added in v0.3.10
type MutatingWebhookAnalyzer struct{}
type NetworkPolicyAnalyzer ¶ added in v0.2.2
type NetworkPolicyAnalyzer struct{}
type NodeAnalyzer ¶ added in v0.2.3
type NodeAnalyzer struct{}
type PdbAnalyzer ¶ added in v0.1.8
type PdbAnalyzer struct{}
type PodAnalyzer ¶ added in v0.1.8
type PodAnalyzer struct { }
type PvcAnalyzer ¶ added in v0.1.8
type PvcAnalyzer struct{}
type ReplicaSetAnalyzer ¶ added in v0.1.8
type ReplicaSetAnalyzer struct{}
type ReplicaSetInfo ¶ added in v0.2.4
type ReplicaSetInfo struct {
*appsv1.ReplicaSet
}
define a structure for ReplicaSet
func (ReplicaSetInfo) GetPodSpec ¶ added in v0.2.4
func (rs ReplicaSetInfo) GetPodSpec() corev1.PodSpec
type ReplicationControllerInfo ¶ added in v0.2.4
type ReplicationControllerInfo struct {
*corev1.ReplicationController
}
define a structure for ReplicationController
func (ReplicationControllerInfo) GetPodSpec ¶ added in v0.2.4
func (rc ReplicationControllerInfo) GetPodSpec() corev1.PodSpec
type ServiceAnalyzer ¶ added in v0.1.8
type ServiceAnalyzer struct{}
type StatefulSetAnalyzer ¶ added in v0.2.1
type StatefulSetAnalyzer struct{}
type StatefulSetInfo ¶ added in v0.2.4
type StatefulSetInfo struct {
*appsv1.StatefulSet
}
define a structure for StatefulSet
func (StatefulSetInfo) GetPodSpec ¶ added in v0.2.4
func (ss StatefulSetInfo) GetPodSpec() corev1.PodSpec
implement PodInfo for StatefulSetInfo
type ValidatingWebhookAnalyzer ¶ added in v0.3.10
type ValidatingWebhookAnalyzer struct{}
Click to show internal directories.
Click to hide internal directories.