stats

package
v1.7.1 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HistoricalCommand

type HistoricalCommand struct {
	cmd.Base

	Input fastly.GetStatsInput
	// contains filtered or unexported fields
}

HistoricalCommand exposes the Historical Stats API.

func NewHistoricalCommand

func NewHistoricalCommand(parent cmd.Registerer, globals *config.Data, data manifest.Data) *HistoricalCommand

NewHistoricalCommand is the "stats historical" subcommand.

func (*HistoricalCommand) Exec

func (c *HistoricalCommand) Exec(in io.Reader, out io.Writer) error

Exec implements the command interface.

type RealtimeCommand

type RealtimeCommand struct {
	cmd.Base
	// contains filtered or unexported fields
}

RealtimeCommand exposes the Realtime Metrics API.

func NewRealtimeCommand

func NewRealtimeCommand(parent cmd.Registerer, globals *config.Data, data manifest.Data) *RealtimeCommand

NewRealtimeCommand is the "stats realtime" subcommand.

func (*RealtimeCommand) Exec

func (c *RealtimeCommand) Exec(in io.Reader, out io.Writer) error

Exec implements the command interface.

type RegionsCommand

type RegionsCommand struct {
	cmd.Base
}

RegionsCommand exposes the Stats Regions API.

func NewRegionsCommand

func NewRegionsCommand(parent cmd.Registerer, globals *config.Data) *RegionsCommand

NewRegionsCommand returns a new command registered under parent.

func (*RegionsCommand) Exec

func (c *RegionsCommand) Exec(in io.Reader, out io.Writer) error

Exec implements the command interface.

type RootCommand

type RootCommand struct {
	cmd.Base
}

RootCommand dispatches all "stats" commands.

func NewRootCommand

func NewRootCommand(parent cmd.Registerer, globals *config.Data) *RootCommand

NewRootCommand returns a new top level "stats" command.

func (*RootCommand) Exec

func (c *RootCommand) Exec(in io.Reader, out io.Writer) error

Exec implements the command interface.

Jump to

Keyboard shortcuts

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