Documentation
¶
Index ¶
Constants ¶
View Source
const ( LISTENER_TABLE_APID_CLUSTER = "edgex.apid_cluster" LISTENER_TABLE_DATA_SCOPE = "edgex.data_scope" )
View Source
const (
ApigeeSyncEventSelector = "ApigeeSync"
)
Variables ¶
View Source
var PluginData = apid.PluginData{ Name: "apidApigeeSync", Version: "0.0.4", ExtraData: map[string]interface{}{ "schemaVersion": "0.0.2", }, }
Functions ¶
func SetLogger ¶
func SetLogger(logger apid.LogService)
Types ¶
type ApiManager ¶
type ApiManager struct {
// contains filtered or unexported fields
}
func (*ApiManager) InitAPI ¶
func (a *ApiManager) InitAPI(api apid.APIService)
type ExponentialBackoff ¶
type ExponentialBackoff struct {
Backoff
// contains filtered or unexported fields
}
func NewExponentialBackoff ¶
func NewExponentialBackoff(initial, max time.Duration, factor float64, jitter bool) *ExponentialBackoff
type OauthToken ¶
type OauthToken struct {
IssuedAt int64 `json:"issuedAt"`
AppName string `json:"applicationName"`
Scope string `json:"scope"`
Status string `json:"status"`
ApiProdList []string `json:"apiProductList"`
// in seconds
ExpiresIn int64 `json:"expiresIn"`
DeveloperEmail string `json:"developerEmail"`
TokenType string `json:"tokenType"`
ClientId string `json:"clientId"`
AccessToken string `json:"accessToken"`
RefreshExpIn int64 `json:"refreshTokenExpiresIn"`
RefreshCount int64 `json:"refreshCount"`
ExpiresAt time.Time
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.