Documentation
¶
Index ¶
- Constants
- func Loader(ctx context.Context, config providers.Config) (providers.Provider, error)
- func NamedLoader() (string, providers.Loader)
- type AuthOutput
- type CNode
- type Credentials
- type Links
- type NetqResponse
- type Nodes
- type Provider
- func (p *Provider) GenerateTopologyConfig(ctx context.Context, _ *int, instances []topology.ComputeInstances) (*topology.Vertex, 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 = "auth/v1/login" OpIdURL = "auth/v1/select/opid" TopologyURL = "telemetry/v1/object/topologygraph/fetch-topology" )
View Source
const NAME = "netq"
Variables ¶
This section is empty.
Functions ¶
func NamedLoader ¶
Types ¶
type AuthOutput ¶
type AuthOutput struct {
AccessToken string `json:"access_token"`
}
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 ¶
Click to show internal directories.
Click to hide internal directories.