Documentation
¶
Overview ¶
Package plugin contains the common behaviors of the kubectl-cnpg subcommand
Index ¶
Constants ¶
View Source
const ( // OutputFormatText means just use a human-readable output OutputFormatText = "text" // OutputFormatJSON means use machine-readable JSON output OutputFormatJSON = "json" // OutputFormatYAML means use machine-readable JSON output OutputFormatYAML = "yaml" )
Variables ¶
Functions ¶
func CreateKubernetesClient ¶
func CreateKubernetesClient(configFlags *genericclioptions.ConfigFlags) error
CreateKubernetesClient creates a k8s client to be used inside the kubectl-cnpg utility
Types ¶
type OutputFormat ¶
type OutputFormat string
OutputFormat represent the output format supported by this command
Directories
¶
| Path | Synopsis |
|---|---|
|
Package certificate implement the kubectl-cnpg certificate command
|
Package certificate implement the kubectl-cnpg certificate command |
|
Package destroy implements a command to destroy an instances of a cluster and its associated PVC
|
Package destroy implements a command to destroy an instances of a cluster and its associated PVC |
|
Package fence implements a command to fence instances in a cluster
|
Package fence implements a command to fence instances in a cluster |
|
Package maintenance implements the kubectl-cnpg maintenance sub-command
|
Package maintenance implements the kubectl-cnpg maintenance sub-command |
|
Package promote implement the kubectl-cnpg promote command
|
Package promote implement the kubectl-cnpg promote command |
|
Package reload implements a command to trigger a reconciliation loop for a cluster
|
Package reload implements a command to trigger a reconciliation loop for a cluster |
|
Package report implements the kubectl-cnpg report command
|
Package report implements the kubectl-cnpg report command |
|
Package restart implements a command to rollout restart a cluster or restart a single instance
|
Package restart implements a command to rollout restart a cluster or restart a single instance |
|
Package status implements the kubectl-cnpg status command
|
Package status implements the kubectl-cnpg status command |
Click to show internal directories.
Click to hide internal directories.