cmd

package
v0.4.4 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2018 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RootCmd = &cobra.Command{
	Use:   "ckube",
	Short: "Concurrent Kubectl",
	Long:  `A CLI to simplify working with kubectl.`,
}

Functions

func Execute

func Execute()

Types

type DeploymentInfo added in v0.4.0

type DeploymentInfo struct {
	Name         string
	Desired      int32
	Current      int32
	Updated      int32
	Available    int32
	LastDeployed util.Age
}

func (DeploymentInfo) Print added in v0.4.0

func (d DeploymentInfo) Print() string

type NodePodInfo added in v0.1.2

type NodePodInfo struct {
	Node v1.Node
	Pods []v1.Pod
}

type PodDetails added in v0.2.1

type PodDetails struct {
	Name     string
	Total    int
	Ready    int
	Restarts int32
	Status   string
	Age      string
}

func NewPodDetails added in v0.2.1

func NewPodDetails(pod v1.Pod) PodDetails

type PodStatus

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

func NewPodStatus

func NewPodStatus(pod v1.Pod) PodStatus

type ServiceInfo added in v0.2.1

type ServiceInfo struct {
	Service    v1.Service
	PodDetails []PodDetails
}

Jump to

Keyboard shortcuts

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