dump

package
v0.0.0-...-1bdd90c Latest Latest
Warning

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

Go to latest
Published: May 17, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API struct {
	*metapb.API

	Proxies []parser.Proxy
}

API ...

type Bind

type Bind struct {
	ClusterName string
	ServerAddr  string
	*metapb.Bind
}

Bind ...

type Cluster

type Cluster struct {
	*metapb.Cluster
}

Cluster ...

type ManbaRawState

type ManbaRawState struct {
	APIs     []*API
	Servers  []*Server
	Clusters []*Cluster
	Binds    []*Bind
	Routings []*Routing
}

ManbaRawState contains all of Manba data

func Get

func Get(client manba.Client) (*ManbaRawState, error)

Get raw data from manba api-server

type Routing

type Routing struct {
	APIName     string
	ClusterName string
	*metapb.Routing
}

Routing ...

type Server

type Server struct {
	*metapb.Server
}

Server ...

Jump to

Keyboard shortcuts

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