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

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

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

func (CreateTrackerRequestBodyTrackerType) Value

type CreateTrackerRequestBodyTrackerTypeEnum

type CreateTrackerRequestBodyTrackerTypeEnum struct {
	SYSTEM CreateTrackerRequestBodyTrackerType
}

func GetCreateTrackerRequestBodyTrackerTypeEnum

func GetCreateTrackerRequestBodyTrackerTypeEnum() CreateTrackerRequestBodyTrackerTypeEnum

type CreateTrackerResponse

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

	CreateTime *int64 `json:"create_time,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"`

	ObsInfo        *ObsInfo `json:"obs_info,omitempty"`
	HttpStatusCode int      `json:"-"`
}

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

func (CreateTrackerResponseStatus) Value

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

func (CreateTrackerResponseTrackerType) Value

type CreateTrackerResponseTrackerTypeEnum

type CreateTrackerResponseTrackerTypeEnum struct {
	SYSTEM CreateTrackerResponseTrackerType
}

func GetCreateTrackerResponseTrackerTypeEnum

func GetCreateTrackerResponseTrackerTypeEnum() CreateTrackerResponseTrackerTypeEnum

type DeleteTrackerRequest

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

func (DeleteTrackerRequest) String

func (o DeleteTrackerRequest) String() string

type DeleteTrackerRequestTrackerName

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

func (DeleteTrackerRequestTrackerName) MarshalJSON

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

func (*DeleteTrackerRequestTrackerName) UnmarshalJSON

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

func (DeleteTrackerRequestTrackerName) Value

type DeleteTrackerRequestTrackerNameEnum

type DeleteTrackerRequestTrackerNameEnum struct {
	SYSTEM DeleteTrackerRequestTrackerName
}

func GetDeleteTrackerRequestTrackerNameEnum

func GetDeleteTrackerRequestTrackerNameEnum() DeleteTrackerRequestTrackerNameEnum

type DeleteTrackerResponse

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

func (DeleteTrackerResponse) String

func (o DeleteTrackerResponse) 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"`
}

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

func (ListTracesRequestTraceRating) Value

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

func (ListTracesRequestTraceType) Value

type ListTracesRequestTraceTypeEnum

type ListTracesRequestTraceTypeEnum struct {
	SYSTEM 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:"-"`
}

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

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

func (ListTrackersRequestTrackerType) Value

type ListTrackersRequestTrackerTypeEnum

type ListTrackersRequestTrackerTypeEnum struct {
	SYSTEM ListTrackersRequestTrackerType
}

func GetListTrackersRequestTrackerTypeEnum

func GetListTrackersRequestTrackerTypeEnum() ListTrackersRequestTrackerTypeEnum

type ListTrackersResponse

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

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

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

	CompressType *ObsInfoCompressType `json:"compress_type,omitempty"`

	IsSortByService *bool `json:"is_sort_by_service,omitempty"`
}

func (ObsInfo) String

func (o ObsInfo) String() string

type ObsInfoCompressType

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

func (ObsInfoCompressType) MarshalJSON

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

func (*ObsInfoCompressType) UnmarshalJSON

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

func (ObsInfoCompressType) Value

func (c ObsInfoCompressType) Value() string

type ObsInfoCompressTypeEnum

type ObsInfoCompressTypeEnum struct {
	GZIP ObsInfoCompressType
	JSON ObsInfoCompressType
}

func GetObsInfoCompressTypeEnum

func GetObsInfoCompressTypeEnum() ObsInfoCompressTypeEnum

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

func (TracesTraceRating) Value

func (c TracesTraceRating) Value() string

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

	CompressType *TrackerObsInfoCompressType `json:"compress_type,omitempty"`

	IsSortByService *bool `json:"is_sort_by_service,omitempty"`
}

func (TrackerObsInfo) String

func (o TrackerObsInfo) String() string

type TrackerObsInfoCompressType

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

func (TrackerObsInfoCompressType) MarshalJSON

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

func (*TrackerObsInfoCompressType) UnmarshalJSON

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

func (TrackerObsInfoCompressType) Value

type TrackerObsInfoCompressTypeEnum

type TrackerObsInfoCompressTypeEnum struct {
	GZIP TrackerObsInfoCompressType
	JSON TrackerObsInfoCompressType
}

func GetTrackerObsInfoCompressTypeEnum

func GetTrackerObsInfoCompressTypeEnum() TrackerObsInfoCompressTypeEnum

type TrackerResponseBody

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

	CreateTime *int64 `json:"create_time,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"`

	GroupId *string `json:"group_id,omitempty"`

	StreamId *string `json:"stream_id,omitempty"`

	ObsInfo *ObsInfo `json:"obs_info,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

func (TrackerResponseBodyStatus) Value

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

func (TrackerResponseBodyTrackerType) Value

type TrackerResponseBodyTrackerTypeEnum

type TrackerResponseBodyTrackerTypeEnum struct {
	SYSTEM TrackerResponseBodyTrackerType
}

func GetTrackerResponseBodyTrackerTypeEnum

func GetTrackerResponseBodyTrackerTypeEnum() TrackerResponseBodyTrackerTypeEnum

type UpdateTrackerRequest

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

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

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

func (UpdateTrackerRequestBodyStatus) Value

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

func (UpdateTrackerRequestBodyTrackerType) Value

type UpdateTrackerRequestBodyTrackerTypeEnum

type UpdateTrackerRequestBodyTrackerTypeEnum struct {
	SYSTEM UpdateTrackerRequestBodyTrackerType
}

func GetUpdateTrackerRequestBodyTrackerTypeEnum

func GetUpdateTrackerRequestBodyTrackerTypeEnum() UpdateTrackerRequestBodyTrackerTypeEnum

type UpdateTrackerResponse

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

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