status

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package status implements the "krci auth status" command.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdStatus

func NewCmdStatus(f *cmdutil.Factory, runF func(*StatusOptions) error) *cobra.Command

NewCmdStatus returns the "auth status" cobra.Command. runF is the business logic function; pass nil to use the default statusRun.

Types

type StatusOptions

type StatusOptions struct {
	IO            *iostreams.IOStreams
	TokenProvider func() (auth.TokenProvider, error)
}

StatusOptions holds all inputs for the status command.

Jump to

Keyboard shortcuts

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