cli

package
v0.0.0-...-703b195 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CLI

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

func NewCLI

func NewCLI() *CLI

func (*CLI) Run

func (c *CLI) Run() error

type ChaosCommand

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

func NewChaosCommand

func NewChaosCommand() *ChaosCommand

func (*ChaosCommand) CobraCommand

func (c *ChaosCommand) CobraCommand() *cobra.Command

func (*ChaosCommand) Run

func (c *ChaosCommand) Run() error

type ChaosPartitionCommand

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

func NewChaosPartitionCommand

func NewChaosPartitionCommand() *ChaosPartitionCommand

func (*ChaosPartitionCommand) CobraCommand

func (c *ChaosPartitionCommand) CobraCommand() *cobra.Command

func (*ChaosPartitionCommand) Run

func (c *ChaosPartitionCommand) Run() error

type ClusterCommand

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

func NewClusterCommand

func NewClusterCommand() *ClusterCommand

func (*ClusterCommand) CobraCommand

func (c *ClusterCommand) CobraCommand() *cobra.Command

func (*ClusterCommand) Run

func (c *ClusterCommand) Run() error

type ClusterCreateCommand

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

func NewClusterCreateCommand

func NewClusterCreateCommand() *ClusterCreateCommand

func (*ClusterCreateCommand) CobraCommand

func (c *ClusterCreateCommand) CobraCommand() *cobra.Command

func (*ClusterCreateCommand) Run

func (c *ClusterCreateCommand) Run() error

type Command

type Command interface {
	Run() error
	CobraCommand() *cobra.Command
}

type FCMCommand

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

func NewFCMCommand

func NewFCMCommand() *FCMCommand

func (*FCMCommand) AddCommand

func (c *FCMCommand) AddCommand(command Command)

func (*FCMCommand) CobraCommand

func (c *FCMCommand) CobraCommand() *cobra.Command

func (*FCMCommand) Run

func (c *FCMCommand) Run() error

Jump to

Keyboard shortcuts

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