cmd

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2020 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewNodesCmd added in v0.0.2

func NewNodesCmd(streams genericclioptions.IOStreams) *cobra.Command

NewNodesCmd initialize and creates a Cobra command

func NewSlotsCmd

func NewSlotsCmd(streams genericclioptions.IOStreams) *cobra.Command

NewSlotsCmd initialize and creates a Cobra command

func NewVersionCmd

func NewVersionCmd(out io.Writer) *cobra.Command

NewVersionCmd creates a command

func SetVersion

func SetVersion(v string, c string)

SetVersion initates this command with version info

Types

type QueryRedisResult

type QueryRedisResult struct {
	PodName string
	Info    redisutils.RedisInfo
	Nodes   redisutils.ClusterNodes
	Slots   redisutils.ClusterSlots
	Error   error
}

Type used when transferring result from portforwarder

Jump to

Keyboard shortcuts

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