wso2dto

package
v1.0.1-rel-02 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: AFL-3.0 Imports: 5 Imported by: 0

Documentation

Index

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

type ApikeyResult struct {
	Apikey       string `json:"apikey"`
	ValidityTime int    `json:"validityTime"`
}

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

func NewGenApikeyRequest

func NewGenApikeyRequest() *GenApikeyRequest

genurl

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

Jump to

Keyboard shortcuts

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