Documentation ¶
Index ¶
- func CISystemDumpOnFail(_ context.Context, _ *kubectl.Cli, _ io.Writer, outDir string, _ []string) func()
- func ControllerDumpOnFail(ctx context.Context, kubectlCli *kubectl.Cli, _ io.Writer, outDir string, ...) func()
- func EnvoyDumpOnFail(ctx context.Context, kubectlCli *kubectl.Cli, _ io.Writer, outDir string, ...) func()
- func KubeDumpOnFail(ctx context.Context, _ *kubectl.Cli, _ io.Writer, outDir string, ...) func()
- func StandardCIDumpOnFail(outLog io.Writer, outDir string, namespaces []string) func()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CISystemDumpOnFail ¶
func CISystemDumpOnFail(_ context.Context, _ *kubectl.Cli, _ io.Writer, outDir string, _ []string) func()
CISystemDumpOnFail creates a small dump of the local docker and process state. This is useful for debugging test failures in CI. The dump includes: - docker state - process state
func ControllerDumpOnFail ¶
func ControllerDumpOnFail(ctx context.Context, kubectlCli *kubectl.Cli, _ io.Writer, outDir string, namespaces []string) func()
ControllerDumpOnFail creates a small dump of the gloo controller state. This is useful for debugging failures. The dump includes: - controller logs - controller metrics - controller xds snapshot - controller krt snapshot
func EnvoyDumpOnFail ¶
func EnvoyDumpOnFail(ctx context.Context, kubectlCli *kubectl.Cli, _ io.Writer, outDir string, namespaces []string) func()
EnvoyDumpOnFail creates a small dump of the envoy admin interface. This is useful for debugging failures. The dump includes: - config dump - stats - clusters - listeners
func KubeDumpOnFail ¶
func KubeDumpOnFail(ctx context.Context, _ *kubectl.Cli, _ io.Writer, outDir string, namespaces []string) func()
KubeDumpOnFail creates a small dump of the kubernetes state. This is useful for debugging failures. The dump includes: - kubernetes cluster state - logs from all pods in the given namespaces - yaml representations of all solo.io CRs in the given namespaces
func StandardCIDumpOnFail ¶
StandardCIDumpOnFail creates a dump of the CI system state, kubernetes state, gloo controller state, and certain envoy data from the admin interface when a test fails. Look at `CISystemDumpOnFail`, `KubeDumpOnFail`, `ControllerDumpOnFail`, && `EnvoyDumpOnFail` for more details
Types ¶
This section is empty.