model

package
v0.0.54 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2021 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 4 Imported by: 2

Documentation

Index

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

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

type DisableLogCollectionResponse

type DisableLogCollectionResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (DisableLogCollectionResponse) String

type EnableLogCollectionRequest

type EnableLogCollectionRequest struct {
}

Request Object

func (EnableLogCollectionRequest) String

type EnableLogCollectionResponse

type EnableLogCollectionResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (EnableLogCollectionResponse) 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

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

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

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

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

返回的日志组信息

func (LogGroup) String

func (o LogGroup) String() string

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

返回的日志流信息

func (LogStream) String

func (o LogStream) String() string

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

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字符串格式。

func (TimeRange) String added in v0.0.51

func (o TimeRange) String() string

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

Jump to

Keyboard shortcuts

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