downgrade

package
v1.7.0-rc3 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Command

type Command struct {
	Stdout io.Writer
	Stderr io.Writer
	// contains filtered or unexported fields
}

Command represents the command executed by "kapacitord downgrade".

func NewCommand

func NewCommand() *Command

func (*Command) Run

func (cmd *Command) Run(args ...string) (rErr error)

type Diagnostic

type Diagnostic interface {
	Error(msg string, err error)
	KapacitorStarting(version, branch, commit string)
	GoVersion()
	Info(msg string, ctx ...keyvalue.T)
}

type HTTPDService

type HTTPDService interface {
	AddRoutes([]httpd.Route) error
	DelRoutes([]httpd.Route)
}

type NoOpHTTPDService

type NoOpHTTPDService struct {
}

func (*NoOpHTTPDService) AddRoutes

func (s *NoOpHTTPDService) AddRoutes([]httpd.Route) error

func (*NoOpHTTPDService) DelRoutes

func (s *NoOpHTTPDService) DelRoutes([]httpd.Route)

Jump to

Keyboard shortcuts

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