model

package
v0.0.4-beta Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2024 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateLogDumpObsRequest

type CreateLogDumpObsRequest struct {
	ContentType string `json:"Content-Type"`

	Body *CreateLogDumpObsRequestBody `json:"body,omitempty"`
}

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 CreateLogDumpObsRequestBodyPeriod `json:"period"`

	PeriodUnit CreateLogDumpObsRequestBodyPeriodUnit `json:"period_unit"`
}

func (CreateLogDumpObsRequestBody) String

type CreateLogDumpObsRequestBodyPeriod

type CreateLogDumpObsRequestBodyPeriod struct {
	// contains filtered or unexported fields
}

func (CreateLogDumpObsRequestBodyPeriod) MarshalJSON

func (c CreateLogDumpObsRequestBodyPeriod) MarshalJSON() ([]byte, error)

func (*CreateLogDumpObsRequestBodyPeriod) UnmarshalJSON

func (c *CreateLogDumpObsRequestBodyPeriod) UnmarshalJSON(b []byte) error

func (CreateLogDumpObsRequestBodyPeriod) Value

type CreateLogDumpObsRequestBodyPeriodUnit

type CreateLogDumpObsRequestBodyPeriodUnit struct {
	// contains filtered or unexported fields
}

func (CreateLogDumpObsRequestBodyPeriodUnit) MarshalJSON

func (c CreateLogDumpObsRequestBodyPeriodUnit) MarshalJSON() ([]byte, error)

func (*CreateLogDumpObsRequestBodyPeriodUnit) UnmarshalJSON

func (c *CreateLogDumpObsRequestBodyPeriodUnit) UnmarshalJSON(b []byte) error

func (CreateLogDumpObsRequestBodyPeriodUnit) Value

type CreateLogDumpObsRequestBodyPeriodUnitEnum

type CreateLogDumpObsRequestBodyPeriodUnitEnum struct {
	MIN  CreateLogDumpObsRequestBodyPeriodUnit
	HOUR CreateLogDumpObsRequestBodyPeriodUnit
}

func GetCreateLogDumpObsRequestBodyPeriodUnitEnum

func GetCreateLogDumpObsRequestBodyPeriodUnitEnum() CreateLogDumpObsRequestBodyPeriodUnitEnum

type CreateLogDumpObsResponse

