cmdb

package
v1.2.0-beta.3 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2022 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 3 more Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LocationProvider

type LocationProvider interface {
	plugin.Plugin

	// GetLocation 获取实例地理位置信息
	GetLocation() (*model.Location, error)
}

LocationProvider Location 实例地址位置获取插件

type Proxy

type Proxy struct {
	LocationProvider
	// contains filtered or unexported fields
}

func (*Proxy) GetLocation

func (p *Proxy) GetLocation() (*model.Location, error)

GetLocation 获取实例地理位置信息

func (*Proxy) SetRealPlugin

func (p *Proxy) SetRealPlugin(plug plugin.Plugin, engine model.Engine)

SetRealPlugin 设置

Jump to

Keyboard shortcuts

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