model

package
v0.0.64 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 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 BaseUser

type BaseUser struct {
	Id *string `json:"id,omitempty"`

	Name *string `json:"name,omitempty"`
}

用户信息。

func (BaseUser) String

func (o BaseUser) String() string

type CreateTrackerRequest

type CreateTrackerRequest struct {
	Body *CreateTrackerRequestBody `json:"body,omitempty"`
}

Request Object

func (CreateTrackerRequest) String

func (o CreateTrackerRequest) String() string

type CreateTrackerRequestBody

type CreateTrackerRequestBody struct {
	TrackerType CreateTrackerRequestBodyTrackerType `json:"tracker_type"`

	TrackerName string `json:"tracker_name"`

	IsLtsEnabled *bool `json:"is_lts_enabled,omitempty"`

	ObsInfo *TrackerObsInfo `json:"obs_info,omitempty"`

	IsSupportTraceFilesEncryption *bool `json:"is_support_trace_files_encryption,omitempty"`

	KmsId *string `json:"kms_id,omitempty"`

	IsSupportValidate *bool `json:"is_support_validate,omitempty"`

	DataBucket *DataBucket `json:"data_bucket,omitempty"`
}

func (CreateTrackerRequestBody) String

func (o CreateTrackerRequestBody) String() string

type CreateTrackerRequestBodyTrackerType

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

func (CreateTrackerRequestBodyTrackerType) MarshalJSON

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

func (*CreateTrackerRequestBodyTrackerType) UnmarshalJSON

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

type CreateTrackerRequestBodyTrackerTypeEnum

type CreateTrackerRequestBodyTrackerTypeEnum struct {
	SYSTEM CreateTrackerRequestBodyTrackerType
	DATA   CreateTrackerRequestBodyTrackerType
}

func GetCreateTrackerRequestBodyTrackerTypeEnum

func GetCreateTrackerRequestBodyTrackerTypeEnum() CreateTrackerRequestBodyTrackerTypeEnum

type CreateTrackerResponse

type CreateTrackerResponse struct {
	Id *string `json:"id,omitempty"`

	CreateTime *int64 `json:"create_time,omitempty"`

	KmsId *string `json:"kms_id,omitempty"`

	IsSupportValidate *bool `json:"is_support_validate,omitempty"`

	Lts *Lts `json:"lts,omitempty"`

	TrackerType *CreateTrackerResponseTrackerType `json:"tracker_type,omitempty"`

	DomainId *string `json:"domain_id,omitempty"`

	ProjectId *string `json:"project_id,omitempty"`

	TrackerName *string `json:"tracker_name,omitempty"`

	Status *CreateTrackerResponseStatus `json:"status,omitempty"`

	Detail *string `json:"detail,omitempty"`

	IsSupportTraceFilesEncryption *bool `json:"is_support_trace_files_encryption,omitempty"`

	ObsInfo *ObsInfo `json:"obs_info,omitempty"`

	DataBucket     *DataBucketQuery `json:"data_bucket,omitempty"`
	HttpStatusCode int              `json:"-"`
}

Response Object

func (CreateTrackerResponse) String

func (o CreateTrackerResponse) String() string

type CreateTrackerResponseStatus

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

func (CreateTrackerResponseStatus) MarshalJSON

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

func (*CreateTrackerResponseStatus) UnmarshalJSON

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

type CreateTrackerResponseStatusEnum

type CreateTrackerResponseStatusEnum struct {
	ENABLED  CreateTrackerResponseStatus
	DISABLED CreateTrackerResponseStatus
}

func GetCreateTrackerResponseStatusEnum

func GetCreateTrackerResponseStatusEnum() CreateTrackerResponseStatusEnum

type CreateTrackerResponseTrackerType

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

func (CreateTrackerResponseTrackerType) MarshalJSON

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

func (*CreateTrackerResponseTrackerType) UnmarshalJSON

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

type CreateTrackerResponseTrackerTypeEnum

