externallogging

package
v0.7.14 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2023 License: Apache-2.0 Imports: 1 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
}

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

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) Region

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 (*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"`
}

type ExternalLoggingResponseBase

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

Jump to

Keyboard shortcuts

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