report

package
v1.15.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 21, 2022 License: Apache-2.0 Imports: 22 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package report implements the kubectl-cnpg report command

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cluster

func Cluster(ctx context.Context, clusterName, namespace string, format plugin.OutputFormat,
	file string, includeLogs bool,
) error

Cluster implements the "report cluster" subcommand Produces a zip file containing

  • cluster pod and job definitions
  • cluster resource (same content as `kubectl get cluster -o yaml`)
  • events in the cluster namespace
  • logs from the cluster pods (optional - activated with `includeLogs`)
  • logs from the cluster jobs (optional - activated with `includeLogs`)

func NewCmd

func NewCmd() *cobra.Command

NewCmd creates the new "report" command

func Operator

func Operator(ctx context.Context, format plugin.OutputFormat,
	file string, stopRedaction, includeLogs bool,
) error

Operator implements the "report operator" subcommand Produces a zip file containing

  • operator deployment
  • operator pod definition
  • operator configuration Configmap and Secret key (if any)
  • events in the operator namespace
  • operator's Validating/MutatingWebhookConfiguration and their associated services
  • operator pod's logs (if `includeLogs` is true)

Types

This section is empty.

Directories

Path Synopsis
Package deployments contains code to get operator deployment
Package deployments contains code to get operator deployment

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL