Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
type Client interface { TransportNodes(ctx context.Context) ([]dm.TransportNode, error) ClusterNodes(ctx context.Context) ([]dm.ClusterNode, error) NodeStatus(ctx context.Context, nodeID string, class nodeClass) (*dm.NodeStatus, error) Interfaces(ctx context.Context, nodeID string, class nodeClass) ([]dm.NetworkInterface, error) InterfaceStatus(ctx context.Context, nodeID, interfaceID string, class nodeClass) (*dm.NetworkInterfaceStats, error) }
Client is a way of interacting with the NSX REST API
type Config ¶
type Config struct { scraperhelper.ControllerConfig `mapstructure:",squash"` confighttp.ClientConfig `mapstructure:",squash"` metadata.MetricsBuilderConfig `mapstructure:",squash"` Username string `mapstructure:"username"` Password configopaque.String `mapstructure:"password"` }
Config is the configuration for the NSX receiver
Click to show internal directories.
Click to hide internal directories.