Documentation ¶
Index ¶
- func CanonicalizeExternalAttributeName(s string) string
- func ExternalAttributeNames() []string
- func ExternalAttributeNamesCanonicalMap() map[string]string
- type Call
- type CallInfo
- type Connection
- type ConnectionFile
- type ConnectionSet
- type ExternalAttr
- type ExternalAttrNamesOpts
- type ExternalAttributeCall
- type ExternalAttributeCallResponses
- type ExternalAttributeValue
- type ExternalAttrs
- type ObjectSummary
- type ObjectSummaryInformation
- type Objects
- type Requests
- type RequestsAttribute
- type Responses
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExternalAttributeNames ¶
func ExternalAttributeNames() []string
Types ¶
type Call ¶
type Call struct { Connection string `json:"connection"` HTTPContentType string `json:"httpContentType"` HTTPHeaders map[string]string `json:"httpHeaders"` HTTPMethod string `json:"httpMethod"` HTTPParams string `json:"httpParams"` Name string `json:"name"` URL string `json:"url"` SuccessResponses Responses `json:"successResponses"` }
type CallInfo ¶
type CallInfo struct { AccountIDPath string `json:"accountIdPath,omitempty"` ResponseColsToPropsMap map[string]string `json:"responseColsToPropsMap,omitempty"` Call []Call `json:"call,omitempty"` }
func (CallInfo) CallBodies ¶
type Connection ¶
type Connection struct { ConnectionKey string `json:"_connectionKey"` ConnectionDescription string `json:"connectiondescription"` ConnectionName string `json:"connectionname"` Connectorms bool `json:"connectorms"` ConnectorType *string `json:"connectorType"` CredentialChangeConfig *string `json:"credentialChangeConfig"` ExternalConnectionType string `json:"externalconnectiontype"` MSConnectorVersion *string `json:"msconnectorversion"` SSLCertificate *string `json:"sslCertificate"` SSLCertificateID *string `json:"sslCertificateId"` Status int `json:"status"` StatusForEnableDisable int `json:"statusForEnableDisable"` TemplateMandatoryData string `json:"templateMandatoryData"` TemplateName string `json:"templateName"` VaultConfig *string `json:"vaultConfig"` VaultCredentialConnection *string `json:"vaultCredentialConnection"` ExternalAttrs ExternalAttrs `json:"EXTERNAL_ATTR"` }
func (Connection) WriteExternalAttributeJSONFiles ¶
func (c Connection) WriteExternalAttributeJSONFiles(dir string, templateNameAsDir, templateNameAsFilePrefix, writeHTTPParamsFile bool) error
type ConnectionFile ¶
type ConnectionFile map[string]Connection
func ReadConnectionFile ¶
func ReadConnectionFile(filename string) (*ConnectionFile, error)
func (ConnectionFile) Names ¶
func (cm ConnectionFile) Names() []string
func (ConnectionFile) WriteExternalAttributeJSONFiles ¶
func (cm ConnectionFile) WriteExternalAttributeJSONFiles(dir string, templateNameAsDir, templateNameAsFilePrefix, writeHTTPParamsFile bool) error
type ConnectionSet ¶
type ConnectionSet struct {
Map ConnectionFile
}
func NewConnectionSet ¶
func NewConnectionSet() ConnectionSet
func (*ConnectionSet) ExtendedAttributes ¶
func (set *ConnectionSet) ExtendedAttributes() *histogram.HistogramSet
func (*ConnectionSet) ExtendedAttributesWriteXLSX ¶
func (set *ConnectionSet) ExtendedAttributesWriteXLSX(filename string) error
type ExternalAttr ¶
type ExternalAttr struct { AttributeName string `json:"attributename"` CredentialSaveStatus bool `json:"credentialSaveStatus"` EncryptedAttributeValue string `json:"encryptedattributevalue"` Formdata *string `json:"formdata"` }
func (ExternalAttr) CanonicalAttrributeName ¶
func (ea ExternalAttr) CanonicalAttrributeName() string
func (ExternalAttr) HasEncryptedAttributeValue ¶
func (ea ExternalAttr) HasEncryptedAttributeValue() bool
func (ExternalAttr) HasEncryptedAttributeValueJSONMap ¶
func (ea ExternalAttr) HasEncryptedAttributeValueJSONMap() bool
func (ExternalAttr) ParseEncryptedAttributeValueJSONMap ¶
func (ea ExternalAttr) ParseEncryptedAttributeValueJSONMap() (ExternalAttributeValue, error)
type ExternalAttrNamesOpts ¶
type ExternalAttributeCall ¶
type ExternalAttributeCall struct { Name string `json:"name"` Connection string `json:"connection"` URL string `json:"url"` HTTPMethod string `json:"httpMethod"` HTTPParams string `json:"httpParams"` HTTPHeaders map[string]string `json:"httpHeaders"` HTTPContentType string `json:"httpContentType"` SuccessResponses ExternalAttributeCallResponses `json:"successResponses"` }
type ExternalAttributeCallResponses ¶
type ExternalAttributeCallResponses struct {
StatusCodes []int `json:"statusCode"`
}
type ExternalAttributeValue ¶
type ExternalAttributeValue struct { AccountIDPath string `json:"accountIdPath"` ResponseColsToPropsMap map[string]any `json:"responseColsToPropsMap"` Call []ExternalAttributeCall `json:"call"` }
type ExternalAttrs ¶
type ExternalAttrs []ExternalAttr
func (ExternalAttrs) CallBodies ¶
func (eas ExternalAttrs) CallBodies() []string
func (ExternalAttrs) Inflate ¶
func (eas ExternalAttrs) Inflate() ExternalAttrs
func (ExternalAttrs) Markdown ¶
func (eas ExternalAttrs) Markdown() []string
func (ExternalAttrs) Names ¶
func (eas ExternalAttrs) Names(opts ExternalAttrNamesOpts) []string
type ObjectSummary ¶
type ObjectSummary struct { Objects Objects `json:"Objects"` Information ObjectSummaryInformation `json:"Information"` }
type Requests ¶
type Requests struct { AccountIDPath string `json:"accountIdPath"` ResponseColsToPropsMap map[string]string `json:"responseColsToPropsMap"` Calls []Call `json:"call"` }
func (Requests) MustString ¶
type RequestsAttribute ¶
func (RequestsAttribute) ExtendedAttr ¶
func (ra RequestsAttribute) ExtendedAttr() (ExternalAttr, error)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.