Documentation
¶
Index ¶
- type ExternalLoggingConfig
- func (elc *ExternalLoggingConfig) ApiKey(value string) *ExternalLoggingConfig
- func (elc *ExternalLoggingConfig) Channel(value string) *ExternalLoggingConfig
- func (elc *ExternalLoggingConfig) EnableSsl(value bool) *ExternalLoggingConfig
- func (elc *ExternalLoggingConfig) ExternalId(value string) *ExternalLoggingConfig
- func (elc *ExternalLoggingConfig) Host(value string) *ExternalLoggingConfig
- func (elc *ExternalLoggingConfig) Hostname(value string) *ExternalLoggingConfig
- func (elc *ExternalLoggingConfig) LogGroupName(value string) *ExternalLoggingConfig
- func (cc *ExternalLoggingConfig) Merge(customConfig *map[string]interface{}) (*map[string]interface{}, error)
- func (elc *ExternalLoggingConfig) Port(value int) *ExternalLoggingConfig
- func (elc *ExternalLoggingConfig) PrimaryKey(value string) *ExternalLoggingConfig
- func (elc *ExternalLoggingConfig) Region(value string) *ExternalLoggingConfig
- func (elc *ExternalLoggingConfig) Request() *externalLoggingConfigRequest
- func (elc *ExternalLoggingConfig) RoleArn(value string) *ExternalLoggingConfig
- func (elc *ExternalLoggingConfig) SubDomain(value string) *ExternalLoggingConfig
- func (elc *ExternalLoggingConfig) Token(value string) *ExternalLoggingConfig
- func (elc *ExternalLoggingConfig) WorkspaceId(value string) *ExternalLoggingConfig
- type ExternalLoggingConfigResponse
- type ExternalLoggingCustomMergedResponse
- type ExternalLoggingCustomResponse
- type ExternalLoggingResponse
- type ExternalLoggingResponseBase
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExternalLoggingConfig ¶
type ExternalLoggingConfig struct {
// contains filtered or unexported fields
}
ExternalLoggingConfig builds Log Management, Log Config. Ref. https://fivetran.com/docs/rest-api/log-service-management#logservicesetupconfigurations
func (*ExternalLoggingConfig) ApiKey ¶
func (elc *ExternalLoggingConfig) ApiKey(value string) *ExternalLoggingConfig
func (*ExternalLoggingConfig) Channel ¶
func (elc *ExternalLoggingConfig) Channel(value string) *ExternalLoggingConfig
func (*ExternalLoggingConfig) EnableSsl ¶
func (elc *ExternalLoggingConfig) EnableSsl(value bool) *ExternalLoggingConfig
func (*ExternalLoggingConfig) ExternalId ¶
func (elc *ExternalLoggingConfig) ExternalId(value string) *ExternalLoggingConfig
func (*ExternalLoggingConfig) Host ¶
func (elc *ExternalLoggingConfig) Host(value string) *ExternalLoggingConfig
func (*ExternalLoggingConfig) Hostname ¶
func (elc *ExternalLoggingConfig) Hostname(value string) *ExternalLoggingConfig
func (*ExternalLoggingConfig) LogGroupName ¶
func (elc *ExternalLoggingConfig) LogGroupName(value string) *ExternalLoggingConfig
func (*ExternalLoggingConfig) Merge ¶
func (cc *ExternalLoggingConfig) Merge(customConfig *map[string]interface{}) (*map[string]interface{}, error)
func (*ExternalLoggingConfig) Port ¶
func (elc *ExternalLoggingConfig) Port(value int) *ExternalLoggingConfig
func (*ExternalLoggingConfig) PrimaryKey ¶
func (elc *ExternalLoggingConfig) PrimaryKey(value string) *ExternalLoggingConfig
func (*ExternalLoggingConfig) Region ¶
func (elc *ExternalLoggingConfig) Region(value string) *ExternalLoggingConfig
func (*ExternalLoggingConfig) Request ¶
func (elc *ExternalLoggingConfig) Request() *externalLoggingConfigRequest
func (*ExternalLoggingConfig) RoleArn ¶
func (elc *ExternalLoggingConfig) RoleArn(value string) *ExternalLoggingConfig
func (*ExternalLoggingConfig) SubDomain ¶
func (elc *ExternalLoggingConfig) SubDomain(value string) *ExternalLoggingConfig
func (*ExternalLoggingConfig) Token ¶
func (elc *ExternalLoggingConfig) Token(value string) *ExternalLoggingConfig
func (*ExternalLoggingConfig) WorkspaceId ¶
func (elc *ExternalLoggingConfig) WorkspaceId(value string) *ExternalLoggingConfig
type ExternalLoggingConfigResponse ¶
type ExternalLoggingConfigResponse struct { WorkspaceId string `json:"workspace_id"` PrimaryKey string `json:"primary_key"` LogGroupName string `json:"log_group_name"` RoleArn string `json:"role_arn"` ExternalId string `json:"external_id"` Region string `json:"region"` ApiKey string `json:"api_key"` SubDomain string `json:"sub_domain"` Host string `json:"host"` Hostname string `json:"hostname"` Channel string `json:"channel"` EnableSsl bool `json:"enable_ssl"` Token string `json:"token"` Port int `json:"port"` }
type ExternalLoggingCustomMergedResponse ¶
type ExternalLoggingCustomMergedResponse struct { Code string `json:"code"` Message string `json:"message"` Data struct { ExternalLoggingResponseBase CustomConfig map[string]interface{} `json:"config"` Config ExternalLoggingConfigResponse // no mapping here } `json:"data"` }
type ExternalLoggingCustomResponse ¶
type ExternalLoggingCustomResponse struct { Code string `json:"code"` Message string `json:"message"` Data struct { ExternalLoggingResponseBase Config map[string]interface{} `json:"config"` } `json:"data"` }
type ExternalLoggingResponse ¶
type ExternalLoggingResponse struct { Code string `json:"code"` Message string `json:"message"` Data struct { ExternalLoggingResponseBase Config ExternalLoggingConfigResponse `json:"config"` } `json:"data"` }
Click to show internal directories.
Click to hide internal directories.