externallogging

package
v0.9.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 7, 2024 License: Apache-2.0 Imports: 5 Imported by: 2

Documentation

Index

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
}

func (*ExternalLoggingConfig) ApiKey

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 (*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 (*ExternalLoggingConfig) PrimaryKey

func (elc *ExternalLoggingConfig) PrimaryKey(value string) *ExternalLoggingConfig

func (*ExternalLoggingConfig) ProjectId added in v0.8.0

func (elc *ExternalLoggingConfig) ProjectId(value string) *ExternalLoggingConfig

func (*ExternalLoggingConfig) Region

func (*ExternalLoggingConfig) Request

func (elc *ExternalLoggingConfig) Request() *externalLoggingConfigRequest

ExternalLoggingConfig builds Log Management, Log Config. Ref. https://fivetran.com/docs/rest-api/log-service-management#logservicesetupconfigurations

func (*ExternalLoggingConfig) RoleArn

func (elc *ExternalLoggingConfig) RoleArn(value string) *ExternalLoggingConfig

func (*ExternalLoggingConfig) SubDomain

func (elc *ExternalLoggingConfig) SubDomain(value string) *ExternalLoggingConfig

func (*ExternalLoggingConfig) Token

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"`
	ProjectId    string `json:"project_id"`
}

Responses

type ExternalLoggingCreateService added in v0.8.0

type ExternalLoggingCreateService struct {
	httputils.HttpService
	// contains filtered or unexported fields
}

ExternalLoggingCreateService implements the Log Management, Create a Log Service API. Ref. https://fivetran.com/docs/rest-api/log-service-management#createalogservice

func (*ExternalLoggingCreateService) Config added in v0.8.0

func (*ExternalLoggingCreateService) ConfigCustom added in v0.8.0

func (s *ExternalLoggingCreateService) ConfigCustom(value *map[string]interface{}) *ExternalLoggingCreateService

func (*ExternalLoggingCreateService) Do added in v0.8.0

func (*ExternalLoggingCreateService) DoCustom added in v0.8.0

func (*ExternalLoggingCreateService) DoCustomMerged added in v0.8.0

func (*ExternalLoggingCreateService) Enabled added in v0.8.0

func (*ExternalLoggingCreateService) GroupId added in v0.8.0

func (*ExternalLoggingCreateService) Service added in v0.8.0

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 ExternalLoggingDeleteService added in v0.8.0

type ExternalLoggingDeleteService struct {
	httputils.HttpService
	// contains filtered or unexported fields
}

ExternalLoggingDeleteService implements the Log Management, Delete a Log Service API. Ref. https://fivetran.com/docs/rest-api/log-service-management#deletealogservice

func (*ExternalLoggingDeleteService) Do added in v0.8.0

func (*ExternalLoggingDeleteService) ExternalLoggingId added in v0.8.0

type ExternalLoggingDetailsService added in v0.8.0

type ExternalLoggingDetailsService struct {
	httputils.HttpService
	// contains filtered or unexported fields
}

ExternalLoggingDetailsService implements the Log Management, Retrieve Log Service details API. Ref. https://fivetran.com/docs/rest-api/log-service-management#retrievelogservicedetails

func (*ExternalLoggingDetailsService) Do added in v0.8.0

func (*ExternalLoggingDetailsService) ExternalLoggingId added in v0.8.0

type ExternalLoggingModifyCustomMergedResponse added in v0.8.0

type ExternalLoggingModifyCustomMergedResponse struct {
	Code    string `json:"code"`
	Message string `json:"message"`
	Data    struct {
		ExternalLoggingModifyResponseDataBased
		CustomConfig map[string]interface{}        `json:"config"`
		Config       ExternalLoggingConfigResponse // no mapping here
	} `json:"data"`
}

type ExternalLoggingModifyCustomResponse added in v0.8.0

type ExternalLoggingModifyCustomResponse struct {
	Code    string `json:"code"`
	Message string `json:"message"`
	Data    struct {
		ExternalLoggingModifyResponseDataBased
		Config map[string]interface{} `json:"config"`
	} `json:"data"`
}

type ExternalLoggingModifyResponse added in v0.8.0

type ExternalLoggingModifyResponse struct {
	Code    string `json:"code"`
	Message string `json:"message"`
	Data    struct {
		ExternalLoggingModifyResponseDataBased
		Config ExternalLoggingConfigResponse `json:"config"`
	} `json:"data"`
}

type ExternalLoggingModifyResponseDataBased added in v0.8.0

type ExternalLoggingModifyResponseDataBased struct {
	Id      string `json:"id"`
	Service string `json:"service"`
	Enabled bool   `json:"enabled"`
}

type ExternalLoggingModifyService added in v0.8.0

type ExternalLoggingModifyService struct {
	httputils.HttpService
	// contains filtered or unexported fields
}

ExternalLoggingModifyService implements the Log Management, Modify a Log Service API. Ref. https://fivetran.com/docs/rest-api/log-service-management#updatealogservice

func (*ExternalLoggingModifyService) Config added in v0.8.0

func (*ExternalLoggingModifyService) ConfigCustom added in v0.8.0

func (s *ExternalLoggingModifyService) ConfigCustom(value *map[string]interface{}) *ExternalLoggingModifyService

func (*ExternalLoggingModifyService) Do added in v0.8.0

func (*ExternalLoggingModifyService) DoCustom added in v0.8.0

func (*ExternalLoggingModifyService) DoCustomMerged added in v0.8.0

func (*ExternalLoggingModifyService) Enabled added in v0.8.0

func (*ExternalLoggingModifyService) ExternalLoggingId added in v0.8.0

func (*ExternalLoggingModifyService) RunSetupTests added in v0.8.0

type ExternalLoggingResponse

type ExternalLoggingResponse struct {
	Code    string `json:"code"`
	Message string `json:"message"`
	Data    struct {
		ExternalLoggingResponseBase
		Config ExternalLoggingConfigResponse `json:"config"`
	} `json:"data"`
}

type ExternalLoggingResponseBase

type ExternalLoggingResponseBase struct {
	Id      string `json:"id"`
	Service string `json:"service"`
	Enabled bool   `json:"enabled"`
}

type ExternalLoggingSetupTestsResponse added in v0.8.0

type ExternalLoggingSetupTestsResponse struct {
	common.CommonResponse
	Data struct {
		SetupTests []common.SetupTestResponse `json:"setup_tests"`
	} `json:"data"`
}

type ExternalLoggingSetupTestsService added in v0.8.0

type ExternalLoggingSetupTestsService struct {
	httputils.HttpService
	// contains filtered or unexported fields
}

ExternalLoggingSetupTestsService implements the Log Management, Run Log service setup tests API. Ref. https://fivetran.com/docs/rest-api/log-service-management#runlogservicesetuptests

func (*ExternalLoggingSetupTestsService) Do added in v0.8.0

func (*ExternalLoggingSetupTestsService) ExternalLoggingId added in v0.8.0

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL