Documentation ¶
Index ¶
- Constants
- func InjectGenApikeyRequest(s *GenApikeyRequest)
- func InjectWso2AgentConfig(s *Wso2AgentConfig)
- func InjectWso2DevportalRequest(s *Wso2DevportalRequest)
- func LoadGenApikeyRequest() baseiface.ISingleton
- func LoadWso2AgentConfig() baseiface.ISingleton
- func LoadWso2DevportalRequest() baseiface.ISingleton
- type ApikeyResult
- type GenApikeyRequest
- type Wso2AgentConfig
- type Wso2DevportalRequest
Constants ¶
View Source
const ( PRODUCT = "PRODUCTION" SANDBOX = "SANDBOX" URL_QUERY_APP = "/applications?query={{.appName}}&sortBy=name&sortOrder=asc&limit=10&offset=0" URL_GEN_APIKEY = "/applications/{{.appUuid}}/api-keys/{{.prodKeyType}}/generate" URL_DEMO_ICEASY = "https://192.168.27.74:8243/iceasy/1" )
Variables ¶
This section is empty.
Functions ¶
func InjectGenApikeyRequest ¶
func InjectGenApikeyRequest(s *GenApikeyRequest)
func InjectWso2AgentConfig ¶
func InjectWso2AgentConfig(s *Wso2AgentConfig)
func InjectWso2DevportalRequest ¶
func InjectWso2DevportalRequest(s *Wso2DevportalRequest)
func LoadGenApikeyRequest ¶
func LoadGenApikeyRequest() baseiface.ISingleton
func LoadWso2AgentConfig ¶
func LoadWso2AgentConfig() baseiface.ISingleton
func LoadWso2DevportalRequest ¶
func LoadWso2DevportalRequest() baseiface.ISingleton
Types ¶
type ApikeyResult ¶
func NewApikeyResult ¶
func NewApikeyResult() *ApikeyResult
type GenApikeyRequest ¶
type GenApikeyRequest struct { basedto.BaseEntity ValidityPeriod int `json:"validityPeriod"` AdditionalProperties struct { PermittedIP string `json:"permittedIP"` PermittedReferer string `json:"permittedReferer"` } `json:"additionalProperties"` }
func FindBeanGenApikeyRequest ¶
func FindBeanGenApikeyRequest() *GenApikeyRequest
FindBeanGenApikeyRequest
type Wso2AgentConfig ¶
type Wso2AgentConfig struct { basedto.BaseEntity DomainHost string Username string Password string }
publisher devportal
func FindBeanWso2AgentConfig ¶
func FindBeanWso2AgentConfig() *Wso2AgentConfig
FindBeanWso2AgentConfig
func NewWso2AgentConfig ¶
func NewWso2AgentConfig() *Wso2AgentConfig
func (*Wso2AgentConfig) Init ¶
func (self *Wso2AgentConfig) Init() *Wso2AgentConfig
type Wso2DevportalRequest ¶
type Wso2DevportalRequest struct { basedto.BaseEntity BaseUrl string AppName string Url string // contains filtered or unexported fields }
func FindBeanWso2DevportalRequest ¶
func FindBeanWso2DevportalRequest() *Wso2DevportalRequest
FindBeanWso2DevportalRequest
func New ¶
func New(pkeyType string, appUuid string) *Wso2DevportalRequest
func NewWso2DevportalRequest ¶
func NewWso2DevportalRequest() *Wso2DevportalRequest
func (*Wso2DevportalRequest) ToQueryAppUrl ¶
func (self *Wso2DevportalRequest) ToQueryAppUrl() string
func (*Wso2DevportalRequest) ToUrl ¶
func (self *Wso2DevportalRequest) ToUrl() string
Click to show internal directories.
Click to hide internal directories.