Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type CloudFile ¶
type CloudFile struct { ID string `json:"id"` Name string `json:"name"` ConnectionType string `json:"connectionType"` Description string `json:"description"` Provider string `json:"provider"` FileExtension string `json:"fileExtension"` MimeType string `json:"mimeType"` RequestURL string `json:"requestUrl"` }
type Config ¶
type Config struct { Host string `mapstructure:"host" validate:"required"` Version string `mapstructure:"version" validate:"required"` // float as string Username string `mapstructure:"username"` Password string `mapstructure:"password" validate:"required_with=Username"` AuthToken string `mapstructure:"auth_token" validate:"required_without=Username"` SiteID string `mapstructure:"site_id" validate:"required_without=Username"` Sitename string `mapstructure:"sitename"` }
Config that holds a set of configuration for tableau extractor
type DatabaseInterface ¶
https://help.tableau.com/current/api/metadata_api/en-us/docs/meta_api_model.html
type DatabaseServer ¶
type DatabaseServer struct { ID string `json:"id"` Name string `json:"name"` ConnectionType string `json:"connectionType"` Description string `json:"description"` HostName string `json:"hostName"` Port int `json:"port"` Service string `json:"service"` }
func (*DatabaseServer) CreateResource ¶
func (dbs *DatabaseServer) CreateResource(tableInfo Table) (resource *v1beta2.Resource)
type Extractor ¶
type Extractor struct { plugins.BaseExtractor // contains filtered or unexported fields }
Extractor manages the extraction of data from tableau server
type File ¶
type Option ¶
type Option func(*Extractor)
Option provides extension abstraction to Extractor constructor
func WithHTTPClient ¶
WithHTTPClient assign custom http client to the Extractor constructor
type Pagination ¶
type WebDataConnector ¶
type WebDataConnector struct { ID string `json:"id"` Name string `json:"name"` ConnectionType string `json:"connectionType"` Description string `json:"description"` ConnectorURL string `json:"connectorUrl"` }
func (*WebDataConnector) CreateResource ¶
func (wdc *WebDataConnector) CreateResource(tableInfo Table) (resource *v1beta2.Resource)
type Workbook ¶
type Workbook struct { ID string `json:"id"` Name string `json:"name"` ProjectName string `json:"projectName"` URI string `json:"uri"` Description string `json:"description"` Owner Owner `json:"owner"` Sheets []*Sheet `json:"sheets"` UpstreamTables []*Table `json:"upstreamTables"` CreatedAt time.Time `json:"createdAt"` UpdatedAt time.Time `json:"updatedAt"` }
Click to show internal directories.
Click to hide internal directories.