diagnose

package
v1.4.8 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2021 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EtcdClientConfig etcd.Config

Functions

func DiagnoseCommandFunc

func DiagnoseCommandFunc(_ *cobra.Command, args []string)

func NewDiagnoseCommand

func NewDiagnoseCommand(parent *cobra.Command) *cobra.Command

Types

type CompareHolder

type CompareHolder interface {
	Compare() *CompareResult
}

type CompareResult

type CompareResult struct {
	Name    string
	Results map[int][]string
}

type DataStore

type DataStore struct {
	Data       []*mvccpb.KeyValue
	DataParser proto.Parser
}

func (*DataStore) ForEach

func (d *DataStore) ForEach(f func(i int, v *model.KV) bool)

type InstanceCompareHolder

type InstanceCompareHolder struct {
	Cache model.InstanceSlice
	Kvs   []*mvccpb.KeyValue
	// contains filtered or unexported fields
}

func (*InstanceCompareHolder) Compare

func (h *InstanceCompareHolder) Compare() *CompareResult

type ServiceCompareHolder

type ServiceCompareHolder struct {
	Cache model.MicroserviceSlice
	Kvs   []*mvccpb.KeyValue
	// contains filtered or unexported fields
}

func (*ServiceCompareHolder) Compare

func (h *ServiceCompareHolder) Compare() *CompareResult

Jump to

Keyboard shortcuts

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