mi

package
v1.26.1 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2025 License: CC0-1.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Events        miv1.EventsClient
	SwitchTracker miv1.SwitchTrackerClient
	// contains filtered or unexported fields
}

func New

func New() (*Client, error)

type ListSwitches

type ListSwitches struct {
	// contains filtered or unexported fields
}

miListSwitches implements the "list-switches" subcommand. ListSwitches implements the "list-switches" subcommand.

func (*ListSwitches) Execute

func (ls *ListSwitches) Execute(ctx context.Context, f *flag.FlagSet, _ ...interface{}) subcommands.ExitStatus

func (*ListSwitches) Name

func (*ListSwitches) Name() string

func (*ListSwitches) SetFlags

func (ls *ListSwitches) SetFlags(f *flag.FlagSet)

func (*ListSwitches) Synopsis

func (*ListSwitches) Synopsis() string

func (*ListSwitches) Usage

func (*ListSwitches) Usage() string

type Switch

type Switch struct {
	// contains filtered or unexported fields
}

Switch implements the "switch" subcommand which changes the front member.

func (*Switch) Execute

func (s *Switch) Execute(ctx context.Context, f *flag.FlagSet, _ ...interface{}) subcommands.ExitStatus

func (*Switch) Name

func (*Switch) Name() string

func (*Switch) SetFlags

func (s *Switch) SetFlags(f *flag.FlagSet)

func (*Switch) Synopsis

func (*Switch) Synopsis() string

func (*Switch) Usage

func (*Switch) Usage() string

type WhoIsFront

type WhoIsFront struct {
	// contains filtered or unexported fields
}

func (*WhoIsFront) Execute

func (wif *WhoIsFront) Execute(ctx context.Context, f *flag.FlagSet, _ ...interface{}) subcommands.ExitStatus

func (*WhoIsFront) Name

func (*WhoIsFront) Name() string

func (*WhoIsFront) SetFlags

func (wif *WhoIsFront) SetFlags(f *flag.FlagSet)

func (*WhoIsFront) Synopsis

func (*WhoIsFront) Synopsis() string

func (*WhoIsFront) Usage

func (*WhoIsFront) Usage() string

Jump to

Keyboard shortcuts

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