Documentation ¶
Index ¶
- type CreateLogDumpObsRequest
- type CreateLogDumpObsRequestBody
- type CreateLogDumpObsResponse
- type CreateLogGroupParams
- type CreateLogGroupRequest
- type CreateLogGroupResponse
- type CreateLogStreamParams
- type CreateLogStreamRequest
- type CreateLogStreamResponse
- type DeleteLogGroupRequest
- type DeleteLogGroupResponse
- type DeleteLogStreamRequest
- type DeleteLogStreamResponse
- type DisableLogCollectionRequest
- type DisableLogCollectionResponse
- type EnableLogCollectionRequest
- type EnableLogCollectionResponse
- type ListLogGroupsRequest
- type ListLogGroupsResponse
- type ListLogStreamRequest
- type ListLogStreamResponse
- type ListLogsRequest
- type ListLogsResponse
- type ListQueryStructuredLogsRequest
- type ListQueryStructuredLogsResponse
- type ListStructuredLogsWithTimeRangeRequest
- type ListStructuredLogsWithTimeRangeResponse
- type LogContents
- type LogGroup
- type LogStream
- type QueryLtsLogParams
- type QueryLtsLogParamsKeywords
- type QueryLtsLogParamsKeywordsEnum
- type QueryLtsLogParamsSearchType
- type QueryLtsLogParamsSearchTypeEnum
- type QueryLtsStructLogParams
- type QueryLtsStructLogParamsNew
- type StructLogContents
- type TimeRange
- type UpdateLogGroupParams
- type UpdateLogGroupRequest
- type UpdateLogGroupResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateLogDumpObsRequest ¶
type CreateLogDumpObsRequest struct {
Body *CreateLogDumpObsRequestBody `json:"body,omitempty"`
}
Request Object
func (CreateLogDumpObsRequest) String ¶
func (o CreateLogDumpObsRequest) String() string
type CreateLogDumpObsRequestBody ¶
type CreateLogDumpObsRequestBody struct { LogGroupId string `json:"log_group_id"` LogStreamIds []string `json:"log_stream_ids"` ObsBucketName string `json:"obs_bucket_name"` Type string `json:"type"` StorageFormat string `json:"storage_format"` SwitchOn *bool `json:"switch_on,omitempty"` PrefixName *string `json:"prefix_name,omitempty"` DirPrefixName *string `json:"dir_prefix_name,omitempty"` Period int32 `json:"period"` PeriodUnit string `json:"period_unit"` }
此参数在请求实体中,采用json字符串格式
func (CreateLogDumpObsRequestBody) String ¶
func (o CreateLogDumpObsRequestBody) String() string
type CreateLogDumpObsResponse ¶
type CreateLogDumpObsResponse struct { LogDumpObsId *string `json:"log_dump_obs_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateLogDumpObsResponse) String ¶
func (o CreateLogDumpObsResponse) String() string
type CreateLogGroupParams ¶
type CreateLogGroupParams struct { LogGroupName string `json:"log_group_name"` TtlInDays int32 `json:"ttl_in_days"` }
创建日志组参数。
func (CreateLogGroupParams) String ¶
func (o CreateLogGroupParams) String() string
type CreateLogGroupRequest ¶
type CreateLogGroupRequest struct {
Body *CreateLogGroupParams `json:"body,omitempty"`
}
Request Object
func (CreateLogGroupRequest) String ¶
func (o CreateLogGroupRequest) String() string
type CreateLogGroupResponse ¶
type CreateLogGroupResponse struct { LogGroupId *string `json:"log_group_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateLogGroupResponse) String ¶
func (o CreateLogGroupResponse) String() string
type CreateLogStreamParams ¶
type CreateLogStreamParams struct {
LogStreamName string `json:"log_stream_name"`
}
创建日志流参数。
func (CreateLogStreamParams) String ¶
func (o CreateLogStreamParams) String() string
type CreateLogStreamRequest ¶
type CreateLogStreamRequest struct { LogGroupId string `json:"log_group_id"` Body *CreateLogStreamParams `json:"body,omitempty"` }
Request Object
func (CreateLogStreamRequest) String ¶
func (o CreateLogStreamRequest) String() string
type CreateLogStreamResponse ¶
type CreateLogStreamResponse struct { LogStreamId *string `json:"log_stream_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateLogStreamResponse) String ¶
func (o CreateLogStreamResponse) String() string
type DeleteLogGroupRequest ¶
type DeleteLogGroupRequest struct {
LogGroupId string `json:"log_group_id"`
}
Request Object
func (DeleteLogGroupRequest) String ¶
func (o DeleteLogGroupRequest) String() string
type DeleteLogGroupResponse ¶
type DeleteLogGroupResponse struct { Body *string `json:"body,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (DeleteLogGroupResponse) String ¶
func (o DeleteLogGroupResponse) String() string
type DeleteLogStreamRequest ¶
type DeleteLogStreamRequest struct { LogGroupId string `json:"log_group_id"` LogStreamId string `json:"log_stream_id"` }
Request Object
func (DeleteLogStreamRequest) String ¶
func (o DeleteLogStreamRequest) String() string
type DeleteLogStreamResponse ¶
type DeleteLogStreamResponse struct { Body *string `json:"body,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (DeleteLogStreamResponse) String ¶
func (o DeleteLogStreamResponse) String() string
type DisableLogCollectionRequest ¶
type DisableLogCollectionRequest struct { }
Request Object
func (DisableLogCollectionRequest) String ¶
func (o DisableLogCollectionRequest) String() string
type DisableLogCollectionResponse ¶
type DisableLogCollectionResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DisableLogCollectionResponse) String ¶
func (o DisableLogCollectionResponse) String() string
type EnableLogCollectionRequest ¶
type EnableLogCollectionRequest struct { }
Request Object
func (EnableLogCollectionRequest) String ¶
func (o EnableLogCollectionRequest) String() string
type EnableLogCollectionResponse ¶
type EnableLogCollectionResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (EnableLogCollectionResponse) String ¶
func (o EnableLogCollectionResponse) String() string
type ListLogGroupsRequest ¶
type ListLogGroupsRequest struct { }
Request Object
func (ListLogGroupsRequest) String ¶
func (o ListLogGroupsRequest) String() string
type ListLogGroupsResponse ¶
type ListLogGroupsResponse struct { LogGroups *[]LogGroup `json:"log_groups,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListLogGroupsResponse) String ¶
func (o ListLogGroupsResponse) String() string
type ListLogStreamRequest ¶
type ListLogStreamRequest struct { LogGroupId string `json:"log_group_id"` Tag *string `json:"tag,omitempty"` }
Request Object
func (ListLogStreamRequest) String ¶
func (o ListLogStreamRequest) String() string
type ListLogStreamResponse ¶
type ListLogStreamResponse struct { LogStreams *[]LogStream `json:"log_streams,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListLogStreamResponse) String ¶
func (o ListLogStreamResponse) String() string
type ListLogsRequest ¶ added in v0.0.51
type ListLogsRequest struct { LogGroupId string `json:"log_group_id"` LogStreamId string `json:"log_stream_id"` Body *QueryLtsLogParams `json:"body,omitempty"` }
Request Object
func (ListLogsRequest) String ¶ added in v0.0.51
func (o ListLogsRequest) String() string
type ListLogsResponse ¶ added in v0.0.51
type ListLogsResponse struct { Logs *[]LogContents `json:"logs,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListLogsResponse) String ¶ added in v0.0.51
func (o ListLogsResponse) String() string
type ListQueryStructuredLogsRequest ¶ added in v0.0.51
type ListQueryStructuredLogsRequest struct { LogGroupId string `json:"log_group_id"` LogStreamId string `json:"log_stream_id"` Body *QueryLtsStructLogParams `json:"body,omitempty"` }
Request Object
func (ListQueryStructuredLogsRequest) String ¶ added in v0.0.51
func (o ListQueryStructuredLogsRequest) String() string
type ListQueryStructuredLogsResponse ¶ added in v0.0.51
type ListQueryStructuredLogsResponse struct { StructLogs *[]StructLogContents `json:"struct_logs,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListQueryStructuredLogsResponse) String ¶ added in v0.0.51
func (o ListQueryStructuredLogsResponse) String() string
type ListStructuredLogsWithTimeRangeRequest ¶ added in v0.0.51
type ListStructuredLogsWithTimeRangeRequest struct { LogStreamId string `json:"log_stream_id"` Body *QueryLtsStructLogParamsNew `json:"body,omitempty"` }
Request Object
func (ListStructuredLogsWithTimeRangeRequest) String ¶ added in v0.0.51
func (o ListStructuredLogsWithTimeRangeRequest) String() string
type ListStructuredLogsWithTimeRangeResponse ¶ added in v0.0.51
type ListStructuredLogsWithTimeRangeResponse struct { Context *[]string `json:"context,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListStructuredLogsWithTimeRangeResponse) String ¶ added in v0.0.51
func (o ListStructuredLogsWithTimeRangeResponse) String() string
type LogContents ¶
type LogContents struct { Content *string `json:"content,omitempty"` LineNum *string `json:"line_num,omitempty"` Labels map[string]string `json:"labels,omitempty"` }
参数集
func (LogContents) String ¶
func (o LogContents) String() string
type LogGroup ¶
type LogGroup struct { CreationTime int64 `json:"creation_time"` LogGroupName string `json:"log_group_name"` LogGroupId string `json:"log_group_id"` TtlInDays int32 `json:"ttl_in_days"` }
返回的日志组信息
type LogStream ¶
type LogStream struct { CreationTime int64 `json:"creation_time"` LogStreamName string `json:"log_stream_name"` LogStreamId string `json:"log_stream_id"` FilterCount int32 `json:"filter_count"` }
返回的日志流信息
type QueryLtsLogParams ¶
type QueryLtsLogParams struct { StartTime string `json:"start_time"` EndTime string `json:"end_time"` Labels map[string]string `json:"labels,omitempty"` Keywords *QueryLtsLogParamsKeywords `json:"keywords,omitempty"` LineNum *string `json:"line_num,omitempty"` IsDesc *bool `json:"is_desc,omitempty"` SearchType *QueryLtsLogParamsSearchType `json:"search_type,omitempty"` Limit *int32 `json:"limit,omitempty"` }
此参数在请求实体中,采用json字符串格式
func (QueryLtsLogParams) String ¶
func (o QueryLtsLogParams) String() string
type QueryLtsLogParamsKeywords ¶
type QueryLtsLogParamsKeywords struct {
// contains filtered or unexported fields
}
func (QueryLtsLogParamsKeywords) MarshalJSON ¶
func (c QueryLtsLogParamsKeywords) MarshalJSON() ([]byte, error)
func (*QueryLtsLogParamsKeywords) UnmarshalJSON ¶
func (c *QueryLtsLogParamsKeywords) UnmarshalJSON(b []byte) error
type QueryLtsLogParamsKeywordsEnum ¶
type QueryLtsLogParamsKeywordsEnum struct {
ERROR QueryLtsLogParamsKeywords
}
func GetQueryLtsLogParamsKeywordsEnum ¶
func GetQueryLtsLogParamsKeywordsEnum() QueryLtsLogParamsKeywordsEnum
type QueryLtsLogParamsSearchType ¶
type QueryLtsLogParamsSearchType struct {
// contains filtered or unexported fields
}
func (QueryLtsLogParamsSearchType) MarshalJSON ¶
func (c QueryLtsLogParamsSearchType) MarshalJSON() ([]byte, error)
func (*QueryLtsLogParamsSearchType) UnmarshalJSON ¶
func (c *QueryLtsLogParamsSearchType) UnmarshalJSON(b []byte) error
type QueryLtsLogParamsSearchTypeEnum ¶
type QueryLtsLogParamsSearchTypeEnum struct {
FORWARDS QueryLtsLogParamsSearchType
}
func GetQueryLtsLogParamsSearchTypeEnum ¶
func GetQueryLtsLogParamsSearchTypeEnum() QueryLtsLogParamsSearchTypeEnum
type QueryLtsStructLogParams ¶
type QueryLtsStructLogParams struct { StartTime string `json:"start_time"` EndTime string `json:"end_time"` SqlExpression *string `json:"sql_expression,omitempty"` OriginalContent *bool `json:"original_content,omitempty"` }
此参数在请求实体中,采用json字符串格式
func (QueryLtsStructLogParams) String ¶
func (o QueryLtsStructLogParams) String() string
type QueryLtsStructLogParamsNew ¶
type QueryLtsStructLogParamsNew struct { Query string `json:"query"` Format string `json:"format"` TimeRange *TimeRange `json:"time_range"` }
此参数在请求实体中,采用json字符串格式
func (QueryLtsStructLogParamsNew) String ¶
func (o QueryLtsStructLogParamsNew) String() string
type StructLogContents ¶
type StructLogContents struct { LogContent *string `json:"log_content,omitempty"` LineNum *string `json:"line_num,omitempty"` }
参数集
func (StructLogContents) String ¶
func (o StructLogContents) String() string
type TimeRange ¶ added in v0.0.51
type TimeRange struct { SqlTimeZone *string `json:"sql_time_zone,omitempty"` StartTime string `json:"start_time"` EndTime string `json:"end_time"` StartTimeGt *bool `json:"start_time_gt,omitempty"` EndTimeLt *bool `json:"end_time_lt,omitempty"` }
此参数在请求实体中,采用json字符串格式。
type UpdateLogGroupParams ¶
type UpdateLogGroupParams struct {
TtlInDays int32 `json:"ttl_in_days"`
}
修改日志组的参数。
func (UpdateLogGroupParams) String ¶
func (o UpdateLogGroupParams) String() string
type UpdateLogGroupRequest ¶
type UpdateLogGroupRequest struct { LogGroupId string `json:"log_group_id"` Body *UpdateLogGroupParams `json:"body,omitempty"` }
Request Object
func (UpdateLogGroupRequest) String ¶
func (o UpdateLogGroupRequest) String() string
type UpdateLogGroupResponse ¶
type UpdateLogGroupResponse struct { CreationTime *int64 `json:"creation_time,omitempty"` LogGroupName *string `json:"log_group_name,omitempty"` LogGroupId *string `json:"log_group_id,omitempty"` TtlInDays *int32 `json:"ttl_in_days,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateLogGroupResponse) String ¶
func (o UpdateLogGroupResponse) String() string
Source Files ¶
- model_create_log_dump_obs_request.go
- model_create_log_dump_obs_request_body.go
- model_create_log_dump_obs_response.go
- model_create_log_group_params.go
- model_create_log_group_request.go
- model_create_log_group_response.go
- model_create_log_stream_params.go
- model_create_log_stream_request.go
- model_create_log_stream_response.go
- model_delete_log_group_request.go
- model_delete_log_group_response.go
- model_delete_log_stream_request.go
- model_delete_log_stream_response.go
- model_disable_log_collection_request.go
- model_disable_log_collection_response.go
- model_enable_log_collection_request.go
- model_enable_log_collection_response.go
- model_list_log_groups_request.go
- model_list_log_groups_response.go
- model_list_log_stream_request.go
- model_list_log_stream_response.go
- model_list_logs_request.go
- model_list_logs_response.go
- model_list_query_structured_logs_request.go
- model_list_query_structured_logs_response.go
- model_list_structured_logs_with_time_range_request.go
- model_list_structured_logs_with_time_range_response.go
- model_log_contents.go
- model_log_group.go
- model_log_stream.go
- model_query_lts_log_params.go
- model_query_lts_struct_log_params.go
- model_query_lts_struct_log_params_new.go
- model_struct_log_contents.go
- model_time_range.go
- model_update_log_group_params.go
- model_update_log_group_request.go
- model_update_log_group_response.go
Click to show internal directories.
Click to hide internal directories.