Documentation
¶
Index ¶
- Constants
- func Loader(ctx context.Context, config providers.Config) (providers.Provider, *httperr.Error)
- func NamedLoader() (string, providers.Loader)
- type AuthOutput
- type CNode
- type ComputeNode
- type Credentials
- type Links
- type NetqResponse
- type Nodes
- type Premises
- type Provider
- func (p *Provider) GenerateTopologyConfig(ctx context.Context, _ *int, instances []topology.ComputeInstances) (*topology.Vertex, *httperr.Error)
- func (p *Provider) GetInstancesRegions(ctx context.Context, nodes []string) (map[string]string, error)
- func (p *Provider) Instances2NodeMap(ctx context.Context, nodes []string) (map[string]string, error)
- type ProviderParams
Constants ¶
View Source
const ( LoginURL = "api/netq/auth/v1/login" OpIdURL = "api/netq/auth/v1/select/opid" TopologyURL = "api/netq/telemetry/v1/object/topologygraph/fetch-topology" )
View Source
const (
ComputeURL = "nmx/v1/compute-nodes"
)
View Source
const NAME = "netq"
Variables ¶
This section is empty.
Functions ¶
func NamedLoader ¶
Types ¶
type AuthOutput ¶
type ComputeNode ¶ added in v0.3.0
type Credentials ¶
type Credentials struct {
// contains filtered or unexported fields
}
type NetqResponse ¶
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
func (*Provider) GenerateTopologyConfig ¶
type ProviderParams ¶
type ProviderParams struct {
ApiURL string `mapstructure:"apiUrl"`
}
Click to show internal directories.
Click to hide internal directories.