Documentation ¶
Index ¶
Constants ¶
const (
CheckExternalNetworkName = "CheckExternalNetwork"
)
const (
CheckNodeNetworkName = "CheckNodeNetwork"
)
const (
CheckPodNetworkName = "CheckPodNetwork"
)
const (
CheckServiceNetworkName = "CheckServiceNetwork"
)
const (
CollectNetworkInfoName = "CollectNetworkInfo"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CheckExternalNetwork ¶
type CheckExternalNetwork struct { }
CheckExternalNetwork is a Diagnostic to check accessibility of external network within a pod
func (CheckExternalNetwork) CanRun ¶
func (d CheckExternalNetwork) CanRun() (bool, error)
CanRun is part of the Diagnostic interface; it determines if the conditions are right to run this diagnostic.
func (CheckExternalNetwork) Check ¶
func (d CheckExternalNetwork) Check() types.DiagnosticResult
Check is part of the Diagnostic interface; it runs the actual diagnostic logic
func (CheckExternalNetwork) Description ¶
func (d CheckExternalNetwork) Description() string
Description is part of the Diagnostic interface and just returns the diagnostic description.
func (CheckExternalNetwork) Name ¶
func (d CheckExternalNetwork) Name() string
Name is part of the Diagnostic interface and just returns name.
type CheckNodeNetwork ¶
type CheckNodeNetwork struct {
KubeClient *kclientset.Clientset
}
CheckNodeNetwork is a Diagnostic to check that pods in the cluster can access its own node
func (CheckNodeNetwork) CanRun ¶
func (d CheckNodeNetwork) CanRun() (bool, error)
CanRun is part of the Diagnostic interface; it determines if the conditions are right to run this diagnostic.
func (CheckNodeNetwork) Check ¶
func (d CheckNodeNetwork) Check() types.DiagnosticResult
Check is part of the Diagnostic interface; it runs the actual diagnostic logic
func (CheckNodeNetwork) Description ¶
func (d CheckNodeNetwork) Description() string
Description is part of the Diagnostic interface and just returns the diagnostic description.
func (CheckNodeNetwork) Name ¶
func (d CheckNodeNetwork) Name() string
Name is part of the Diagnostic interface and just returns name.
type CheckPodNetwork ¶
type CheckPodNetwork struct { KubeClient *kclientset.Clientset OSClient *osclient.Client // contains filtered or unexported fields }
CheckPodNetwork is a Diagnostic to check communication between pods in the cluster.
func (CheckPodNetwork) CanRun ¶
func (d CheckPodNetwork) CanRun() (bool, error)
CanRun is part of the Diagnostic interface; it determines if the conditions are right to run this diagnostic.
func (CheckPodNetwork) Check ¶
func (d CheckPodNetwork) Check() types.DiagnosticResult
Check is part of the Diagnostic interface; it runs the actual diagnostic logic
func (CheckPodNetwork) Description ¶
func (d CheckPodNetwork) Description() string
Description is part of the Diagnostic interface and just returns the diagnostic description.
func (CheckPodNetwork) Name ¶
func (d CheckPodNetwork) Name() string
Name is part of the Diagnostic interface and just returns name.
type CheckServiceNetwork ¶
type CheckServiceNetwork struct { KubeClient *kclientset.Clientset OSClient *osclient.Client // contains filtered or unexported fields }
CheckServiceNetwork is a Diagnostic to check communication between services in the cluster.
func (CheckServiceNetwork) CanRun ¶
func (d CheckServiceNetwork) CanRun() (bool, error)
CanRun is part of the Diagnostic interface; it determines if the conditions are right to run this diagnostic.
func (CheckServiceNetwork) Check ¶
func (d CheckServiceNetwork) Check() types.DiagnosticResult
Check is part of the Diagnostic interface; it runs the actual diagnostic logic
func (CheckServiceNetwork) Description ¶
func (d CheckServiceNetwork) Description() string
Description is part of the Diagnostic interface and just returns the diagnostic description.
func (CheckServiceNetwork) Name ¶
func (d CheckServiceNetwork) Name() string
Name is part of the Diagnostic interface and just returns name.
type CollectNetworkInfo ¶
type CollectNetworkInfo struct {
KubeClient *kclientset.Clientset
}
CollectNetworkInfo is a Diagnostic to collect network information in the cluster.
func (CollectNetworkInfo) CanRun ¶
func (d CollectNetworkInfo) CanRun() (bool, error)
CanRun is part of the Diagnostic interface; it determines if the conditions are right to run this diagnostic.
func (CollectNetworkInfo) Check ¶
func (d CollectNetworkInfo) Check() types.DiagnosticResult
Check is part of the Diagnostic interface; it runs the actual diagnostic logic
func (CollectNetworkInfo) Description ¶
func (d CollectNetworkInfo) Description() string
Description is part of the Diagnostic interface and just returns the diagnostic description.
func (CollectNetworkInfo) Name ¶
func (d CollectNetworkInfo) Name() string
Name is part of the Diagnostic interface and just returns name.