config

package
v0.0.0-...-2ba887c Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AgentConfig

type AgentConfig struct {
	CentralCfg corecfg.CentralConfig `config:"central"`
	GatewayCfg *WSO2Config           `config:"wso2"`
}

AgentConfig - represents the config for agent

type WSO2Config

type WSO2Config struct {
	corecfg.IConfigValidator
	Basepath      string `config:"basepath"`
	TokenEndpoint string `config:"tokenEndpoint"`
	Username      string `config:"username"`
	Password      string `config:"password"`
	ClientSecret  string `config:"clientSecret"`
	ClientID      string `config:"clientId"`
	Tag           string `config:"tag"`
	Scope         string `config:"scope"`
}

WSO2Config - represents the config for WSO2gateway

func (*WSO2Config) ValidateCfg

func (c *WSO2Config) ValidateCfg() (err error)

ValidateCfg - Validates the gateway config

Jump to

Keyboard shortcuts

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