Documentation
¶
Overview ¶
Code generated by baton-sdk. DO NOT EDIT!!!
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( AccessTokenName = field.StringField( "access-token-name", field.WithRequired(true), field.WithDisplayName("Access Token Name"), field.WithDescription("Access token name used to connect to the Tableau API"), ) AccessTokenSecret = field.StringField( "access-token-secret", field.WithRequired(true), field.WithDisplayName("Access Token Secret"), field.WithDescription("Access token secret used to connect to the Tableau API"), field.WithIsSecret(true), ) ServerPath = field.StringField( "server-path", field.WithRequired(true), field.WithDisplayName("Server Path"), field.WithDescription("Base URL of your Tableau Server or Tableau Cloud instance"), ) SiteID = field.StringField( "site-id", field.WithDisplayName("Site ID"), field.WithDescription("On Tableau Server, this is referred to as Site ID. On Tableau Cloud"), ) APIVersion = field.StringField( "api-version", field.WithDisplayName("API Version"), field.WithDescription("API version of your Tableau Server or Tableau Cloud instance"), ) ConfigurationFields = []field.SchemaField{ AccessTokenName, AccessTokenSecret, ServerPath, SiteID, APIVersion, } // FieldRelationships defines relationships between the ConfigurationFields that can be automatically validated. // For example, a username and password can be required together, or an access token can be // marked as mutually exclusive from the username password pair. FieldRelationships = []field.SchemaFieldRelationship{} )
View Source
var Config = field.NewConfiguration( ConfigurationFields, field.WithConstraints(FieldRelationships...), field.WithConnectorDisplayName("Tableau"), field.WithHelpUrl("/docs/baton/tableau"), field.WithIconUrl("/static/app-icons/tableau.svg"), )
Functions ¶
This section is empty.
Types ¶
type Tableau ¶
type Tableau struct {
AccessTokenName string `mapstructure:"access-token-name"`
AccessTokenSecret string `mapstructure:"access-token-secret"`
ServerPath string `mapstructure:"server-path"`
SiteId string `mapstructure:"site-id"`
ApiVersion string `mapstructure:"api-version"`
}
func (*Tableau) GetStringSlice ¶
Click to show internal directories.
Click to hide internal directories.