statusview

package
v0.205.10 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2026 License: Apache-2.0 Imports: 13 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package statusview presents reusable local repository status commands.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BindFlags

func BindFlags(command *cobra.Command, options *Options, details, all *bool, fleetFilters bool)

func Markdown

func Markdown(report repostatus.Index, details bool, title string) string

func NewFleet

func NewFleet(runtime shared.Runtime, deps Dependencies) *cobra.Command

func NewHistorical

func NewHistorical(runtime shared.Runtime, deps Dependencies) *cobra.Command

NewHistorical keeps the historical entry point. Prefer the explicit nouns: wb fleet status / wb fleet stats / wb fleet, and wb repo status.

func NewRepository

func NewRepository(runtime shared.Runtime, deps Dependencies) *cobra.Command

func WriteReports

func WriteReports(report repostatus.Index, directory string, details bool, title string) error

WriteReports preserves Markdown-before-YAML file effects before stdout validation.

Types

type Dependencies

type Dependencies struct {
	Collect      func(reposelection.Request, repostatus.Observer) (repostatus.Index, error)
	WriteReports func(repostatus.Index, string, bool, string) error
	Interactive  func(io.Writer, bool) bool
}

Dependencies provides the concrete operations and terminal policy for one command instance.

type Options

type Options struct {
	Parallel                        int
	Match, Regex, Format, ReportDir string
}

Options contains only the status flags shared with fleet overview.

Jump to

Keyboard shortcuts

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