command

package
v4.6.0 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package command for collecting messages in Kubernetes.

Package command is used to creating a resource to Ocean Storage in Kubernetes.

Package command defines commands of oceanctl.

Index

Constants

This section is empty.

Variables

View Source
var CreateCmd = &cobra.Command{
	Use:   "create",
	Short: "Create a resource to Ocean Storage in Kubernetes",
}

CreateCmd is a cobra command object which used for creating a resource to Ocean Storage in Kubernetes.

View Source
var RootCmd = &cobra.Command{
	SilenceUsage:      true,
	Use:               "oceanctl",
	Short:             "A CLI tool for Ocean Storage in Kubernetes",
	CompletionOptions: cobra.CompletionOptions{HiddenDefaultCmd: true},
	PersistentPreRunE: func(cmd *cobra.Command, args []string) error {
		err := startLogging()
		if err != nil {
			return err
		}
		return discoverOperating()
	},
}

RootCmd is a root command of oceanctl.

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis
Package options defines options which user can input
Package options defines options which user can input

Jump to

Keyboard shortcuts

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