Documentation
¶
Index ¶
- type DestinationConfig
- func (dc *DestinationConfig) Auth(value string) *DestinationConfig
- func (dc *DestinationConfig) AuthType(value string) *DestinationConfig
- func (dc *DestinationConfig) Bucket(value string) *DestinationConfig
- func (dc *DestinationConfig) Catalog(value string) *DestinationConfig
- func (dc *DestinationConfig) ClientId(value string) *DestinationConfig
- func (dc *DestinationConfig) ClusterId(value string) *DestinationConfig
- func (dc *DestinationConfig) ClusterRegion(value string) *DestinationConfig
- func (dc *DestinationConfig) ConnectionType(value string) *DestinationConfig
- func (dc *DestinationConfig) ContainerName(value string) *DestinationConfig
- func (dc *DestinationConfig) CreateExternalTables(value bool) *DestinationConfig
- func (dc *DestinationConfig) DataSetLocation(value string) *DestinationConfig
- func (dc *DestinationConfig) Database(value string) *DestinationConfig
- func (dc *DestinationConfig) ExternalLocation(value string) *DestinationConfig
- func (dc *DestinationConfig) FivetranRoleArn(value string) *DestinationConfig
- func (dc *DestinationConfig) HTTPPath(value string) *DestinationConfig
- func (dc *DestinationConfig) Host(value string) *DestinationConfig
- func (dc *DestinationConfig) IsPrivateKeyEncrypted(value bool) *DestinationConfig
- func (dc *DestinationConfig) LakehouseName(value string) *DestinationConfig
- func (dc *DestinationConfig) Passphrase(value string) *DestinationConfig
- func (dc *DestinationConfig) Password(value string) *DestinationConfig
- func (dc *DestinationConfig) PersonalAccessToken(value string) *DestinationConfig
- func (dc *DestinationConfig) Port(value int) *DestinationConfig
- func (dc *DestinationConfig) PrefixPath(value string) *DestinationConfig
- func (dc *DestinationConfig) PrivateKey(value string) *DestinationConfig
- func (dc *DestinationConfig) ProjectID(value string) *DestinationConfig
- func (dc *DestinationConfig) Region(value string) *DestinationConfig
- func (dc *DestinationConfig) Request() *destinationConfigRequest
- func (dc *DestinationConfig) Role(value string) *DestinationConfig
- func (dc *DestinationConfig) RoleArn(value string) *DestinationConfig
- func (dc *DestinationConfig) SecretKey(value string) *DestinationConfig
- func (dc *DestinationConfig) SecretValue(value string) *DestinationConfig
- func (dc *DestinationConfig) ServerHostName(value string) *DestinationConfig
- func (dc *DestinationConfig) StorageAccountName(value string) *DestinationConfig
- func (dc *DestinationConfig) TenantId(value string) *DestinationConfig
- func (dc *DestinationConfig) TunnelHost(value string) *DestinationConfig
- func (dc *DestinationConfig) TunnelPort(value string) *DestinationConfig
- func (dc *DestinationConfig) TunnelUser(value string) *DestinationConfig
- func (dc *DestinationConfig) User(value string) *DestinationConfig
- func (dc *DestinationConfig) WorkspaceName(value string) *DestinationConfig
- type DestinationConfigResponse
- type DestinationCreateService
- func (s *DestinationCreateService) Config(value *DestinationConfig) *DestinationCreateService
- func (s *DestinationCreateService) ConfigCustom(value *map[string]interface{}) *DestinationCreateService
- func (s *DestinationCreateService) DaylightSavingTimeEnabled(value bool) *DestinationCreateService
- func (s *DestinationCreateService) Do(ctx context.Context) (DestinationDetailsWithSetupTestsResponse, error)
- func (s *DestinationCreateService) DoCustom(ctx context.Context) (DestinationDetailsWithSetupTestsCustomResponse, error)
- func (s *DestinationCreateService) GroupID(value string) *DestinationCreateService
- func (s *DestinationCreateService) HybridDeploymentAgentId(value string) *DestinationCreateService
- func (s *DestinationCreateService) NetworkingMethod(value string) *DestinationCreateService
- func (s *DestinationCreateService) PrivateLinkId(value string) *DestinationCreateService
- func (s *DestinationCreateService) Region(value string) *DestinationCreateService
- func (s *DestinationCreateService) RunSetupTests(value bool) *DestinationCreateService
- func (s *DestinationCreateService) Service(value string) *DestinationCreateService
- func (s *DestinationCreateService) TimeZoneOffset(value string) *DestinationCreateService
- func (s *DestinationCreateService) TrustCertificates(value bool) *DestinationCreateService
- func (s *DestinationCreateService) TrustFingerprints(value bool) *DestinationCreateService
- type DestinationDeleteService
- type DestinationDetailsBase
- type DestinationDetailsCustomResponse
- type DestinationDetailsResponse
- type DestinationDetailsService
- type DestinationDetailsWithSetupTestsCustomResponse
- type DestinationDetailsWithSetupTestsResponse
- type DestinationModifyService
- func (s *DestinationModifyService) Config(value *DestinationConfig) *DestinationModifyService
- func (s *DestinationModifyService) ConfigCustom(value *map[string]interface{}) *DestinationModifyService
- func (s *DestinationModifyService) DaylightSavingTimeEnabled(value bool) *DestinationModifyService
- func (s *DestinationModifyService) DestinationID(value string) *DestinationModifyService
- func (s *DestinationModifyService) Do(ctx context.Context) (DestinationDetailsWithSetupTestsResponse, error)
- func (s *DestinationModifyService) DoCustom(ctx context.Context) (DestinationDetailsWithSetupTestsCustomResponse, error)
- func (s *DestinationModifyService) HybridDeploymentAgentId(value string) *DestinationModifyService
- func (s *DestinationModifyService) NetworkingMethod(value string) *DestinationModifyService
- func (s *DestinationModifyService) PrivateLinkId(value string) *DestinationModifyService
- func (s *DestinationModifyService) Region(value string) *DestinationModifyService
- func (s *DestinationModifyService) RunSetupTests(value bool) *DestinationModifyService
- func (s *DestinationModifyService) TimeZoneOffset(value string) *DestinationModifyService
- func (s *DestinationModifyService) TrustCertificates(value bool) *DestinationModifyService
- func (s *DestinationModifyService) TrustFingerprints(value bool) *DestinationModifyService
- type DestinationSetupTestsService
- func (s *DestinationSetupTestsService) DestinationID(value string) *DestinationSetupTestsService
- func (s *DestinationSetupTestsService) Do(ctx context.Context) (DestinationDetailsWithSetupTestsResponse, error)
- func (s *DestinationSetupTestsService) TrustCertificates(value bool) *DestinationSetupTestsService
- func (s *DestinationSetupTestsService) TrustFingerprints(value bool) *DestinationSetupTestsService
- type DestinationsListResponse
- type DestinationsListService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DestinationConfig ¶
type DestinationConfig struct {
// contains filtered or unexported fields
}
DestinationConfig builds Destination Management, Destination Config. Ref. https://fivetran.com/docs/rest-api/destinations/config
func (*DestinationConfig) Auth ¶
func (dc *DestinationConfig) Auth(value string) *DestinationConfig
func (*DestinationConfig) AuthType ¶
func (dc *DestinationConfig) AuthType(value string) *DestinationConfig
func (*DestinationConfig) Bucket ¶
func (dc *DestinationConfig) Bucket(value string) *DestinationConfig
func (*DestinationConfig) Catalog ¶
func (dc *DestinationConfig) Catalog(value string) *DestinationConfig
func (*DestinationConfig) ClientId ¶ added in v0.7.13
func (dc *DestinationConfig) ClientId(value string) *DestinationConfig
func (*DestinationConfig) ClusterId ¶
func (dc *DestinationConfig) ClusterId(value string) *DestinationConfig
func (*DestinationConfig) ClusterRegion ¶
func (dc *DestinationConfig) ClusterRegion(value string) *DestinationConfig
func (*DestinationConfig) ConnectionType ¶
func (dc *DestinationConfig) ConnectionType(value string) *DestinationConfig
func (*DestinationConfig) ContainerName ¶ added in v0.7.13
func (dc *DestinationConfig) ContainerName(value string) *DestinationConfig
func (*DestinationConfig) CreateExternalTables ¶
func (dc *DestinationConfig) CreateExternalTables(value bool) *DestinationConfig
func (*DestinationConfig) DataSetLocation ¶
func (dc *DestinationConfig) DataSetLocation(value string) *DestinationConfig
func (*DestinationConfig) Database ¶
func (dc *DestinationConfig) Database(value string) *DestinationConfig
func (*DestinationConfig) ExternalLocation ¶
func (dc *DestinationConfig) ExternalLocation(value string) *DestinationConfig
func (*DestinationConfig) FivetranRoleArn ¶
func (dc *DestinationConfig) FivetranRoleArn(value string) *DestinationConfig
func (*DestinationConfig) HTTPPath ¶
func (dc *DestinationConfig) HTTPPath(value string) *DestinationConfig
func (*DestinationConfig) Host ¶
func (dc *DestinationConfig) Host(value string) *DestinationConfig
func (*DestinationConfig) IsPrivateKeyEncrypted ¶
func (dc *DestinationConfig) IsPrivateKeyEncrypted(value bool) *DestinationConfig
func (*DestinationConfig) LakehouseName ¶ added in v0.7.14
func (dc *DestinationConfig) LakehouseName(value string) *DestinationConfig
func (*DestinationConfig) Passphrase ¶
func (dc *DestinationConfig) Passphrase(value string) *DestinationConfig
func (*DestinationConfig) Password ¶
func (dc *DestinationConfig) Password(value string) *DestinationConfig
func (*DestinationConfig) PersonalAccessToken ¶
func (dc *DestinationConfig) PersonalAccessToken(value string) *DestinationConfig
func (*DestinationConfig) Port ¶
func (dc *DestinationConfig) Port(value int) *DestinationConfig
func (*DestinationConfig) PrefixPath ¶
func (dc *DestinationConfig) PrefixPath(value string) *DestinationConfig
func (*DestinationConfig) PrivateKey ¶
func (dc *DestinationConfig) PrivateKey(value string) *DestinationConfig
func (*DestinationConfig) ProjectID ¶
func (dc *DestinationConfig) ProjectID(value string) *DestinationConfig
func (*DestinationConfig) Region ¶
func (dc *DestinationConfig) Region(value string) *DestinationConfig
func (*DestinationConfig) Request ¶
func (dc *DestinationConfig) Request() *destinationConfigRequest
func (*DestinationConfig) Role ¶
func (dc *DestinationConfig) Role(value string) *DestinationConfig
func (*DestinationConfig) RoleArn ¶
func (dc *DestinationConfig) RoleArn(value string) *DestinationConfig
func (*DestinationConfig) SecretKey ¶
func (dc *DestinationConfig) SecretKey(value string) *DestinationConfig
func (*DestinationConfig) SecretValue ¶ added in v0.7.13
func (dc *DestinationConfig) SecretValue(value string) *DestinationConfig
func (*DestinationConfig) ServerHostName ¶
func (dc *DestinationConfig) ServerHostName(value string) *DestinationConfig
func (*DestinationConfig) StorageAccountName ¶ added in v0.7.13
func (dc *DestinationConfig) StorageAccountName(value string) *DestinationConfig
func (*DestinationConfig) TenantId ¶ added in v0.7.13
func (dc *DestinationConfig) TenantId(value string) *DestinationConfig
func (*DestinationConfig) TunnelHost ¶
func (dc *DestinationConfig) TunnelHost(value string) *DestinationConfig
func (*DestinationConfig) TunnelPort ¶
func (dc *DestinationConfig) TunnelPort(value string) *DestinationConfig
func (*DestinationConfig) TunnelUser ¶
func (dc *DestinationConfig) TunnelUser(value string) *DestinationConfig
func (*DestinationConfig) User ¶
func (dc *DestinationConfig) User(value string) *DestinationConfig
func (*DestinationConfig) WorkspaceName ¶ added in v0.7.14
func (dc *DestinationConfig) WorkspaceName(value string) *DestinationConfig
type DestinationConfigResponse ¶
type DestinationConfigResponse struct { Host string `json:"host"` Port string `json:"port"` // Port is sent as `string` but returned as `int`. T-97508 Database string `json:"database"` Auth string `json:"auth"` User string `json:"user"` Password string `json:"password"` ConnectionType string `json:"connection_type"` // ConnectionMethod is the REST API's response of ConnectionType. T-111758 TunnelHost string `json:"tunnel_host"` TunnelPort string `json:"tunnel_port"` TunnelUser string `json:"tunnel_user"` ProjectID string `json:"project_id"` DataSetLocation string `json:"data_set_location"` Location string `json:"location"` // Big Query returns `data_set_location` as `location` in response (will be fixed with migration to API V2) Bucket string `json:"bucket"` ServerHostName string `json:"server_host_name"` HTTPPath string `json:"http_path"` PersonalAccessToken string `json:"personal_access_token"` CreateExternalTables string `json:"create_external_tables"` ExternalLocation string `json:"external_location"` AuthType string `json:"auth_type"` RoleArn string `json:"role_arn"` SecretKey string `json:"secret_key"` PublicKey string `json:"public_key"` // Readonly field PrivateKey string `json:"private_key"` ClusterId string `json:"cluster_id"` ClusterRegion string `json:"cluster_region"` Role string `json:"role"` IsPrivateKeyEncrypted bool `json:"is_private_key_encrypted"` Passphrase string `json:"passphrase"` Catalog string `json:"catalog"` FivetranRoleArn string `json:"fivetran_role_arn"` PrefixPath string `json:"prefix_path"` Region string `json:"region"` StorageAccountName string `json:"storage_account_name"` ContainerName string `json:"container_name"` TenantId string `json:"tenant_id"` ClientId string `json:"client_id"` SecretValue string `json:"secret_value"` WorkspaceName string `json:"workspace_name"` LakehouseName string `json:"lakehouse_name"` }
type DestinationCreateService ¶ added in v0.8.0
type DestinationCreateService struct { httputils.HttpService // contains filtered or unexported fields }
DestinationCreateService implements the Destination Management, Create a Destination API. Ref. https://fivetran.com/docs/rest-api/destinations#createadestination
func (*DestinationCreateService) Config ¶ added in v0.8.0
func (s *DestinationCreateService) Config(value *DestinationConfig) *DestinationCreateService
func (*DestinationCreateService) ConfigCustom ¶ added in v0.8.3
func (s *DestinationCreateService) ConfigCustom(value *map[string]interface{}) *DestinationCreateService
func (*DestinationCreateService) DaylightSavingTimeEnabled ¶ added in v0.8.4
func (s *DestinationCreateService) DaylightSavingTimeEnabled(value bool) *DestinationCreateService
func (*DestinationCreateService) Do ¶ added in v0.8.0
func (s *DestinationCreateService) Do(ctx context.Context) (DestinationDetailsWithSetupTestsResponse, error)
func (*DestinationCreateService) DoCustom ¶ added in v0.8.3
func (s *DestinationCreateService) DoCustom(ctx context.Context) (DestinationDetailsWithSetupTestsCustomResponse, error)
func (*DestinationCreateService) GroupID ¶ added in v0.8.0
func (s *DestinationCreateService) GroupID(value string) *DestinationCreateService
func (*DestinationCreateService) HybridDeploymentAgentId ¶ added in v1.0.0
func (s *DestinationCreateService) HybridDeploymentAgentId(value string) *DestinationCreateService
func (*DestinationCreateService) NetworkingMethod ¶ added in v0.8.6
func (s *DestinationCreateService) NetworkingMethod(value string) *DestinationCreateService
func (*DestinationCreateService) PrivateLinkId ¶ added in v0.8.6
func (s *DestinationCreateService) PrivateLinkId(value string) *DestinationCreateService
func (*DestinationCreateService) Region ¶ added in v0.8.0
func (s *DestinationCreateService) Region(value string) *DestinationCreateService
func (*DestinationCreateService) RunSetupTests ¶ added in v0.8.0
func (s *DestinationCreateService) RunSetupTests(value bool) *DestinationCreateService
func (*DestinationCreateService) Service ¶ added in v0.8.0
func (s *DestinationCreateService) Service(value string) *DestinationCreateService
func (*DestinationCreateService) TimeZoneOffset ¶ added in v0.8.0
func (s *DestinationCreateService) TimeZoneOffset(value string) *DestinationCreateService
func (*DestinationCreateService) TrustCertificates ¶ added in v0.8.0
func (s *DestinationCreateService) TrustCertificates(value bool) *DestinationCreateService
func (*DestinationCreateService) TrustFingerprints ¶ added in v0.8.0
func (s *DestinationCreateService) TrustFingerprints(value bool) *DestinationCreateService
type DestinationDeleteService ¶ added in v0.8.0
type DestinationDeleteService struct { httputils.HttpService // contains filtered or unexported fields }
DestinationDeleteService implements the Destination Management, Delete a destination API. Ref. https://fivetran.com/docs/rest-api/destinations#deleteadestination
func (*DestinationDeleteService) DestinationID ¶ added in v0.8.0
func (s *DestinationDeleteService) DestinationID(value string) *DestinationDeleteService
func (*DestinationDeleteService) Do ¶ added in v0.8.0
func (s *DestinationDeleteService) Do(ctx context.Context) (common.CommonResponse, error)
type DestinationDetailsBase ¶
type DestinationDetailsBase struct { ID string `json:"id"` GroupID string `json:"group_id"` Service string `json:"service"` Region string `json:"region"` TimeZoneOffset string `json:"time_zone_offset"` SetupStatus string `json:"setup_status"` PrivateLinkId string `json:"private_link_id"` HybridDeploymentAgentId string `json:"hybrid_deployment_agent_id"` NetworkingMethod string `json:"networking_method"` DaylightSavingTimeEnabled bool `json:"daylight_saving_time_enabled"` }
type DestinationDetailsCustomResponse ¶ added in v0.8.3
type DestinationDetailsCustomResponse struct { Code string `json:"code"` Message string `json:"message"` Data struct { DestinationDetailsBase Config map[string]interface{} `json:"config"` } `json:"data"` }
type DestinationDetailsResponse ¶
type DestinationDetailsResponse struct { Code string `json:"code"` Message string `json:"message"` Data struct { DestinationDetailsBase Config DestinationConfigResponse `json:"config"` } `json:"data"` }
type DestinationDetailsService ¶ added in v0.8.0
type DestinationDetailsService struct { httputils.HttpService // contains filtered or unexported fields }
DestinationDetailsService implements the Destination Management, Retrieve destination details API. Ref. https://fivetran.com/docs/rest-api/destinations#retrievedestinationdetails
func (*DestinationDetailsService) DestinationID ¶ added in v0.8.0
func (s *DestinationDetailsService) DestinationID(value string) *DestinationDetailsService
func (*DestinationDetailsService) Do ¶ added in v0.8.0
func (s *DestinationDetailsService) Do(ctx context.Context) (DestinationDetailsResponse, error)
func (*DestinationDetailsService) DoCustom ¶ added in v0.8.3
func (s *DestinationDetailsService) DoCustom(ctx context.Context) (DestinationDetailsCustomResponse, error)
type DestinationDetailsWithSetupTestsCustomResponse ¶ added in v0.8.3
type DestinationDetailsWithSetupTestsCustomResponse struct { common.CommonResponse Data struct { DestinationDetailsBase Config map[string]interface{} `json:"config"` SetupTests []common.SetupTestResponse `json:"setup_tests"` } `json:"data"` }
type DestinationDetailsWithSetupTestsResponse ¶
type DestinationDetailsWithSetupTestsResponse struct { common.CommonResponse Data struct { DestinationDetailsBase Config DestinationConfigResponse `json:"config"` SetupTests []common.SetupTestResponse `json:"setup_tests"` } `json:"data"` }
type DestinationModifyService ¶ added in v0.8.0
type DestinationModifyService struct { httputils.HttpService // contains filtered or unexported fields }
DestinationModifyService implements the Destination Management, Modify a Destination API. Ref. https://fivetran.com/docs/rest-api/destinations#modifyadestination
func (*DestinationModifyService) Config ¶ added in v0.8.0
func (s *DestinationModifyService) Config(value *DestinationConfig) *DestinationModifyService
func (*DestinationModifyService) ConfigCustom ¶ added in v0.8.3
func (s *DestinationModifyService) ConfigCustom(value *map[string]interface{}) *DestinationModifyService
func (*DestinationModifyService) DaylightSavingTimeEnabled ¶ added in v0.8.4
func (s *DestinationModifyService) DaylightSavingTimeEnabled(value bool) *DestinationModifyService
func (*DestinationModifyService) DestinationID ¶ added in v0.8.0
func (s *DestinationModifyService) DestinationID(value string) *DestinationModifyService
func (*DestinationModifyService) Do ¶ added in v0.8.0
func (s *DestinationModifyService) Do(ctx context.Context) (DestinationDetailsWithSetupTestsResponse, error)
func (*DestinationModifyService) DoCustom ¶ added in v0.8.3
func (s *DestinationModifyService) DoCustom(ctx context.Context) (DestinationDetailsWithSetupTestsCustomResponse, error)
func (*DestinationModifyService) HybridDeploymentAgentId ¶ added in v1.0.0
func (s *DestinationModifyService) HybridDeploymentAgentId(value string) *DestinationModifyService
func (*DestinationModifyService) NetworkingMethod ¶ added in v0.8.6
func (s *DestinationModifyService) NetworkingMethod(value string) *DestinationModifyService
func (*DestinationModifyService) PrivateLinkId ¶ added in v0.8.6
func (s *DestinationModifyService) PrivateLinkId(value string) *DestinationModifyService
func (*DestinationModifyService) Region ¶ added in v0.8.0
func (s *DestinationModifyService) Region(value string) *DestinationModifyService
func (*DestinationModifyService) RunSetupTests ¶ added in v0.8.0
func (s *DestinationModifyService) RunSetupTests(value bool) *DestinationModifyService
func (*DestinationModifyService) TimeZoneOffset ¶ added in v0.8.0
func (s *DestinationModifyService) TimeZoneOffset(value string) *DestinationModifyService
func (*DestinationModifyService) TrustCertificates ¶ added in v0.8.0
func (s *DestinationModifyService) TrustCertificates(value bool) *DestinationModifyService
func (*DestinationModifyService) TrustFingerprints ¶ added in v0.8.0
func (s *DestinationModifyService) TrustFingerprints(value bool) *DestinationModifyService
type DestinationSetupTestsService ¶ added in v0.8.0
type DestinationSetupTestsService struct { httputils.HttpService // contains filtered or unexported fields }
DestinationSetupTestsService implements the Destination Management, Run destination setup tests API. Ref. https://fivetran.com/docs/rest-api/destinations#rundestinationsetuptests
func (*DestinationSetupTestsService) DestinationID ¶ added in v0.8.0
func (s *DestinationSetupTestsService) DestinationID(value string) *DestinationSetupTestsService
func (*DestinationSetupTestsService) Do ¶ added in v0.8.0
func (s *DestinationSetupTestsService) Do(ctx context.Context) (DestinationDetailsWithSetupTestsResponse, error)
func (*DestinationSetupTestsService) TrustCertificates ¶ added in v0.8.0
func (s *DestinationSetupTestsService) TrustCertificates(value bool) *DestinationSetupTestsService
func (*DestinationSetupTestsService) TrustFingerprints ¶ added in v0.8.0
func (s *DestinationSetupTestsService) TrustFingerprints(value bool) *DestinationSetupTestsService
type DestinationsListResponse ¶ added in v1.0.7
type DestinationsListResponse struct { common.CommonResponse Data struct { Items []DestinationDetailsBase `json:"items"` NextCursor string `json:"next_cursor"` } `json:"data"` }
type DestinationsListService ¶ added in v1.0.7
type DestinationsListService struct { httputils.HttpService // contains filtered or unexported fields }
func (*DestinationsListService) Cursor ¶ added in v1.0.7
func (s *DestinationsListService) Cursor(value string) *DestinationsListService
func (*DestinationsListService) Do ¶ added in v1.0.7
func (s *DestinationsListService) Do(ctx context.Context) (DestinationsListResponse, error)
func (*DestinationsListService) Limit ¶ added in v1.0.7
func (s *DestinationsListService) Limit(value int) *DestinationsListService