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

flags

package
v0.17.2 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddGetFlags

func AddGetFlags(options *GetOptions, cmd *cobra.Command)

AddGetFlags is a helper function that adds common flags for get commands

func AddListFlags

func AddListFlags(options *ListOptions, cmd *cobra.Command)

AddListFlags is a helper function that adds common flags for commands that list things

Types

type GetOptions

type GetOptions struct {
	Format string
}

GetOptions used on commands that get a single Result, Record or Log

type ListOptions

type ListOptions struct {
	Filter    string
	Limit     int32
	PageToken string
	Format    string
}

ListOptions is used on commands that list Results, Records or Logs

type Params

type Params struct {
	ResultsClient    pb.ResultsClient
	LogsClient       pb.LogsClient
	PluginLogsClient pb3.LogsClient

	Clock clockwork.Clock
}

Params contains a ResultsClient and LogsClient

Jump to

Keyboard shortcuts

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