type CreateTrackerResponseTrackerTypeEnum struct {
	SYSTEM CreateTrackerResponseTrackerType
	DATA   CreateTrackerResponseTrackerType
}

func GetCreateTrackerResponseTrackerTypeEnum

func GetCreateTrackerResponseTrackerTypeEnum() CreateTrackerResponseTrackerTypeEnum

type DataBucket

type DataBucket struct {
	DataBucketName *string `json:"data_bucket_name,omitempty"`

	DataEvent *[]DataBucketDataEvent `json:"data_event,omitempty"`
}

func (DataBucket) String

func (o DataBucket) String() string

type DataBucketDataEvent

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

func (DataBucketDataEvent) MarshalJSON

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

func (*DataBucketDataEvent) UnmarshalJSON

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

type DataBucketDataEventEnum

type DataBucketDataEventEnum struct {
	WRITE DataBucketDataEvent
	READ  DataBucketDataEvent
}

func GetDataBucketDataEventEnum

func GetDataBucketDataEventEnum() DataBucketDataEventEnum

type DataBucketQuery

type DataBucketQuery struct {
	DataBucketName *string `json:"data_bucket_name,omitempty"`

	SearchEnabled *bool `json:"search_enabled,omitempty"`

	DataEvent *[]DataBucketQueryDataEvent `json:"data_event,omitempty"`
}

追踪桶信息。

func (DataBucketQuery) String

func (o DataBucketQuery) String() string

type DataBucketQueryDataEvent

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

func (DataBucketQueryDataEvent) MarshalJSON

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

func (*DataBucketQueryDataEvent) UnmarshalJSON

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

type DataBucketQueryDataEventEnum

type DataBucketQueryDataEventEnum struct {
	WRITE DataBucketQueryDataEvent
	READ  DataBucketQueryDataEvent
}

func GetDataBucketQueryDataEventEnum

func GetDataBucketQueryDataEventEnum() DataBucketQueryDataEventEnum

type DeleteTrackerRequest

type DeleteTrackerRequest struct {
	TrackerName *string `json:"tracker_name,omitempty"`

	TrackerType *DeleteTrackerRequestTrackerType `json:"tracker_type,omitempty"`
}

Request Object

func (DeleteTrackerRequest) String

func (o DeleteTrackerRequest) String() string

type DeleteTrackerRequestTrackerType

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

func (DeleteTrackerRequestTrackerType) MarshalJSON

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

func (*DeleteTrackerRequestTrackerType) UnmarshalJSON

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

type DeleteTrackerRequestTrackerTypeEnum

type DeleteTrackerRequestTrackerTypeEnum struct {
	DATA DeleteTrackerRequestTrackerType
}

func GetDeleteTrackerRequestTrackerTypeEnum

func GetDeleteTrackerRequestTrackerTypeEnum() DeleteTrackerRequestTrackerTypeEnum

type DeleteTrackerResponse

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

Response Object

func (DeleteTrackerResponse) String

func (o DeleteTrackerResponse) String() string

type ListQuotasRequest

type ListQuotasRequest struct {
}

Request Object

func (ListQuotasRequest) String

func (o ListQuotasRequest) String() string

type ListQuotasResponse

type ListQuotasResponse struct {
	Resources      *[]Quota `json:"resources,omitempty"`
	HttpStatusCode int      `json:"-"`
}

Response Object

func (ListQuotasResponse) String

func (o ListQuotasResponse) String() string

type ListTracesRequest

type ListTracesRequest struct {
	TraceType ListTracesRequestTraceType `json:"trace_type"`

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

	From *int64 `json:"from,omitempty"`

	Next *string `json:"next,omitempty"`

	To *int64 `json:"to,omitempty"`

	TrackerName *string `json:"tracker_name,omitempty"`

	ServiceType *string `json:"service_type,omitempty"`

	User *string `json:"user,omitempty"`

	ResourceId *string `json:"resource_id,omitempty"`

	ResourceName *string `json:"resource_name,omitempty"`

	ResourceType *string `json:"resource_type,omitempty"`

	TraceId *string `json:"trace_id,omitempty"`

	TraceName *string `json:"trace_name,omitempty"`

	TraceRating *ListTracesRequestTraceRating `json:"trace_rating,omitempty"`
}

