Documentation
¶
Index ¶
- func DumpHostedCluster(ctx context.Context, t *testing.T, hc *hyperv1.HostedCluster, ...) error
- func DumpJournals(t *testing.T, ctx context.Context, hc *hyperv1.HostedCluster, ...) error
- func DumpMachineConsoleLogs(ctx context.Context, hc *hyperv1.HostedCluster, ...) error
- func VerifyAzureMachineDiagnostics(ctx context.Context, management client.Client, hc *hyperv1.HostedCluster, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DumpHostedCluster ¶
func DumpHostedCluster(ctx context.Context, t *testing.T, hc *hyperv1.HostedCluster, isDumpingGuestCluster bool, dumpGuestClusterPolicies map[clusterdump.DumpGuestClusterPolicy]struct{}, azure *clusterdump.AzureDumpOptions, artifactDir, kubeconfigPath string) error
DumpHostedCluster dumps the contents of the hosted cluster to the given artifact directory, and returns an error if any aspect of that operation fails. The loop detector is configured to return an error when any warnings are detected.
func DumpJournals ¶
func DumpMachineConsoleLogs ¶
func DumpMachineConsoleLogs(ctx context.Context, hc *hyperv1.HostedCluster, awsCredentials util.AWSCredentialsOptions, artifactDir, kubeconfigPath string) error
DumpMachineConsoleLogs dumps machine console logs for the given hostedcluster. This is only useful for AWS clusters.
func VerifyAzureMachineDiagnostics ¶ added in v0.1.87
func VerifyAzureMachineDiagnostics(ctx context.Context, management client.Client, hc *hyperv1.HostedCluster, credentialsFile, artifactDir, kubeconfigPath string) error
VerifyAzureMachineDiagnostics exercises the production collector in a fresh artifact directory against an independently captured AzureMachine inventory. Unlike teardown collection, missing or empty serial/journal artifacts fail.
Types ¶
This section is empty.