accesstokens

package
v0.46.3 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2026 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

Package accesstokens wires the volcano access-tokens subcommands.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(deps cliruntime.Deps) *cobra.Command

New returns the access tokens command.

func NewCloudOnly

func NewCloudOnly() *cobra.Command

NewCloudOnly stands in for the access tokens command in the local tree. Local development is a single-tenant sandbox with no account and no credentials to mint, and without the stub cobra answers the unknown subcommand by printing the root help and exiting 0 — which reads as if the command had run. Hidden so local help lists only what local mode can do, and flag parsing is off so any flags the user typed reach the refusal rather than failing as unknown.

It carries the real group's help because being told where a command lives is the whole point of the stub, and 'volcano help access-tokens' has nowhere else to read that from.

Types

This section is empty.

Jump to

Keyboard shortcuts

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