Request Object

func (ListTracesRequest) String

func (o ListTracesRequest) String() string

type ListTracesRequestTraceRating

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

func (ListTracesRequestTraceRating) MarshalJSON

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

func (*ListTracesRequestTraceRating) UnmarshalJSON

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

type ListTracesRequestTraceRatingEnum

type ListTracesRequestTraceRatingEnum struct {
	NORMAL   ListTracesRequestTraceRating
	WARNING  ListTracesRequestTraceRating
	INCIDENT ListTracesRequestTraceRating
}

func GetListTracesRequestTraceRatingEnum

func GetListTracesRequestTraceRatingEnum() ListTracesRequestTraceRatingEnum

type ListTracesRequestTraceType

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

func (ListTracesRequestTraceType) MarshalJSON

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

func (*ListTracesRequestTraceType) UnmarshalJSON

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

type ListTracesRequestTraceTypeEnum

type ListTracesRequestTraceTypeEnum struct {
	SYSTEM ListTracesRequestTraceType
	DATA   ListTracesRequestTraceType
}

func GetListTracesRequestTraceTypeEnum

func GetListTracesRequestTraceTypeEnum() ListTracesRequestTraceTypeEnum

type ListTracesResponse

type ListTracesResponse struct {
	Traces *[]Traces `json:"traces,omitempty"`

	MetaData       *MetaData `json:"meta_data,omitempty"`
	HttpStatusCode int       `json:"-"`
}

Response Object

func (ListTracesResponse) String

func (o ListTracesResponse) String() string

type ListTrackersRequest

type ListTrackersRequest struct {
	TrackerName *string `json:"tracker_name,omitempty"`

	TrackerType *ListTrackersRequestTrackerType `json:"tracker_type,omitempty"`
}

Request Object

func (ListTrackersRequest) String

func (o ListTrackersRequest) String() string

type ListTrackersRequestTrackerType

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

func (ListTrackersRequestTrackerType) MarshalJSON

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

func (*ListTrackersRequestTrackerType) UnmarshalJSON

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

type ListTrackersRequestTrackerTypeEnum

type ListTrackersRequestTrackerTypeEnum struct {
	SYSTEM ListTrackersRequestTrackerType
	DATA   ListTrackersRequestTrackerType
}

func GetListTrackersRequestTrackerTypeEnum

func GetListTrackersRequestTrackerTypeEnum() ListTrackersRequestTrackerTypeEnum

type ListTrackersResponse

type ListTrackersResponse struct {
	Trackers       *[]TrackerResponseBody `json:"trackers,omitempty"`
	HttpStatusCode int                    `json:"-"`
}

Response Object

func (ListTrackersResponse) String

func (o ListTrackersResponse) String() string

type Lts

type Lts struct {
	IsLtsEnabled *bool `json:"is_lts_enabled,omitempty"`

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

	LogTopicName *string `json:"log_topic_name,omitempty"`
}

云日志服务配置

func (Lts) String

func (o Lts) String() string

type MetaData

type MetaData struct {
	Count *int32 `json:"count,omitempty"`

	Marker *string `json:"marker,omitempty"`
}

标识为扩展字段,包括count(当前响应中事件记录的个数)和marker(本次查询返回事件列表最后一个事件ID)。

func (MetaData) String

func (o MetaData) String() string

type ObsInfo

type ObsInfo struct {
	BucketName *string `json:"bucket_name,omitempty"`

	FilePrefixName *string `json:"file_prefix_name,omitempty"`

	IsObsCreated *bool `json:"is_obs_created,omitempty"`

	IsAuthorizedBucket *bool `json:"is_authorized_bucket,omitempty"`

	BucketLifecycle *int64 `json:"bucket_lifecycle,omitempty"`
}

