cmd

package
v0.0.0-...-37f45be Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package cmd - 어플리케이션 실행을 위한 Cobra 기반의 CLI Commands 기능 제공

Index

Constants

View Source
const (
	// CLIVersion - cbadm cli 버전
	CLIVersion = "1.0"
)

Variables

This section is empty.

Functions

func NewClusterCmd

func NewClusterCmd() *cobra.Command

NewClusterCmd - Cluster 관리 기능을 수행하는 Cobra Command 생성

func NewClusterCreateCmd

func NewClusterCreateCmd() *cobra.Command

NewClusterCreateCmd - Cluster 생성 기능을 수행하는 Cobra Command 생성

func NewClusterDeleteCmd

func NewClusterDeleteCmd() *cobra.Command

NewClusterDeleteCmd - Cluster 삭제 기능을 수행하는 Cobra Command 생성

func NewClusterGetCmd

func NewClusterGetCmd() *cobra.Command

NewClusterGetCmd - Cluster 조회 기능을 수행하는 Cobra Command 생성

func NewClusterListCmd

func NewClusterListCmd() *cobra.Command

NewClusterListCmd - Cluster 목록 기능을 수행하는 Cobra Command 생성

func NewHealthyCmd

func NewHealthyCmd() *cobra.Command

NewHealthyCmd - Ladybug 상태를 수행하는 Cobra Command 생성

func NewNodeAddCmd

func NewNodeAddCmd() *cobra.Command

NewNodeAddCmd - Node 생성 기능을 수행하는 Cobra Command 생성

func NewNodeCmd

func NewNodeCmd() *cobra.Command

NewNodeCmd - Node 관리 기능을 수행하는 Cobra Command 생성

func NewNodeGetCmd

func NewNodeGetCmd() *cobra.Command

NewNodeGetCmd - Node 조회 기능을 수행하는 Cobra Command 생성

func NewNodeListCmd

func NewNodeListCmd() *cobra.Command

NewNodeListCmd - Node 목록 기능을 수행하는 Cobra Command 생성

func NewNodeRemoveCmd

func NewNodeRemoveCmd() *cobra.Command

NewNodeRemoveCmd - Node 삭제 기능을 수행하는 Cobra Command 생성

func NewRootCmd

func NewRootCmd() *cobra.Command

NewRootCmd - 어플리케이션 진입점으로 사용할 Root Cobra Command 생성

func NewVersionCmd

func NewVersionCmd() *cobra.Command

NewVersionCmd - 버전 표시 기능을 수행하는 Cobra Command 생성

func SetupAndRun

func SetupAndRun(cmd *cobra.Command, args []string)

SetupAndRun - Ladybug GRPC CLI 구동

Types

This section is empty.

Jump to

Keyboard shortcuts

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