psql

package
v1.22.0 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package psql implements the `kubectl cnpg psql` command

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmd

func NewCmd() *cobra.Command

NewCmd creates the "psql" command

Types

type ErrMissingPod

type ErrMissingPod struct {
	// contains filtered or unexported fields
}

ErrMissingPod is raised when we can't find a Pod having the desired role

func (*ErrMissingPod) Error

func (err *ErrMissingPod) Error() string

Error implements the error interface

Jump to

Keyboard shortcuts

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