Documentation
¶
Index ¶
- func CollectClusterData(adminKubeConfig *rest.Config, masterNodeUpdated string) platformidentification.ClusterData
- func GetMonitorRESTConfig() (*rest.Config, error)
- func WaitForStableCluster(ctx context.Context, config *rest.Config) ([]*junitapi.JUnitTestCase, error)
- func WasMasterNodeUpdated(events monitorapi.Intervals) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CollectClusterData ¶
func CollectClusterData(adminKubeConfig *rest.Config, masterNodeUpdated string) platformidentification.ClusterData
TODO this should be taking a client, not a kubeconfig. Can't test a kubeconfig.
func GetMonitorRESTConfig ¶
func WaitForStableCluster ¶
func WaitForStableCluster(ctx context.Context, config *rest.Config) ([]*junitapi.JUnitTestCase, error)
WaitForStableCluster checks to make sure all operators are stable. If not, it will wait. It will generate success junit if all operators are stable on the first check. It will generate flake junits if some operators recovered from unstable conditions while it waits. It will generate failure junit if any operators are still unstable after timeout.
func WasMasterNodeUpdated ¶
func WasMasterNodeUpdated(events monitorapi.Intervals) string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.