Versions in this module Expand all Collapse all v0 v0.0.1 Nov 1, 2024 Changes in this version + type AttemptInfoUnion struct + GeneralAttempt *GeneralAttemptInfo + Type string + func NewAttemptInfoUnionFromGeneralAttempt(value *GeneralAttemptInfo) *AttemptInfoUnion + func (a *AttemptInfoUnion) Accept(visitor AttemptInfoUnionVisitor) error + func (a *AttemptInfoUnion) UnmarshalJSON(data []byte) error + func (a AttemptInfoUnion) MarshalJSON() ([]byte, error) + type AttemptInfoUnionVisitor interface + VisitGeneralAttempt func(*GeneralAttemptInfo) error + type GeneralAttemptInfo struct + Request *GeneralRequestInfo + Response *GeneralResponseInfo + Timestamp time.Time + func (g *GeneralAttemptInfo) GetExtraProperties() map[string]interface{} + func (g *GeneralAttemptInfo) MarshalJSON() ([]byte, error) + func (g *GeneralAttemptInfo) String() string + func (g *GeneralAttemptInfo) UnmarshalJSON(data []byte) error + type GeneralRequestInfo struct + Body *string + Headers map[string]string + Method HttpMethod + Params map[string]string + Url string + func (g *GeneralRequestInfo) GetExtraProperties() map[string]interface{} + func (g *GeneralRequestInfo) String() string + func (g *GeneralRequestInfo) UnmarshalJSON(data []byte) error + type GeneralResponseInfo struct + Body *string + Error *string + Headers map[string]string + StatusCode int + func (g *GeneralResponseInfo) GetExtraProperties() map[string]interface{} + func (g *GeneralResponseInfo) String() string + func (g *GeneralResponseInfo) UnmarshalJSON(data []byte) error + type HttpMethod string + const HttpMethodConnect + const HttpMethodDelete + const HttpMethodGet + const HttpMethodHead + const HttpMethodOptions + const HttpMethodPatch + const HttpMethodPost + const HttpMethodPut + const HttpMethodTrace + func NewHttpMethodFromString(s string) (HttpMethod, error) + func (h HttpMethod) Ptr() *HttpMethod + type ModuleName string + const ModuleNameOwaLogin + func NewModuleNameFromString(s string) (ModuleName, error) + func (m ModuleName) Ptr() *ModuleName + type PortalConfig struct + AgentHeader string + Attempts int + ClientId string + Interval int + ModuleName ModuleName + Password string + PortalType PortalType + TenantId string + Timeout int + Username string + func (p *PortalConfig) GetExtraProperties() map[string]interface{} + func (p *PortalConfig) String() string + func (p *PortalConfig) UnmarshalJSON(data []byte) error + type PortalReport struct + Errors []string + ModuleName ModuleName + PortalType PortalType + Triggers []*Trigger + func (p *PortalReport) GetExtraProperties() map[string]interface{} + func (p *PortalReport) String() string + func (p *PortalReport) UnmarshalJSON(data []byte) error + type PortalType string + const PortalTypeAzure + func NewPortalTypeFromString(s string) (PortalType, error) + func (p PortalType) Ptr() *PortalType + type ResponseUnion struct + GeneralResponse *GeneralResponseInfo + Type string + func NewResponseUnionFromGeneralResponse(value *GeneralResponseInfo) *ResponseUnion + func (r *ResponseUnion) Accept(visitor ResponseUnionVisitor) error + func (r *ResponseUnion) UnmarshalJSON(data []byte) error + func (r ResponseUnion) MarshalJSON() ([]byte, error) + type ResponseUnionVisitor interface + VisitGeneralResponse func(*GeneralResponseInfo) error + type Trigger struct + AttemptInfo *AttemptInfoUnion + Target string + func (t *Trigger) GetExtraProperties() map[string]interface{} + func (t *Trigger) String() string + func (t *Trigger) UnmarshalJSON(data []byte) error