Versions in this module Expand all Collapse all v0 v0.1.0 Jul 12, 2022 Changes in this version + const ErrCodeInternal + type Client struct + DataSources *dataSourcesService + Projects *projectsService + SiteID string + UserAgent string + func NewClient(serverAddr, personalAccessTokenName, personalAccessTokenSecret, site string) (*Client, error) + type CreateProjectRequest struct + ContentPermissions ProjectContentPermission + Description string + Name string + ParentProjectId string + type DataSource struct + CertificationNote string + ContentUrl string + CreatedAt time.Time + Description string + EncryptExtracts string + ID string + IsCertified bool + Name string + Owner struct{ ... } + Project struct{ ... } + Tags map[string]string + Type string + UpdatedAt time.Time + UseRemoteQueryAgent bool + WebpageUrl string + type DeleteDataSourceRequest struct + ID string + type DeleteProjectRequest struct + ID string + type Error struct + Code string + Meta map[string]string + func (e *Error) Error() string + type GetDataSourceRequest struct + ID string + type Project struct + ContentCounts struct{ ... } + ContentPermissions string + ControllingPermissionsProjectId string + CreatedAt time.Time + Description string + ID string + Name string + Owner struct{ ... } + ParentProjectId string + TopLevelProject bool + UpdatedAt time.Time + Writeable bool + type ProjectContentPermission string + const ProjectContentPermissionLockedToProject + const ProjectContentPermissionLockedToProjectWithoutNested + const ProjectContentPermissionManagedByOwner + type QueryOption func(*QueryOptions) error + func WithFilterExpression(filterExp string) QueryOption + func WithPageNumber(pageNumber int) QueryOption + func WithPageSize(pageSize int) QueryOption + func WithSortExpression(sortExp string) QueryOption + type QueryOptions struct + URLValues *url.Values + type UpdateProjectRequest struct + ContentPermissions ProjectContentPermission + Description string + ID string + Name string + ParentProjectId string