Help us shape the future of Go! Take the 2026 Go Developer Survey

token

package
v0.2.9 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package token implements the auth token command

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdToken

func NewCmdToken(f *cmdutil.Factory, runF func(*TokenOptions) error) *cobra.Command

NewCmdToken creates the token command

Types

type TokenOptions

type TokenOptions struct {
	IO         *iostreams.IOStreams
	HttpClient func() (*http.Client, error)

	// Flags
	Hostname string
}

Source Files

  • token.go

Jump to

Keyboard shortcuts

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