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) ProjectId(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 ExternalLoggingCreateService
- func (s *ExternalLoggingCreateService) Config(value *ExternalLoggingConfig) *ExternalLoggingCreateService
- func (s *ExternalLoggingCreateService) ConfigCustom(value *map[string]interface{}) *ExternalLoggingCreateService
- func (s *ExternalLoggingCreateService) Do(ctx context.Context) (ExternalLoggingResponse, error)
- func (s *ExternalLoggingCreateService) DoCustom(ctx context.Context) (ExternalLoggingCustomResponse, error)
- func (s *ExternalLoggingCreateService) DoCustomMerged(ctx context.Context) (ExternalLoggingCustomMergedResponse, error)
- func (s *ExternalLoggingCreateService) Enabled(value bool) *ExternalLoggingCreateService
- func (s *ExternalLoggingCreateService) GroupId(value string) *ExternalLoggingCreateService
- func (s *ExternalLoggingCreateService) Service(value string) *ExternalLoggingCreateService
- type ExternalLoggingCustomMergedResponse
- type ExternalLoggingCustomResponse
- type ExternalLoggingDeleteService
- type ExternalLoggingDetailsService
- func (s *ExternalLoggingDetailsService) Do(ctx context.Context) (ExternalLoggingResponse, error)
- func (s *ExternalLoggingDetailsService) DoCustom(ctx context.Context) (ExternalLoggingCustomResponse, error)
- func (s *ExternalLoggingDetailsService) DoCustomMerged(ctx context.Context) (ExternalLoggingCustomMergedResponse, error)
- func (s *ExternalLoggingDetailsService) ExternalLoggingId(value string) *ExternalLoggingDetailsService
- type ExternalLoggingListResponse
- type ExternalLoggingListService
- type ExternalLoggingResponse
- type ExternalLoggingResponseBase
- type ExternalLoggingSetupTestsResponse
- type ExternalLoggingSetupTestsService
- type ExternalLoggingUpdateCustomMergedResponse
- type ExternalLoggingUpdateCustomResponse
- type ExternalLoggingUpdateResponse
- type ExternalLoggingUpdateResponseDataBased
- type ExternalLoggingUpdateService
- func (s *ExternalLoggingUpdateService) Config(value *ExternalLoggingConfig) *ExternalLoggingUpdateService
- func (s *ExternalLoggingUpdateService) ConfigCustom(value *map[string]interface{}) *ExternalLoggingUpdateService
- func (s *ExternalLoggingUpdateService) Do(ctx context.Context) (ExternalLoggingResponse, error)
- func (s *ExternalLoggingUpdateService) DoCustom(ctx context.Context) (ExternalLoggingCustomResponse, error)
- func (s *ExternalLoggingUpdateService) DoCustomMerged(ctx context.Context) (ExternalLoggingCustomMergedResponse, error)
- func (s *ExternalLoggingUpdateService) Enabled(value bool) *ExternalLoggingUpdateService
- func (s *ExternalLoggingUpdateService) ExternalLoggingId(value string) *ExternalLoggingUpdateService
- func (s *ExternalLoggingUpdateService) RunSetupTests(value bool) *ExternalLoggingUpdateService
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 (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) ProjectId ¶ added in v0.8.0
func (elc *ExternalLoggingConfig) ProjectId(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"`
ProjectId string `json:"project_id"`
}
Responses
type ExternalLoggingCreateService ¶ added in v0.8.0
type ExternalLoggingCreateService struct {
httputils.HttpService
// contains filtered or unexported fields
}
func (*ExternalLoggingCreateService) Config ¶ added in v0.8.0
func (s *ExternalLoggingCreateService) Config(value *ExternalLoggingConfig) *ExternalLoggingCreateService
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 (s *ExternalLoggingCreateService) Do(ctx context.Context) (ExternalLoggingResponse, error)
func (*ExternalLoggingCreateService) DoCustom ¶ added in v0.8.0
func (s *ExternalLoggingCreateService) DoCustom(ctx context.Context) (ExternalLoggingCustomResponse, error)
func (*ExternalLoggingCreateService) DoCustomMerged ¶ added in v0.8.0
func (s *ExternalLoggingCreateService) DoCustomMerged(ctx context.Context) (ExternalLoggingCustomMergedResponse, error)
func (*ExternalLoggingCreateService) Enabled ¶ added in v0.8.0
func (s *ExternalLoggingCreateService) Enabled(value bool) *ExternalLoggingCreateService
func (*ExternalLoggingCreateService) GroupId ¶ added in v0.8.0
func (s *ExternalLoggingCreateService) GroupId(value string) *ExternalLoggingCreateService
func (*ExternalLoggingCreateService) Service ¶ added in v0.8.0
func (s *ExternalLoggingCreateService) Service(value string) *ExternalLoggingCreateService
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
}
func (*ExternalLoggingDeleteService) Do ¶ added in v0.8.0
func (s *ExternalLoggingDeleteService) Do(ctx context.Context) (common.CommonResponse, error)
func (*ExternalLoggingDeleteService) ExternalLoggingId ¶ added in v0.8.0
func (s *ExternalLoggingDeleteService) ExternalLoggingId(value string) *ExternalLoggingDeleteService
type ExternalLoggingDetailsService ¶ added in v0.8.0
type ExternalLoggingDetailsService struct {
httputils.HttpService
// contains filtered or unexported fields
}
func (*ExternalLoggingDetailsService) Do ¶ added in v0.8.0
func (s *ExternalLoggingDetailsService) Do(ctx context.Context) (ExternalLoggingResponse, error)
func (*ExternalLoggingDetailsService) DoCustom ¶ added in v1.2.6
func (s *ExternalLoggingDetailsService) DoCustom(ctx context.Context) (ExternalLoggingCustomResponse, error)
func (*ExternalLoggingDetailsService) DoCustomMerged ¶ added in v1.2.6
func (s *ExternalLoggingDetailsService) DoCustomMerged(ctx context.Context) (ExternalLoggingCustomMergedResponse, error)
func (*ExternalLoggingDetailsService) ExternalLoggingId ¶ added in v0.8.0
func (s *ExternalLoggingDetailsService) ExternalLoggingId(value string) *ExternalLoggingDetailsService
type ExternalLoggingListResponse ¶ added in v1.0.7
type ExternalLoggingListResponse struct {
common.CommonResponse
Data struct {
Items []ExternalLoggingResponseBase `json:"items"`
NextCursor string `json:"next_cursor"`
} `json:"data"`
}
type ExternalLoggingListService ¶ added in v1.0.7
type ExternalLoggingListService struct {
httputils.HttpService
// contains filtered or unexported fields
}
func (*ExternalLoggingListService) Cursor ¶ added in v1.0.7
func (s *ExternalLoggingListService) Cursor(value string) *ExternalLoggingListService
func (*ExternalLoggingListService) Do ¶ added in v1.0.7
func (s *ExternalLoggingListService) Do(ctx context.Context) (ExternalLoggingListResponse, error)
func (*ExternalLoggingListService) Limit ¶ added in v1.0.7
func (s *ExternalLoggingListService) Limit(value int) *ExternalLoggingListService
type ExternalLoggingResponse ¶
type ExternalLoggingResponse struct {
Code string `json:"code"`
Message string `json:"message"`
Data struct {
ExternalLoggingResponseBase
Config ExternalLoggingConfigResponse `json:"config"`
} `json:"data"`
}
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
}
func (*ExternalLoggingSetupTestsService) Do ¶ added in v0.8.0
func (s *ExternalLoggingSetupTestsService) Do(ctx context.Context) (ExternalLoggingSetupTestsResponse, error)
func (*ExternalLoggingSetupTestsService) ExternalLoggingId ¶ added in v0.8.0
func (s *ExternalLoggingSetupTestsService) ExternalLoggingId(value string) *ExternalLoggingSetupTestsService
type ExternalLoggingUpdateCustomMergedResponse ¶ added in v1.1.1
type ExternalLoggingUpdateCustomMergedResponse struct {
Code string `json:"code"`
Message string `json:"message"`
Data struct {
ExternalLoggingUpdateResponseDataBased
CustomConfig map[string]interface{} `json:"config"`
Config ExternalLoggingConfigResponse // no mapping here
} `json:"data"`
}
type ExternalLoggingUpdateCustomResponse ¶ added in v1.1.1
type ExternalLoggingUpdateCustomResponse struct {
Code string `json:"code"`
Message string `json:"message"`
Data struct {
ExternalLoggingUpdateResponseDataBased
Config map[string]interface{} `json:"config"`
} `json:"data"`
}
type ExternalLoggingUpdateResponse ¶ added in v1.1.1
type ExternalLoggingUpdateResponse struct {
Code string `json:"code"`
Message string `json:"message"`
Data struct {
ExternalLoggingUpdateResponseDataBased
Config ExternalLoggingConfigResponse `json:"config"`
} `json:"data"`
}
type ExternalLoggingUpdateResponseDataBased ¶ added in v1.1.1
type ExternalLoggingUpdateService ¶ added in v1.1.1
type ExternalLoggingUpdateService struct {
httputils.HttpService
// contains filtered or unexported fields
}
func (*ExternalLoggingUpdateService) Config ¶ added in v1.1.1
func (s *ExternalLoggingUpdateService) Config(value *ExternalLoggingConfig) *ExternalLoggingUpdateService
func (*ExternalLoggingUpdateService) ConfigCustom ¶ added in v1.1.1
func (s *ExternalLoggingUpdateService) ConfigCustom(value *map[string]interface{}) *ExternalLoggingUpdateService
func (*ExternalLoggingUpdateService) Do ¶ added in v1.1.1
func (s *ExternalLoggingUpdateService) Do(ctx context.Context) (ExternalLoggingResponse, error)
func (*ExternalLoggingUpdateService) DoCustom ¶ added in v1.1.1
func (s *ExternalLoggingUpdateService) DoCustom(ctx context.Context) (ExternalLoggingCustomResponse, error)
func (*ExternalLoggingUpdateService) DoCustomMerged ¶ added in v1.1.1
func (s *ExternalLoggingUpdateService) DoCustomMerged(ctx context.Context) (ExternalLoggingCustomMergedResponse, error)
func (*ExternalLoggingUpdateService) Enabled ¶ added in v1.1.1
func (s *ExternalLoggingUpdateService) Enabled(value bool) *ExternalLoggingUpdateService
func (*ExternalLoggingUpdateService) ExternalLoggingId ¶ added in v1.1.1
func (s *ExternalLoggingUpdateService) ExternalLoggingId(value string) *ExternalLoggingUpdateService
func (*ExternalLoggingUpdateService) RunSetupTests ¶ added in v1.1.1
func (s *ExternalLoggingUpdateService) RunSetupTests(value bool) *ExternalLoggingUpdateService
Click to show internal directories.
Click to hide internal directories.