type CreateLogDumpObsResponse struct {
	LogDumpObsId   *string `json:"log_dump_obs_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

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

	Tags *[]TagsBody `json:"tags,omitempty"`
}

func (CreateLogGroupParams) String

func (o CreateLogGroupParams) String() string

type CreateLogGroupRequest

type CreateLogGroupRequest struct {
	ContentType string `json:"Content-Type"`

	Body *CreateLogGroupParams `json:"body,omitempty"`
}

func (CreateLogGroupRequest) String

func (o CreateLogGroupRequest) String() string

type CreateLogGroupResponse

type CreateLogGroupResponse struct {
	LogGroupId     *string `json:"log_group_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

func (CreateLogGroupResponse) String

func (o CreateLogGroupResponse) String() string

type CreateLogStreamParams

type CreateLogStreamParams struct {
	LogStreamName string `json:"log_stream_name"`

	TtlInDays *int32 `json:"ttl_in_days,omitempty"`

	Tags *[]TagsBody `json:"tags,omitempty"`
}

func (CreateLogStreamParams) String

func (o CreateLogStreamParams) String() string

type CreateLogStreamRequest

type CreateLogStreamRequest struct {
	LogGroupId string `json:"log_group_id"`

	ContentType string `json:"Content-Type"`

	Body *CreateLogStreamParams `json:"body,omitempty"`
}

func (CreateLogStreamRequest) String

func (o CreateLogStreamRequest) String() string

type CreateLogStreamResponse

type CreateLogStreamResponse struct {
	LogStreamId    *string `json:"log_stream_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

func (CreateLogStreamResponse) String

func (o CreateLogStreamResponse) String() string

type DeleteLogGroupRequest

type DeleteLogGroupRequest struct {
	LogGroupId string `json:"log_group_id"`

	ContentType string `json:"Content-Type"`
}

func (DeleteLogGroupRequest) String

func (o DeleteLogGroupRequest) String() string

type DeleteLogGroupResponse

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

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

	ContentType string `json:"Content-Type"`
}

func (DeleteLogStreamRequest) String

func (o DeleteLogStreamRequest) String() string

type DeleteLogStreamResponse

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

func (DeleteLogStreamResponse) String

func (o DeleteLogStreamResponse) String() string

type ListLogGroupsRequest

type ListLogGroupsRequest struct {
	ContentType string `json:"Content-Type"`
}

func (ListLogGroupsRequest) String

func (o ListLogGroupsRequest) String() string

type ListLogGroupsResponse

type ListLogGroupsResponse struct {
	LogGroups      *[]LogGroup `json:"log_groups,omitempty"`
	HttpStatusCode int         `json:"-"`
}

func (ListLogGroupsResponse) String

func (o ListLogGroupsResponse) String() string

type ListLogStreamRequest

type ListLogStreamRequest struct {
	LogGroupId string `json:"log_group_id"`

	ContentType string `json:"Content-Type"`
}

func (ListLogStreamRequest) String

func (o ListLogStreamRequest) String() string

type ListLogStreamResponse

type ListLogStreamResponse struct {
	LogStreams     *[]LogStreamResBody `json:"log_streams,omitempty"`
	HttpStatusCode int                 `json:"-"`
}

func (ListLogStreamResponse) String

func (o ListLogStreamResponse) String() string

type ListLogsRequest

type ListLogsRequest struct {
	LogGroupId string `json:"log_group_id"`

	LogStreamId string `json:"log_stream_id"`

	ContentType string `json:"Content-Type"`

	Body *ListLogsRequestBody `json:"body,omitempty"`
}

func (ListLogsRequest) String

func (o ListLogsRequest) String() string

type ListLogsRequestBody

type ListLogsRequestBody struct {
	StartTime string `json:"start_time"`

	EndTime string `json:"end_time"`

	Labels map[string]string `json:"labels,omitempty"`

	Keywords *string `json:"keywords,omitempty"`

	LineNum *string `json:"line_num,omitempty"`

	IsDesc *bool `json:"is_desc,omitempty"`

	SearchType *ListLogsRequestBodySearchType `json:"search_type,omitempty"`

	Limit *int32 `json:"limit,omitempty"`

	Highlight *bool `json:"highlight,omitempty"`

	IsCount *bool `json:"is_count,omitempty"`

	IsIterative *bool `json:"is_iterative,omitempty"`
}

func (ListLogsRequestBody) String

func (o ListLogsRequestBody) String() string

type ListLogsRequestBodySearchType

type ListLogsRequestBodySearchType struct {
	// contains filtered or unexported fields
}

func (ListLogsRequestBodySearchType) MarshalJSON

func (c ListLogsRequestBodySearchType) MarshalJSON() ([]byte, error)

func (*ListLogsRequestBodySearchType) UnmarshalJSON

func (c *ListLogsRequestBodySearchType) UnmarshalJSON(b []byte) error

func (ListLogsRequestBodySearchType) Value

type ListLogsRequestBodySearchTypeEnum

type ListLogsRequestBodySearchTypeEnum struct {
	FORWARDS ListLogsRequestBodySearchType
}

func GetListLogsRequestBodySearchTypeEnum

func GetListLogsRequestBodySearchTypeEnum() ListLogsRequestBodySearchTypeEnum

type ListLogsResponse

type ListLogsResponse struct {
	Logs *[]LogContents `json:"logs,omitempty"`

	Count *int32 `json:"count,omitempty"`

	IsQueryComplete *bool `json:"isQueryComplete,omitempty"`
	HttpStatusCode  int   `json:"-"`
}

func (ListLogsResponse) String

func (o ListLogsResponse) 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,omitempty"`

	LogGroupName *string `json:"log_group_name,omitempty"`

	LogGroupId *string `json:"log_group_id,omitempty"`

	TtlInDays *int32 `json:"ttl_in_days,omitempty"`

	Tag map[string]string `json:"tag,omitempty"`
}

func (LogGroup) String

func (o LogGroup) String() string

type LogStreamResBody

type LogStreamResBody struct {
	CreationTime *int64 `json:"creation_time,omitempty"`

	LogStreamId *string `json:"log_stream_id,omitempty"`

	LogStreamName *string `json:"log_stream_name,omitempty"`

	Tag map[string]string `json:"tag,omitempty"`

	FilterCount *int32 `json:"filter_count,omitempty"`

	IsFavorite *bool `json:"is_favorite,omitempty"`
}

func (LogStreamResBody) String

func (o LogStreamResBody) String() string

type TagsBody

type TagsBody struct {
	Key *string `json:"key,omitempty"`

	Value *string `json:"value,omitempty"`
}

func (TagsBody) String

func (o TagsBody) String() string

Jump to

Keyboard shortcuts

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