Documentation ¶
Index ¶
- Constants
- type About
- type App
- type AppAvailabilityStatus
- type AppCondensed
- type AppExportResponse
- type AppObject
- type AppObjectCondensed
- type AuditMatrix
- type AuditMatrixElementCondensed
- type AuditMatrixParameters
- type AuditMatrixParametersResourceRefCondensed
- type AuditMatrixResourceCondensed
- type AuditMatrixSubjectCondensed
- type CPValueMap
- type CPValuesMap
- type ChangeEvent
- type ChangeEvents
- type ChangeType
- type Client
- func (c *Client) About() (*About, *util.Result)
- func (c *Client) AddAppCustomProperty(app *App, name, value string) *util.Result
- func (c *Client) ChangeAppOwner(appId, userId string) *util.Result
- func (c *Client) DeleteApp(id string) (*App, *util.Result)
- func (c *Client) DeleteSelection(id string) *util.Result
- func (c *Client) Do(method string, endpoint string, params map[string]string, body interface{}) ([]byte, *util.Result)
- func (c *Client) DownloadApp(id, dstPath string, skipData bool) *util.Result
- func (c *Client) DownloadAppContent(downloadPath, targetFolder string) (localPath string, res *util.Result)
- func (c *Client) ExportAppStaticContent(appid, targetFolder string) ([]string, *util.Result)
- func (c *Client) Get(endpoint string, opts ...rac.RequestOption) ([]byte, *util.Result)
- func (c *Client) GetApp(id string) (*App, *util.Result)
- func (c *Client) GetAppContent(downloadPath string) (data []byte, res *util.Result)
- func (c *Client) GetAppInfo(appid string) (*App, *util.Result)
- func (c *Client) GetAppList() ([]App, *util.Result)
- func (c *Client) GetAppObject(id string) (*AppObject, *util.Result)
- func (c *Client) GetAppReloadTask(appid string) (*ReloadTask, *util.Result)
- func (c *Client) GetAppStaticContentList(appid string) ([]StaticContentReferenceCondensed, *util.Result)
- func (c *Client) GetAppSynthetic(selId string) (*SyntheticRootEntity, *util.Result)
- func (c *Client) GetApps() ([]AppCondensed, *util.Result)
- func (c *Client) GetAppsWithTag(tagName string) ([]App, *util.Result)
- func (c *Client) GetCustomProperty(id string) (*CustomPropertyDefinition, *util.Result)
- func (c *Client) GetCustomPropertyList() ([]CustomPropertyDefinitionCondensed, *util.Result)
- func (c *Client) GetDataConnection(id string) (*DataConnection, *util.Result)
- func (c *Client) GetDataConnectionList() ([]DataConnectionCondensed, *util.Result)
- func (c *Client) GetDataConnections() ([]DataConnection, *util.Result)
- func (c *Client) GetHubApps() ([]App, *util.Result)
- func (c *Client) GetObject(endpoint string, o interface{}) *util.Result
- func (c *Client) GetReloadTask(taskId string) (*ReloadTask, *util.Result)
- func (c *Client) GetStaticContentList() ([]StaticContentReferenceCondensed, *util.Result)
- func (c *Client) GetStream(id string) (*Stream, *util.Result)
- func (c *Client) GetStreamList() ([]StreamCondensed, *util.Result)
- func (c *Client) GetStreams() ([]Stream, *util.Result)
- func (c *Client) GetTable(query TableQuery, def TableDefinition) (*Table, *util.Result)
- func (c *Client) GetTempContent(url *url.URL) ([]byte, *util.Result)
- func (c *Client) GetUser(userId string) (*User, *util.Result)
- func (c *Client) GetUserList() ([]UserCondensed, *util.Result)
- func (c *Client) GetUsers() ([]User, *util.Result)
- func (c *Client) Import(qvfPath, fallbackName string, skipData bool) (*App, *util.Result)
- func (c *Client) ImportReplace(qvfPath, targetAppID string, skipData bool) (*App, *util.Result)
- func (c *Client) IsUsingCert() bool
- func (c *Client) Logger() *zerolog.Logger
- func (c *Client) NewReloadTask(appid string, partial bool) (*ReloadTask, *util.Result)
- func (c *Client) Post(endpoint string, body interface{}, opts ...rac.RequestOption) ([]byte, *util.Result)
- func (c *Client) PublishApp(id, streamId, publishAppName string) (*App, *util.Result)
- func (c *Client) PublishReplaceApp(srcAppId, targetAppId string) (*App, *util.Result)
- func (c *Client) Reload(appid string, partial bool, timeout *time.Duration) (*ReloadTask, *util.Result)
- func (c *Client) SelectApp(id string) (*Selection, *util.Result)
- func (c *Client) SetLogger(l *zerolog.Logger)
- func (c *Client) Subscribe(sub Subscription) (string, *util.Result)
- func (c *Client) UpdateAppSynthetic(selId string, synthetic SyntheticRootEntity) *util.Result
- func (c *Client) WaitForReloadResult(taskId string, timeout *time.Duration) (*ReloadTask, *util.Result)
- type Config
- type CreateCustomProperty
- type CustomPropertyDefinition
- type CustomPropertyDefinitionCondensed
- type CustomPropertySyntheticValue
- type CustomPropertySyntheticValueItem
- type CustomPropertyValue
- type DataConnection
- type DataConnectionCondensed
- type ExecutionResultCondensed
- type ExecutionResultDetailCondensed
- type MapDiffType
- type MapDiffValue
- type ReloadTask
- type ReloadTaskCondensed
- type ReloadTaskOperationalCondensed
- type Selection
- type SelectionCondensed
- type SelectionItem
- type StaticContentReferenceCondensed
- type Stream
- type StreamCondensed
- type Subscription
- type SubscriptionResponse
- type SyntheticEntityCondensed
- type SyntheticPropertyCondensed
- type SyntheticRootEntity
- type Table
- type TableCol
- type TableDefinition
- type TableDefinitionColumn
- type TableDefinitionListColumn
- type TableQuery
- type TableQueryFilter
- type Tag
- type TagCondensed
- type TraceLogEntry
- type TraceLogTimeStamp
- type User
- type UserAttribute
- type UserCondensed
Constants ¶
View Source
const (
QLIK_XRF_KEY string = "abcdefghijklmnop"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type About ¶
type About struct { SchemaPath *string `json:"schemaPath,omitempty"` BuildVersion string `json:"buildVersion"` BuildDate string `json:"buildDate"` DatabaseProvider string `json:"databaseProvider"` NodeType int32 `json:"nodeType"` RequiresBootstrap bool `json:"requiresBootstrap"` SingleNodeOnly bool `json:"singleNodeOnly"` }
type App ¶
type App struct { Owner UserCondensed `json:"owner,omitempty"` Privileges []string `json:"privileges,omitempty"` PublishTime time.Time `json:"publishTime,omitempty"` MigrationHash string `json:"migrationHash,omitempty"` Thumbnail string `json:"thumbnail,omitempty"` SchemaPath string `json:"schemaPath,omitempty"` Description string `json:"description,omitempty"` SavedInProductVersion string `json:"savedInProductVersion,omitempty"` SourceAppID string `json:"sourceAppId,omitempty"` Published bool `json:"published"` Tags []Tag `json:"tags,omitempty"` LastReloadTime time.Time `json:"lastReloadTime,omitempty"` CreatedDate time.Time `json:"createdDate,omitempty"` CustomProperties []CustomPropertyValue `json:"customProperties,omitempty"` ModifiedByUserName string `json:"modifiedByUserName,omitempty"` Stream *StreamCondensed `json:"stream,omitempty"` FileSize int `json:"fileSize,omitempty"` AppID string `json:"appId,omitempty"` ModifiedDate time.Time `json:"modifiedDate,omitempty"` Name string `json:"name,omitempty"` DynamicColor string `json:"dynamicColor,omitempty"` ID string `json:"id,omitempty"` AvailabilityStatus int `json:"availabilityStatus,omitempty"` TargetAppID string `json:"targetAppId,omitempty"` }
type AppAvailabilityStatus ¶
type AppAvailabilityStatus int32
type AppCondensed ¶
type AppCondensed struct { Id *string `json:"id,omitempty"` Privileges []string `json:"privileges,omitempty"` Name string `json:"name"` AppId *string `json:"appId,omitempty"` PublishTime *time.Time `json:"publishTime,omitempty"` Published *bool `json:"published,omitempty"` Stream *StreamCondensed `json:"stream,omitempty"` SavedInProductVersion *string `json:"savedInProductVersion,omitempty"` MigrationHash *string `json:"migrationHash,omitempty"` AvailabilityStatus *AppAvailabilityStatus `json:"availabilityStatus,omitempty"` }
type AppExportResponse ¶
type AppObject ¶
type AppObject struct { Id *string `json:"id,omitempty"` CreatedDate *time.Time `json:"createdDate,omitempty"` ModifiedDate *time.Time `json:"modifiedDate,omitempty"` ModifiedByUserName *string `json:"modifiedByUserName,omitempty"` SchemaPath *string `json:"schemaPath,omitempty"` Privileges []string `json:"privileges,omitempty"` Owner UserCondensed `json:"owner"` Name *string `json:"name,omitempty"` EngineObjectId *string `json:"engineObjectId,omitempty"` App AppCondensed `json:"app"` ContentHash *string `json:"contentHash,omitempty"` Size *int64 `json:"size,omitempty"` EngineObjectType *string `json:"engineObjectType,omitempty"` Description *string `json:"description,omitempty"` Attributes *string `json:"attributes,omitempty"` ObjectType string `json:"objectType"` PublishTime *time.Time `json:"publishTime,omitempty"` Published *bool `json:"published,omitempty"` Approved *bool `json:"approved,omitempty"` Tags []TagCondensed `json:"tags,omitempty"` SourceObject *string `json:"sourceObject,omitempty"` DraftObject *string `json:"draftObject,omitempty"` AppObjectBlobId *string `json:"appObjectBlobId,omitempty"` }
type AppObjectCondensed ¶
type AppObjectCondensed struct { Id *string `json:"id,omitempty"` Privileges []string `json:"privileges,omitempty"` Name *string `json:"name,omitempty"` EngineObjectId *string `json:"engineObjectId,omitempty"` ContentHash *string `json:"contentHash,omitempty"` EngineObjectType *string `json:"engineObjectType,omitempty"` Description *string `json:"description,omitempty"` ObjectType string `json:"objectType"` PublishTime *time.Time `json:"publishTime,omitempty"` Published *bool `json:"published,omitempty"` }
type AuditMatrix ¶
type AuditMatrix struct { SchemaPath string `json:"schemaPath,omitempty"` Matrix []AuditMatrixElementCondensed `json:"matrix,omitempty"` Resources map[string]AuditMatrixResourceCondensed `json:"resources,omitempty"` Subjects map[string]AuditMatrixSubjectCondensed `json:"subjects,omitempty"` }
type AuditMatrixParameters ¶
type AuditMatrixParameters struct { SchemaPath string `json:"schemaPath,omitempty"` ResourceRef AuditMatrixParametersResourceRefCondensed `json:"resourceRef"` SubjectRef AuditMatrixParametersResourceRefCondensed `json:"subjectRef"` ResourceType string `json:"resourceType,omitempty"` Actions int64 `json:"actions,omitempty"` EnvironmentAttributes string `json:"environmentAttributes,omitempty"` AuditLimit int32 `json:"auditLimit,omitempty"` SubjectStart string `json:"subjectStart,omitempty"` SubjectProperties []string `json:"subjectProperties,omitempty"` ResourceProperties []string `json:"resourceProperties,omitempty"` OutputObjectsPrivileges int64 `json:"outputObjectsPrivileges,omitempty"` }
type CPValueMap ¶
type CPValueMap map[string]*CustomPropertyValue
func NewCPMap ¶
func NewCPMap(cps []CustomPropertyValue) CPValueMap
func (CPValueMap) Diff ¶
func (left CPValueMap) Diff(right CPValueMap) []MapDiffValue
type CPValuesMap ¶
type CPValuesMap map[string]map[string]int // map[PropertyName][PropertyValue] = PropertyValueCount;
func NewCPValuesMap ¶
func NewCPValuesMap(cps []CustomPropertyValue) CPValuesMap
type ChangeEvent ¶
type ChangeEvent struct { ChangeType ChangeType `json:"changeType,omitempty"` ObjectType string `json:"objectType,omitempty"` ObjectID string `json:"objectID,omitempty"` ChangedProperties []string `json:"changedProperties,omitempty"` EngineID string `json:"engineID,omitempty"` EngineType string `json:"engineType,omitempty"` OriginatorNodeID string `json:"originatorNodeID,omitempty"` OriginatorHostName string `json:"originatorHostName,omitempty"` OriginatorContextID string `json:"originatorContextID,omitempty"` CreatedDate time.Time `json:"createdDate,omitempty"` ModifiedDate time.Time `json:"modifiedDate,omitempty"` SchemaPath string `json:"schemaPath,omitempty"` }
type ChangeEvents ¶
type ChangeEvents []ChangeEvent
type ChangeType ¶
type ChangeType int
func (*ChangeType) MarshalJSON ¶
func (t *ChangeType) MarshalJSON() ([]byte, error)
func (ChangeType) String ¶
func (t ChangeType) String() string
type Client ¶
type Client struct { Cfg Config `json:"config" yaml:"config"` // contains filtered or unexported fields }
func (*Client) AddAppCustomProperty ¶
func (*Client) DownloadApp ¶
func (*Client) DownloadAppContent ¶
func (*Client) ExportAppStaticContent ¶
returns list of exported static content, saved as full file path
func (*Client) GetAppContent ¶
func (*Client) GetAppReloadTask ¶
func (c *Client) GetAppReloadTask(appid string) (*ReloadTask, *util.Result)
func (*Client) GetAppStaticContentList ¶
func (c *Client) GetAppStaticContentList(appid string) ([]StaticContentReferenceCondensed, *util.Result)
func (*Client) GetAppSynthetic ¶
func (c *Client) GetAppSynthetic(selId string) (*SyntheticRootEntity, *util.Result)
func (*Client) GetAppsWithTag ¶
func (*Client) GetCustomProperty ¶
func (c *Client) GetCustomProperty(id string) (*CustomPropertyDefinition, *util.Result)
func (*Client) GetCustomPropertyList ¶
func (c *Client) GetCustomPropertyList() ([]CustomPropertyDefinitionCondensed, *util.Result)
func (*Client) GetDataConnection ¶
func (c *Client) GetDataConnection(id string) (*DataConnection, *util.Result)
func (*Client) GetDataConnectionList ¶
func (c *Client) GetDataConnectionList() ([]DataConnectionCondensed, *util.Result)
func (*Client) GetDataConnections ¶
func (c *Client) GetDataConnections() ([]DataConnection, *util.Result)
func (*Client) GetReloadTask ¶
func (c *Client) GetReloadTask(taskId string) (*ReloadTask, *util.Result)
func (*Client) GetStaticContentList ¶
func (c *Client) GetStaticContentList() ([]StaticContentReferenceCondensed, *util.Result)
func (*Client) GetStreamList ¶
func (c *Client) GetStreamList() ([]StreamCondensed, *util.Result)
func (*Client) GetTable ¶
func (c *Client) GetTable(query TableQuery, def TableDefinition) (*Table, *util.Result)
func (*Client) GetTempContent ¶
func (*Client) GetUserList ¶
func (c *Client) GetUserList() ([]UserCondensed, *util.Result)
func (*Client) ImportReplace ¶
func (*Client) IsUsingCert ¶
func (*Client) NewReloadTask ¶
func (*Client) PublishApp ¶
func (*Client) PublishReplaceApp ¶
func (*Client) UpdateAppSynthetic ¶
func (c *Client) UpdateAppSynthetic(selId string, synthetic SyntheticRootEntity) *util.Result
func (*Client) WaitForReloadResult ¶
type Config ¶
func NewConfigFromEngine ¶
type CreateCustomProperty ¶
type CreateCustomProperty struct { Value string `json:"value"` Definition CustomPropertyDefinition `json:"definition"` }
CreateCustomProperty is used to create Qlik Sense CustomProperty
type CustomPropertyDefinition ¶
type CustomPropertyDefinition struct { Privileges []string `json:"privileges"` CreatedDate time.Time `json:"createdDate"` ModifiedByUserName string `json:"modifiedByUserName"` SchemaPath string `json:"schemaPath"` ValueType string `json:"valueType"` ModifiedDate time.Time `json:"modifiedDate"` Name string `json:"name"` Description string `json:"description"` ChoiceValues []string `json:"choiceValues"` ID string `json:"id"` ObjectTypes []string `json:"objectTypes"` }
CustomPropertyDefinition is used to describe Qlik Sense CustomPropertyDefinition
type CustomPropertyDefinitionCondensed ¶
type CustomPropertyDefinitionCondensed struct { Privileges []string `json:"privileges"` ValueType string `json:"valueType"` Name string `json:"name"` ChoiceValues []string `json:"choiceValues"` ID string `json:"id"` }
CustomPropertyDefinitionCondensed is used to decribe Qlik Sense CustomPropertyDefinition in Condensed format
type CustomPropertySyntheticValue ¶
type CustomPropertySyntheticValue struct { Values []CustomPropertySyntheticValueItem `json:"values,omitempty"` Removed []string `json:"removed,omitempty"` Added []string `json:"added,omitempty"` }
type CustomPropertyValue ¶
type CustomPropertyValue struct { CreatedDate time.Time `json:"createdDate"` ModifiedByUserName string `json:"modifiedByUserName"` SchemaPath string `json:"schemaPath"` ModifiedDate time.Time `json:"modifiedDate"` Definition CustomPropertyDefinitionCondensed `json:"definition"` ID string `json:"id"` Value string `json:"value"` }
type DataConnection ¶
type DataConnection struct { Id *string `json:"id,omitempty"` CreatedDate *time.Time `json:"createdDate,omitempty"` ModifiedDate *time.Time `json:"modifiedDate,omitempty"` ModifiedByUserName *string `json:"modifiedByUserName,omitempty"` SchemaPath *string `json:"schemaPath,omitempty"` Privileges []string `json:"privileges,omitempty"` CustomProperties []CustomPropertyValue `json:"customProperties,omitempty"` Owner UserCondensed `json:"owner"` Name string `json:"name"` Connectionstring string `json:"connectionstring"` Type *string `json:"type,omitempty"` EngineObjectId *string `json:"engineObjectId,omitempty"` Username *string `json:"username,omitempty"` Password *string `json:"password,omitempty"` LogOn *int32 `json:"logOn,omitempty"` Architecture *int32 `json:"architecture,omitempty"` Tags []Tag `json:"tags,omitempty"` }
type DataConnectionCondensed ¶
type DataConnectionCondensed struct { Id *string `json:"id,omitempty"` Privileges []string `json:"privileges,omitempty"` Name string `json:"name"` Connectionstring string `json:"connectionstring"` Type *string `json:"type,omitempty"` EngineObjectId *string `json:"engineObjectId,omitempty"` Username *string `json:"username,omitempty"` Password *string `json:"password,omitempty"` LogOn *int32 `json:"logOn,omitempty"` Architecture *int32 `json:"architecture,omitempty"` }
type ExecutionResultCondensed ¶
type ExecutionResultCondensed struct { Id *string `json:"id,omitempty"` Privileges []string `json:"privileges,omitempty"` ExecutingNodeName *string `json:"executingNodeName,omitempty"` Status *int32 `json:"status,omitempty"` StartTime *time.Time `json:"startTime,omitempty"` StopTime *time.Time `json:"stopTime,omitempty"` Duration *int32 `json:"duration,omitempty"` FileReferenceID *string `json:"fileReferenceID,omitempty"` ScriptLogAvailable *bool `json:"scriptLogAvailable,omitempty"` Details []ExecutionResultDetailCondensed `json:"details,omitempty"` ScriptLogLocation *string `json:"scriptLogLocation,omitempty"` ScriptLogSize *int64 `json:"scriptLogSize,omitempty"` }
type MapDiffType ¶
type MapDiffType int
func (MapDiffType) String ¶
func (t MapDiffType) String() string
type MapDiffValue ¶
type MapDiffValue struct { Type MapDiffType Key string Left *CustomPropertyValue Right *CustomPropertyValue }
type ReloadTask ¶
type ReloadTask struct { Id *string `json:"id,omitempty"` CreatedDate *time.Time `json:"createdDate,omitempty"` ModifiedDate *time.Time `json:"modifiedDate,omitempty"` ModifiedByUserName *string `json:"modifiedByUserName,omitempty"` SchemaPath *string `json:"schemaPath,omitempty"` Privileges []string `json:"privileges,omitempty"` CustomProperties []CustomPropertyValue `json:"customProperties,omitempty"` Name string `json:"name"` TaskType *int32 `json:"taskType,omitempty"` Enabled *bool `json:"enabled,omitempty"` TaskSessionTimeout int32 `json:"taskSessionTimeout"` MaxRetries int32 `json:"maxRetries"` Tags []TagCondensed `json:"tags,omitempty"` App AppCondensed `json:"app"` IsManuallyTriggered *bool `json:"isManuallyTriggered,omitempty"` Operational *ReloadTaskOperationalCondensed `json:"operational,omitempty"` }
type ReloadTaskCondensed ¶
type ReloadTaskCondensed struct { Id *string `json:"id,omitempty"` Privileges []string `json:"privileges,omitempty"` Name string `json:"name"` TaskType *int32 `json:"taskType,omitempty"` Enabled *bool `json:"enabled,omitempty"` TaskSessionTimeout int32 `json:"taskSessionTimeout"` MaxRetries int32 `json:"maxRetries"` Operational *ReloadTaskOperationalCondensed `json:"operational,omitempty"` }
type ReloadTaskOperationalCondensed ¶
type ReloadTaskOperationalCondensed struct { Id *string `json:"id,omitempty"` Privileges []string `json:"privileges,omitempty"` LastExecutionResult *ExecutionResultCondensed `json:"lastExecutionResult,omitempty"` NextExecution *time.Time `json:"nextExecution,omitempty"` }
type Selection ¶
type Selection struct { Id *string `json:"id,omitempty"` CreatedDate *time.Time `json:"createdDate,omitempty"` ModifiedDate *time.Time `json:"modifiedDate,omitempty"` ModifiedByUserName *string `json:"modifiedByUserName,omitempty"` SchemaPath *string `json:"schemaPath,omitempty"` Privileges []string `json:"privileges,omitempty"` Items []SelectionItem `json:"items,omitempty"` }
type SelectionCondensed ¶
type SelectionItem ¶
type SelectionItem struct { Id *string `json:"id,omitempty"` CreatedDate *time.Time `json:"createdDate,omitempty"` ModifiedDate *time.Time `json:"modifiedDate,omitempty"` ModifiedByUserName *string `json:"modifiedByUserName,omitempty"` SchemaPath *string `json:"schemaPath,omitempty"` Type string `json:"type"` ObjectID string `json:"objectID"` ObjectName *string `json:"objectName,omitempty"` }
type StaticContentReferenceCondensed ¶
type StaticContentReferenceCondensed struct { ID *string `json:"id,omitempty"` Privileges []string `json:"privileges,omitempty"` DataLocation *string `json:"dataLocation,omitempty"` LogicalPath string `json:"logicalPath,omitempty"` ExternalPath *string `json:"externalPath,omitempty"` ServeOptions int `json:"serveOptions,omitempty"` }
type Stream ¶
type Stream struct { ID string `json:"id"` Name string `json:"name"` Tags []Tag `json:"tags"` CreatedDate time.Time `json:"createdDate"` ModifiedDate time.Time `json:"modifiedDate"` ModifiedByUserName string `json:"modifiedByUserName"` SchemaPath string `json:"schemaPath"` Privileges []string `json:"privileges"` CustomProperties []CustomPropertyValue `json:"customProperties"` Owner UserCondensed `json:"owner"` }
type StreamCondensed ¶
type Subscription ¶
type Subscription struct { TypeName *string `json:"type_name,omitempty" yaml:"type_name,omitempty"` ObjectId *string `json:"object_id,omitempty" yaml:"object_id,omitempty"` Filter *string `json:"filter,omitempty" yaml:"filter,omitempty"` Condition *string `json:"condition,omitempty" yaml:"condition,omitempty"` ChangeType *string `json:"change_type,omitempty" yaml:"change_type,omitempty"` PropertyName *string `json:"property_name,omitempty" yaml:"property_name,omitempty"` CallbackURL string `json:"callback_url,omitempty" yaml:"callback_url,omitempty"` }
func (Subscription) GetParams ¶
func (s Subscription) GetParams() map[string]string
type SubscriptionResponse ¶
type SubscriptionResponse struct {
Value string
}
type SyntheticEntityCondensed ¶
type SyntheticEntityCondensed struct { SchemaPath *string `json:"schemaPath,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` Access []string `json:"access,omitempty"` Children []SyntheticEntityCondensed `json:"children,omitempty"` Properties []SyntheticPropertyCondensed `json:"properties,omitempty"` }
type SyntheticRootEntity ¶
type SyntheticRootEntity struct { SchemaPath *string `json:"schemaPath,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` Access []string `json:"access,omitempty"` Children []SyntheticEntityCondensed `json:"children,omitempty"` Properties []SyntheticPropertyCondensed `json:"properties,omitempty"` LatestModifiedDate *time.Time `json:"latestModifiedDate,omitempty"` }
type TableDefinition ¶
type TableDefinition struct { Id *string `json:"id,omitempty"` Entity *string `json:"entity,omitempty"` CreatedDate *time.Time `json:"createdDate,omitempty"` ModifiedDate *time.Time `json:"modifiedDate,omitempty"` ModifiedByUserName *string `json:"modifiedByUserName,omitempty"` SchemaPath *string `json:"schemaPath,omitempty"` Privileges []string `json:"privileges,omitempty"` Type *string `json:"type,omitempty"` Columns []TableDefinitionColumn `json:"columns,omitempty"` }
func NewDefaultTableDefinition ¶
func NewDefaultTableDefinition() *TableDefinition
type TableDefinitionColumn ¶
type TableDefinitionColumn struct { Id *string `json:"id,omitempty"` CreatedDate *time.Time `json:"createdDate,omitempty"` ModifiedDate *time.Time `json:"modifiedDate,omitempty"` ModifiedByUserName *string `json:"modifiedByUserName,omitempty"` SchemaPath *string `json:"schemaPath,omitempty"` Name *string `json:"name,omitempty"` ColumnType *string `json:"columnType,omitempty"` Definition *string `json:"definition,omitempty"` List []TableDefinitionListColumn `json:"list,omitempty"` }
func TablePropertyColumnOf ¶
func TablePropertyColumnOf(name string) TableDefinitionColumn
type TableDefinitionListColumn ¶
type TableDefinitionListColumn struct { Id *string `json:"id,omitempty"` CreatedDate *time.Time `json:"createdDate,omitempty"` ModifiedDate *time.Time `json:"modifiedDate,omitempty"` ModifiedByUserName *string `json:"modifiedByUserName,omitempty"` SchemaPath *string `json:"schemaPath,omitempty"` Name *string `json:"name,omitempty"` ColumnType *int32 `json:"columnType,omitempty"` Definition *string `json:"definition,omitempty"` }
type TableQuery ¶
type TableQuery struct { Filter TableQueryFilter OrderAscending bool Skip int SortColumn string Take int }
func NewTableQuery ¶
func NewTableQuery() *TableQuery
func (TableQuery) GetParams ¶
func (q TableQuery) GetParams() map[string]string
type TableQueryFilter ¶
func (TableQueryFilter) String ¶
func (f TableQueryFilter) String() string
type TagCondensed ¶
type TraceLogEntry ¶
type TraceLogEntry struct { Timestamp TraceLogTimeStamp `csv:"Timestamp"` Level string `csv:"Level"` Hostname string `csv:"Hostname"` Logger string `csv:"Logger"` Thread string `csv:"Thread"` Id string `csv:"Id"` ServiceUser string `csv:"ServiceUser"` Message string `csv:"Message"` ProxySessionId string `csv:"ProxySessionId"` Action string `csv:"Action"` ActiveUserDirectory string `csv:"ActiveUserDirectory"` ActiveUserId string `csv:"ActiveUserId"` ResourceId string `csv:"ResourceId"` Checksum string `csv:"Checksum"` }
func ReadTraceLogFile ¶
func ReadTraceLogFile(file string) ([]TraceLogEntry, *util.Result)
type TraceLogTimeStamp ¶
func (*TraceLogTimeStamp) UnmarshalCSV ¶
func (date *TraceLogTimeStamp) UnmarshalCSV(csv string) (err error)
type User ¶
type User struct { ID string `json:"id"` CreatedDate time.Time `json:"createdDate"` ModifiedDate time.Time `json:"modifiedDate"` ModifiedByUserName string `json:"modifiedByUserName"` CustomProperties []CustomPropertyValue `json:"customProperties"` UserID string `json:"userId"` UserDirectory string `json:"userDirectory"` Name string `json:"name"` Roles []string `json:"roles"` Attributes []UserAttribute `json:"attributes"` Inactive bool `json:"inactive"` RemovedExternally bool `json:"removedExternally"` Blacklisted bool `json:"blacklisted"` DeleteProhibited bool `json:"deleteProhibited"` Tags []Tag `json:"tags"` Privileges []string `json:"privileges"` SchemaPath string `json:"schemaPath"` }
type UserAttribute ¶
type UserAttribute struct { ID string `json:"id"` CreatedDate time.Time `json:"createdDate"` ModifiedDate time.Time `json:"modifiedDate"` ModifiedByUserName string `json:"modifiedByUserName"` AttributeType string `json:"attributeType"` AttributeValue string `json:"attributeValue"` ExternalID string `json:"externalId"` SchemaPath string `json:"schemaPath"` }
Click to show internal directories.
Click to hide internal directories.