flags

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2024 License: Apache-2.0 Imports: 3 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
}

Params contains a ResultsClient and LogsClient

Jump to

Keyboard shortcuts

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