Documentation ¶
Overview ¶
Package cmd - 어플리케이션 실행을 위한 Cobra 기반의 CLI Commands 기능 제공
Index ¶
- Constants
- func NewCommandConfig(options *app.Options) *cobra.Command
- func NewCreateCmd(o *app.Options) *cobra.Command
- func NewDeleteCmd(o *app.Options) *cobra.Command
- func NewGetCmd(o *app.Options) *cobra.Command
- func NewHealthyCmd(o *app.Options) *cobra.Command
- func NewRootCmd() *cobra.Command
- func NewVersionCmd() *cobra.Command
- func SetupAndRun(cmd *cobra.Command, o *app.Options)
- type CbadmOptions
- type ConfigOptions
- type CreateClusterOptions
- type CreateNodeOptions
Constants ¶
View Source
const (
// CLIVersion - cbadm cli 버전
CLIVersion = "1.0"
)
Variables ¶
This section is empty.
Functions ¶
func NewCommandConfig ¶ added in v0.7.2
returns a cobra command
func NewDeleteCmd ¶ added in v0.7.2
returns a cobra command
func NewHealthyCmd ¶
NewHealthyCmd - Ladybug 상태를 수행하는 Cobra Command 생성
func NewRootCmd ¶
NewRootCmd - 어플리케이션 진입점으로 사용할 Root Cobra Command 생성
func NewVersionCmd ¶
NewVersionCmd - 버전 표시 기능을 수행하는 Cobra Command 생성
Types ¶
type CbadmOptions ¶ added in v0.7.2
type ConfigOptions ¶ added in v0.7.2
type CreateClusterOptions ¶ added in v0.7.2
type CreateClusterOptions struct { *app.Options ControlPlane struct { Connection string Count int Spec string } Worker struct { Connection string Count int Spec string } }
func (*CreateClusterOptions) Validate ¶ added in v0.7.2
func (o *CreateClusterOptions) Validate() error
Click to show internal directories.
Click to hide internal directories.