Documentation ¶
Index ¶
- Variables
- func BuildAccessMatrixCmd() *cobra.Command
- func BuildAdminCmd() *cobra.Command
- func BuildAgentCmd() *cobra.Command
- func BuildBootstrapCmd() *cobra.Command
- func BuildBootstrapLoggingCmd() *cobra.Command
- func BuildCertsCmd() *cobra.Command
- func BuildCertsInfoCmd() *cobra.Command
- func BuildClustersCmd() *cobra.Command
- func BuildClustersDeleteCmd() *cobra.Command
- func BuildClustersLabelCmd() *cobra.Command
- func BuildClustersListCmd() *cobra.Command
- func BuildCortexCmd() *cobra.Command
- func BuildDebugCmd() *cobra.Command
- func BuildDebugEtcdctlCmd() *cobra.Command
- func BuildDebugGetConfigCmd() *cobra.Command
- func BuildDebugReloadCmd() *cobra.Command
- func BuildEventsCmd() *cobra.Command
- func BuildGatewayCmd() *cobra.Command
- func BuildHooksCmd() *cobra.Command
- func BuildManagerCmd() *cobra.Command
- func BuildQueryCmd() *cobra.Command
- func BuildQueryRangeCmd() *cobra.Command
- func BuildRealtimeCmd() *cobra.Command
- func BuildRoleBindingsCmd() *cobra.Command
- func BuildRoleBindingsCreateCmd() *cobra.Command
- func BuildRoleBindingsDeleteCmd() *cobra.Command
- func BuildRoleBindingsListCmd() *cobra.Command
- func BuildRoleBindingsShowCmd() *cobra.Command
- func BuildRolesCmd() *cobra.Command
- func BuildRolesCreateCmd() *cobra.Command
- func BuildRolesDeleteCmd() *cobra.Command
- func BuildRolesListCmd() *cobra.Command
- func BuildRolesShowCmd() *cobra.Command
- func BuildTokensCmd() *cobra.Command
- func BuildTokensCreateCmd() *cobra.Command
- func BuildTokensGetCmd() *cobra.Command
- func BuildTokensListCmd() *cobra.Command
- func BuildTokensRevokeCmd() *cobra.Command
- func BuildVersionCmd() *cobra.Command
- func BuildWaitForResourceCmd() *cobra.Command
- func ConfigureManagementCommand(cmd *cobra.Command)
Constants ¶
This section is empty.
Variables ¶
View Source
var CompletionCmd = &cobra.Command{ Use: "completion [bash|zsh|fish]", Short: "Generate completion script", Long: `To load completions: Bash: $ source <(opni completion bash) # To load completions for each session, execute once: # Linux: $ opni completion bash > /etc/bash_completion.d/opni # macOS: $ opni completion bash > /usr/local/etc/bash_completion.d/opni Zsh: # If shell completion is not already enabled in your environment, # you will need to enable it. You can execute the following once: $ echo "autoload -U compinit; compinit" >> ~/.zshrc # To load completions for each session, execute once: $ opni completion zsh > "${fpath[1]}/_opni" # You will need to start a new shell for this setup to take effect. fish: $ opni completion fish | source # To load completions for each session, execute once: $ opni completion fish > ~/.config/fish/completions/opni.fish `, DisableFlagsInUseLine: true, ValidArgs: []string{"bash", "zsh", "fish"}, Args: cobra.ExactValidArgs(1), Run: func(cmd *cobra.Command, args []string) { switch args[0] { case "bash": cmd.Root().GenBashCompletion(os.Stdout) case "zsh": cmd.Root().GenZshCompletion(os.Stdout) case "fish": cmd.Root().GenFishCompletion(os.Stdout, true) } }, }
View Source
var (
Version = "dev"
)
Functions ¶
func BuildAccessMatrixCmd ¶
func BuildAdminCmd ¶
func BuildAgentCmd ¶
func BuildBootstrapCmd ¶
func BuildCertsCmd ¶
func BuildCertsInfoCmd ¶
func BuildClustersCmd ¶
func BuildClustersDeleteCmd ¶
func BuildClustersLabelCmd ¶
func BuildClustersListCmd ¶
func BuildCortexCmd ¶
func BuildDebugCmd ¶
func BuildDebugEtcdctlCmd ¶
func BuildDebugGetConfigCmd ¶
func BuildDebugReloadCmd ¶
func BuildEventsCmd ¶ added in v0.5.4
func BuildGatewayCmd ¶
func BuildHooksCmd ¶ added in v0.5.4
func BuildManagerCmd ¶
func BuildQueryCmd ¶
func BuildQueryRangeCmd ¶
func BuildRealtimeCmd ¶ added in v0.5.4
func BuildRoleBindingsCmd ¶
func BuildRolesCmd ¶
func BuildRolesCreateCmd ¶
func BuildRolesDeleteCmd ¶
func BuildRolesListCmd ¶
func BuildRolesShowCmd ¶
func BuildTokensCmd ¶
func BuildTokensCreateCmd ¶
func BuildTokensGetCmd ¶
func BuildTokensListCmd ¶
func BuildTokensRevokeCmd ¶
func BuildVersionCmd ¶
func BuildWaitForResourceCmd ¶ added in v0.5.4
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.