Documentation
¶
Index ¶
- Constants
- func Loader(ctx context.Context, config providers.Config) (providers.Provider, *httperr.Error)
- func LoaderSim(ctx context.Context, cfg providers.Config) (providers.Provider, *httperr.Error)
- func NamedLoader() (string, providers.Loader)
- func NamedLoaderSim() (string, providers.Loader)
- func NewSim(clientFactory ClientFactory, trimTiers int) *simProvider
- type Client
- type ClientFactory
- type NodeInfo
- type Provider
- type SwitchInfo
- type TopologyResponse
Constants ¶
View Source
const NAME = "dsx"
View Source
const (
NAME_SIM = "dsx-sim"
)
Variables ¶
This section is empty.
Functions ¶
func NamedLoader ¶
func NamedLoaderSim ¶
func NewSim ¶
func NewSim(clientFactory ClientFactory, trimTiers int) *simProvider
Types ¶
type ClientFactory ¶
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
func New ¶
func New(clientFactory ClientFactory, trimTiers int) *Provider
type SwitchInfo ¶
type TopologyResponse ¶
type TopologyResponse struct {
Switches map[string]SwitchInfo `json:"switches"`
}
Click to show internal directories.
Click to hide internal directories.