转储桶信息。

func (ObsInfo) String

func (o ObsInfo) String() string

type Quota

type Quota struct {
	Type *string `json:"type,omitempty"`

	Used *int64 `json:"used,omitempty"`

	Quota *int64 `json:"quota,omitempty"`
}

func (Quota) String

func (o Quota) String() string

type Traces

type Traces struct {
	ResourceId *string `json:"resource_id,omitempty"`

	TraceName *string `json:"trace_name,omitempty"`

	TraceRating *TracesTraceRating `json:"trace_rating,omitempty"`

	TraceType *string `json:"trace_type,omitempty"`

	Request *string `json:"request,omitempty"`

	Response *string `json:"response,omitempty"`

	Code *string `json:"code,omitempty"`

	ApiVersion *string `json:"api_version,omitempty"`

	Message *string `json:"message,omitempty"`

	RecordTime *int64 `json:"record_time,omitempty"`

	TraceId *string `json:"trace_id,omitempty"`

	Time *int64 `json:"time,omitempty"`

	User *UserInfo `json:"user,omitempty"`

	ServiceType *string `json:"service_type,omitempty"`

	ResourceType *string `json:"resource_type,omitempty"`

	SourceIp *string `json:"source_ip,omitempty"`

	ResourceName *string `json:"resource_name,omitempty"`

	RequestId *string `json:"request_id,omitempty"`

	LocationInfo *string `json:"location_info,omitempty"`

	Endpoint *string `json:"endpoint,omitempty"`

	ResourceUrl *string `json:"resource_url,omitempty"`
}

func (Traces) String

func (o Traces) String() string

type TracesTraceRating

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

func (TracesTraceRating) MarshalJSON

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

func (*TracesTraceRating) UnmarshalJSON

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

type TracesTraceRatingEnum

type TracesTraceRatingEnum struct {
	NORMAL   TracesTraceRating
	WARNING  TracesTraceRating
	INCIDENT TracesTraceRating
}

func GetTracesTraceRatingEnum

func GetTracesTraceRatingEnum() TracesTraceRatingEnum

type TrackerObsInfo

type TrackerObsInfo struct {
	BucketName *string `json:"bucket_name,omitempty"`

	FilePrefixName *string `json:"file_prefix_name,omitempty"`

	IsObsCreated *bool `json:"is_obs_created,omitempty"`

	BucketLifecycle *int32 `json:"bucket_lifecycle,omitempty"`
}

转储桶信息。

func (TrackerObsInfo) String

func (o TrackerObsInfo) String() string

type TrackerResponseBody

type TrackerResponseBody struct {
	Id *string `json:"id,omitempty"`

	CreateTime *int64 `json:"create_time,omitempty"`

	KmsId *string `json:"kms_id,omitempty"`

	IsSupportValidate *bool `json:"is_support_validate,omitempty"`

	Lts *Lts `json:"lts,omitempty"`

	TrackerType *TrackerResponseBodyTrackerType `json:"tracker_type,omitempty"`

	DomainId *string `json:"domain_id,omitempty"`

	ProjectId *string `json:"project_id,omitempty"`

	TrackerName *string `json:"tracker_name,omitempty"`

	Status *TrackerResponseBodyStatus `json:"status,omitempty"`

	Detail *string `json:"detail,omitempty"`

	IsSupportTraceFilesEncryption *bool `json:"is_support_trace_files_encryption,omitempty"`

	ObsInfo *ObsInfo `json:"obs_info,omitempty"`

	DataBucket *DataBucketQuery `json:"data_bucket,omitempty"`
}

func (TrackerResponseBody) String

func (o TrackerResponseBody) String() string

type TrackerResponseBodyStatus

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

func (TrackerResponseBodyStatus) MarshalJSON

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

func (*TrackerResponseBodyStatus) UnmarshalJSON

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

