metricservercmd

package
v0.0.0-202406181927 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2024 License: Apache-2.0, MIT Imports: 1 Imported by: 0

Documentation

Overview

Package metricservercmd partially implements the 'metric-server' subcommand.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cmd

type Cmd struct {
	ExporterPrefix         string
	PIDFile                string
	ExposeProfileEndpoints bool
	AllowUnknownRoot       bool
}

Cmd partially implements subcommands.Command for the metric-server command.

func (*Cmd) Name

func (*Cmd) Name() string

Name implements subcommands.Command.Name.

func (*Cmd) SetFlags

func (c *Cmd) SetFlags(f *flag.FlagSet)

SetFlags implements subcommands.Command.SetFlags.

func (*Cmd) Synopsis

func (*Cmd) Synopsis() string

Synopsis implements subcommands.Command.Synopsis.

func (*Cmd) Usage

func (*Cmd) Usage() string

Usage implements subcommands.Command.Usage.

Jump to

Keyboard shortcuts

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