Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AttemptInfoUnion ¶
type AttemptInfoUnion struct {
Type string
GeneralAttempt *GeneralAttemptInfo
}
func NewAttemptInfoUnionFromGeneralAttempt ¶
func NewAttemptInfoUnionFromGeneralAttempt(value *GeneralAttemptInfo) *AttemptInfoUnion
func (*AttemptInfoUnion) Accept ¶
func (a *AttemptInfoUnion) Accept(visitor AttemptInfoUnionVisitor) error
func (AttemptInfoUnion) MarshalJSON ¶
func (a AttemptInfoUnion) MarshalJSON() ([]byte, error)
func (*AttemptInfoUnion) UnmarshalJSON ¶
func (a *AttemptInfoUnion) UnmarshalJSON(data []byte) error
type AttemptInfoUnionVisitor ¶
type AttemptInfoUnionVisitor interface {
VisitGeneralAttempt(*GeneralAttemptInfo) error
}
type GeneralAttemptInfo ¶
type GeneralAttemptInfo struct {
Timestamp time.Time `json:"timestamp" url:"timestamp"`
Request *GeneralRequestInfo `json:"request,omitempty" url:"request,omitempty"`
Response *GeneralResponseInfo `json:"response,omitempty" url:"response,omitempty"`
// contains filtered or unexported fields
}
func (*GeneralAttemptInfo) GetExtraProperties ¶
func (g *GeneralAttemptInfo) GetExtraProperties() map[string]interface{}
func (*GeneralAttemptInfo) MarshalJSON ¶
func (g *GeneralAttemptInfo) MarshalJSON() ([]byte, error)
func (*GeneralAttemptInfo) String ¶
func (g *GeneralAttemptInfo) String() string
func (*GeneralAttemptInfo) UnmarshalJSON ¶
func (g *GeneralAttemptInfo) UnmarshalJSON(data []byte) error
type GeneralRequestInfo ¶
type GeneralRequestInfo struct {
Method HttpMethod `json:"method" url:"method"`
Url string `json:"url" url:"url"`
Params map[string]string `json:"params,omitempty" url:"params,omitempty"`
Headers map[string]string `json:"headers,omitempty" url:"headers,omitempty"`
Body *string `json:"body,omitempty" url:"body,omitempty"`
// contains filtered or unexported fields
}
func (*GeneralRequestInfo) GetExtraProperties ¶
func (g *GeneralRequestInfo) GetExtraProperties() map[string]interface{}
func (*GeneralRequestInfo) String ¶
func (g *GeneralRequestInfo) String() string
func (*GeneralRequestInfo) UnmarshalJSON ¶
func (g *GeneralRequestInfo) UnmarshalJSON(data []byte) error
type GeneralResponseInfo ¶
type GeneralResponseInfo struct {
StatusCode int `json:"statusCode" url:"statusCode"`
Body *string `json:"body,omitempty" url:"body,omitempty"`
Headers map[string]string `json:"headers,omitempty" url:"headers,omitempty"`
Error *string `json:"error,omitempty" url:"error,omitempty"`
// contains filtered or unexported fields
}
func (*GeneralResponseInfo) GetExtraProperties ¶
func (g *GeneralResponseInfo) GetExtraProperties() map[string]interface{}
func (*GeneralResponseInfo) String ¶
func (g *GeneralResponseInfo) String() string
func (*GeneralResponseInfo) UnmarshalJSON ¶
func (g *GeneralResponseInfo) UnmarshalJSON(data []byte) error
type HttpMethod ¶
type HttpMethod string
const ( HttpMethodGet HttpMethod = "GET" HttpMethodPost HttpMethod = "POST" HttpMethodPut HttpMethod = "PUT" HttpMethodDelete HttpMethod = "DELETE" HttpMethodPatch HttpMethod = "PATCH" HttpMethodOptions HttpMethod = "OPTIONS" HttpMethodHead HttpMethod = "HEAD" HttpMethodConnect HttpMethod = "CONNECT" HttpMethodTrace HttpMethod = "TRACE" )
func NewHttpMethodFromString ¶
func NewHttpMethodFromString(s string) (HttpMethod, error)
func (HttpMethod) Ptr ¶
func (h HttpMethod) Ptr() *HttpMethod
type ModuleName ¶
type ModuleName string
const (
ModuleNameOwaLogin ModuleName = "OWA_LOGIN"
)
func NewModuleNameFromString ¶
func NewModuleNameFromString(s string) (ModuleName, error)
func (ModuleName) Ptr ¶
func (m ModuleName) Ptr() *ModuleName
type PortalConfig ¶
type PortalConfig struct {
PortalType PortalType `json:"portalType" url:"portalType"`
ModuleName ModuleName `json:"moduleName" url:"moduleName"`
Attempts int `json:"attempts" url:"attempts"`
Username string `json:"username" url:"username"`
Password string `json:"password" url:"password"`
AgentHeader string `json:"agentHeader" url:"agentHeader"`
ClientId string `json:"clientId" url:"clientId"`
TenantId string `json:"tenantId" url:"tenantId"`
Interval int `json:"interval" url:"interval"`
Timeout int `json:"timeout" url:"timeout"`
// contains filtered or unexported fields
}
func (*PortalConfig) GetExtraProperties ¶
func (p *PortalConfig) GetExtraProperties() map[string]interface{}
func (*PortalConfig) String ¶
func (p *PortalConfig) String() string
func (*PortalConfig) UnmarshalJSON ¶
func (p *PortalConfig) UnmarshalJSON(data []byte) error
type PortalReport ¶
type PortalReport struct {
PortalType PortalType `json:"portalType" url:"portalType"`
ModuleName ModuleName `json:"moduleName" url:"moduleName"`
Triggers []*Trigger `json:"triggers,omitempty" url:"triggers,omitempty"`
Errors []string `json:"errors,omitempty" url:"errors,omitempty"`
// contains filtered or unexported fields
}
func (*PortalReport) GetExtraProperties ¶
func (p *PortalReport) GetExtraProperties() map[string]interface{}
func (*PortalReport) String ¶
func (p *PortalReport) String() string
func (*PortalReport) UnmarshalJSON ¶
func (p *PortalReport) UnmarshalJSON(data []byte) error
type PortalType ¶
type PortalType string
const (
PortalTypeAzure PortalType = "AZURE"
)
func NewPortalTypeFromString ¶
func NewPortalTypeFromString(s string) (PortalType, error)
func (PortalType) Ptr ¶
func (p PortalType) Ptr() *PortalType
type ResponseUnion ¶
type ResponseUnion struct {
Type string
GeneralResponse *GeneralResponseInfo
}
func NewResponseUnionFromGeneralResponse ¶
func NewResponseUnionFromGeneralResponse(value *GeneralResponseInfo) *ResponseUnion
func (*ResponseUnion) Accept ¶
func (r *ResponseUnion) Accept(visitor ResponseUnionVisitor) error
func (ResponseUnion) MarshalJSON ¶
func (r ResponseUnion) MarshalJSON() ([]byte, error)
func (*ResponseUnion) UnmarshalJSON ¶
func (r *ResponseUnion) UnmarshalJSON(data []byte) error
type ResponseUnionVisitor ¶
type ResponseUnionVisitor interface {
VisitGeneralResponse(*GeneralResponseInfo) error
}
type Trigger ¶
type Trigger struct {
Target string `json:"target" url:"target"`
AttemptInfo *AttemptInfoUnion `json:"AttemptInfo,omitempty" url:"AttemptInfo,omitempty"`
// contains filtered or unexported fields
}
func (*Trigger) GetExtraProperties ¶
func (*Trigger) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.