type TrackerResponseBodyStatusEnum

type TrackerResponseBodyStatusEnum struct {
	ENABLED  TrackerResponseBodyStatus
	DISABLED TrackerResponseBodyStatus
}

func GetTrackerResponseBodyStatusEnum

func GetTrackerResponseBodyStatusEnum() TrackerResponseBodyStatusEnum

type TrackerResponseBodyTrackerType

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

func (TrackerResponseBodyTrackerType) MarshalJSON

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

func (*TrackerResponseBodyTrackerType) UnmarshalJSON

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

type TrackerResponseBodyTrackerTypeEnum

type TrackerResponseBodyTrackerTypeEnum struct {
	SYSTEM TrackerResponseBodyTrackerType
	DATA   TrackerResponseBodyTrackerType
}

func GetTrackerResponseBodyTrackerTypeEnum

func GetTrackerResponseBodyTrackerTypeEnum() TrackerResponseBodyTrackerTypeEnum

type UpdateTrackerRequest

type UpdateTrackerRequest struct {
	Body *UpdateTrackerRequestBody `json:"body,omitempty"`
}

Request Object

func (UpdateTrackerRequest) String

func (o UpdateTrackerRequest) String() string

type UpdateTrackerRequestBody

type UpdateTrackerRequestBody struct {
	TrackerType UpdateTrackerRequestBodyTrackerType `json:"tracker_type"`

	TrackerName string `json:"tracker_name"`

	Status *UpdateTrackerRequestBodyStatus `json:"status,omitempty"`

	IsLtsEnabled *bool `json:"is_lts_enabled,omitempty"`

	ObsInfo *TrackerObsInfo `json:"obs_info,omitempty"`

	IsSupportTraceFilesEncryption *bool `json:"is_support_trace_files_encryption,omitempty"`

	KmsId *string `json:"kms_id,omitempty"`

	IsSupportValidate *bool `json:"is_support_validate,omitempty"`

	DataBucket *DataBucket `json:"data_bucket,omitempty"`
}

func (UpdateTrackerRequestBody) String

func (o UpdateTrackerRequestBody) String() string

type UpdateTrackerRequestBodyStatus

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

func (UpdateTrackerRequestBodyStatus) MarshalJSON

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

func (*UpdateTrackerRequestBodyStatus) UnmarshalJSON

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

type UpdateTrackerRequestBodyStatusEnum

type UpdateTrackerRequestBodyStatusEnum struct {
	ENABLED  UpdateTrackerRequestBodyStatus
	DISABLED UpdateTrackerRequestBodyStatus
}

func GetUpdateTrackerRequestBodyStatusEnum

func GetUpdateTrackerRequestBodyStatusEnum() UpdateTrackerRequestBodyStatusEnum

type UpdateTrackerRequestBodyTrackerType

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

func (UpdateTrackerRequestBodyTrackerType) MarshalJSON

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

func (*UpdateTrackerRequestBodyTrackerType) UnmarshalJSON

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

type UpdateTrackerRequestBodyTrackerTypeEnum

type UpdateTrackerRequestBodyTrackerTypeEnum struct {
	SYSTEM UpdateTrackerRequestBodyTrackerType
	DATA   UpdateTrackerRequestBodyTrackerType
}

func GetUpdateTrackerRequestBodyTrackerTypeEnum

func GetUpdateTrackerRequestBodyTrackerTypeEnum() UpdateTrackerRequestBodyTrackerTypeEnum

type UpdateTrackerResponse

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

Response Object

func (UpdateTrackerResponse) String

func (o UpdateTrackerResponse) String() string

type UserInfo

type UserInfo struct {
	Id *string `json:"id,omitempty"`

	Name *string `json:"name,omitempty"`

	Domain *BaseUser `json:"domain,omitempty"`
}

用户信息。

func (UserInfo) String

func (o UserInfo) String() string

Jump to

Keyboard shortcuts

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