testcmd

package module
v0.0.0-...-a1bc676 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2024 License: Apache-2.0 Imports: 11 Imported by: 1

README

Package cloudeng.io/glean/extensions/testcmd

import cloudeng.io/glean/extensions/testcmd

Variables

ExtensionSpec
ExtensionSpec = extensions.ExtensionSpec{
	Name:       cmdName,
	CmdSpec:    cmdSpec,
	AuthCfg:    struct{}{},
	ServiceCfg: struct{}{},
	AddFunc:    AddExtension,
}

Functions

Func AddExtension
func AddExtension(extension extensions.Extension, cmdSet *subcmd.CommandSetYAML, parents []string) error

Types

Type CacheFlags
type CacheFlags struct {
	CommonFlags
	Items int `subcmd:"show-n,100,'show this many items from the cache'"`
}
Type CommonFlags
type CommonFlags struct {
	config.FileFlags
}

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ExtensionSpec = extensions.ExtensionSpec{
	Name:       cmdName,
	CmdSpec:    cmdSpec,
	AuthCfg:    struct{}{},
	ServiceCfg: struct{}{},
	AddFunc:    AddExtension,
}

Functions

func AddExtension

func AddExtension(extension extensions.Extension, cmdSet *subcmd.CommandSetYAML, parents []string) error

Types

type CacheFlags

type CacheFlags struct {
	CommonFlags
	Items int `subcmd:"show-n,100,'show this many items from the cache'"`
}

type CommonFlags

type CommonFlags struct {
	config.FileFlags
}

Jump to

Keyboard shortcuts

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