client

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

This file is auto-generated, don't edit it. Thanks. *

*

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AnalysisConfig

type AnalysisConfig struct {
	BadThroughputThreshold           *float64                 `json:"badThroughputThreshold,omitempty" xml:"badThroughputThreshold,omitempty"`
	FullGCFrequentIntervalThreshold  *float64                 `json:"fullGCFrequentIntervalThreshold,omitempty" xml:"fullGCFrequentIntervalThreshold,omitempty"`
	HighHeapUsageThreshold           *float64                 `json:"highHeapUsageThreshold,omitempty" xml:"highHeapUsageThreshold,omitempty"`
	HighHumongousUsageThreshold      *float64                 `json:"highHumongousUsageThreshold,omitempty" xml:"highHumongousUsageThreshold,omitempty"`
	HighMetaspaceUsageThreshold      *float64                 `json:"highMetaspaceUsageThreshold,omitempty" xml:"highMetaspaceUsageThreshold,omitempty"`
	HighOldUsageThreshold            *float64                 `json:"highOldUsageThreshold,omitempty" xml:"highOldUsageThreshold,omitempty"`
	HighPromotionThreshold           *float64                 `json:"highPromotionThreshold,omitempty" xml:"highPromotionThreshold,omitempty"`
	HighSysThreshold                 *float64                 `json:"highSysThreshold,omitempty" xml:"highSysThreshold,omitempty"`
	LongConcurrentThreshold          *float64                 `json:"longConcurrentThreshold,omitempty" xml:"longConcurrentThreshold,omitempty"`
	LongPauseThreshold               *float64                 `json:"longPauseThreshold,omitempty" xml:"longPauseThreshold,omitempty"`
	LowUsrThreshold                  *float64                 `json:"lowUsrThreshold,omitempty" xml:"lowUsrThreshold,omitempty"`
	OldGCFrequentIntervalThreshold   *float64                 `json:"oldGCFrequentIntervalThreshold,omitempty" xml:"oldGCFrequentIntervalThreshold,omitempty"`
	SmallGenerationThreshold         *float64                 `json:"smallGenerationThreshold,omitempty" xml:"smallGenerationThreshold,omitempty"`
	TimeRange                        *AnalysisConfigTimeRange `json:"timeRange,omitempty" xml:"timeRange,omitempty" type:"Struct"`
	TooManyOldGCThreshold            *float64                 `json:"tooManyOldGCThreshold,omitempty" xml:"tooManyOldGCThreshold,omitempty"`
	YoungGCFrequentIntervalThreshold *float64                 `json:"youngGCFrequentIntervalThreshold,omitempty" xml:"youngGCFrequentIntervalThreshold,omitempty"`
}

func (AnalysisConfig) GoString

func (s AnalysisConfig) GoString() string

func (*AnalysisConfig) SetBadThroughputThreshold

func (s *AnalysisConfig) SetBadThroughputThreshold(v float64) *AnalysisConfig

func (*AnalysisConfig) SetFullGCFrequentIntervalThreshold

func (s *AnalysisConfig) SetFullGCFrequentIntervalThreshold(v float64) *AnalysisConfig

func (*AnalysisConfig) SetHighHeapUsageThreshold

func (s *AnalysisConfig) SetHighHeapUsageThreshold(v float64) *AnalysisConfig

func (*AnalysisConfig) SetHighHumongousUsageThreshold

func (s *AnalysisConfig) SetHighHumongousUsageThreshold(v float64) *AnalysisConfig

func (*AnalysisConfig) SetHighMetaspaceUsageThreshold

func (s *AnalysisConfig) SetHighMetaspaceUsageThreshold(v float64) *AnalysisConfig

func (*AnalysisConfig) SetHighOldUsageThreshold

func (s *AnalysisConfig) SetHighOldUsageThreshold(v float64) *AnalysisConfig

func (*AnalysisConfig) SetHighPromotionThreshold

func (s *AnalysisConfig) SetHighPromotionThreshold(v float64) *AnalysisConfig

func (*AnalysisConfig) SetHighSysThreshold

func (s *AnalysisConfig) SetHighSysThreshold(v float64) *AnalysisConfig

func (*AnalysisConfig) SetLongConcurrentThreshold

func (s *AnalysisConfig) SetLongConcurrentThreshold(v float64) *AnalysisConfig

func (*AnalysisConfig) SetLongPauseThreshold

func (s *AnalysisConfig) SetLongPauseThreshold(v float64) *AnalysisConfig

func (*AnalysisConfig) SetLowUsrThreshold

func (s *AnalysisConfig) SetLowUsrThreshold(v float64) *AnalysisConfig

func (*AnalysisConfig) SetOldGCFrequentIntervalThreshold

func (s *AnalysisConfig) SetOldGCFrequentIntervalThreshold(v float64) *AnalysisConfig

func (*AnalysisConfig) SetSmallGenerationThreshold

func (s *AnalysisConfig) SetSmallGenerationThreshold(v float64) *AnalysisConfig

func (*AnalysisConfig) SetTimeRange

func (*AnalysisConfig) SetTooManyOldGCThreshold

func (s *AnalysisConfig) SetTooManyOldGCThreshold(v float64) *AnalysisConfig

func (*AnalysisConfig) SetYoungGCFrequentIntervalThreshold

func (s *AnalysisConfig) SetYoungGCFrequentIntervalThreshold(v float64) *AnalysisConfig

func (AnalysisConfig) String

func (s AnalysisConfig) String() string

type AnalysisConfigTimeRange

type AnalysisConfigTimeRange struct {
	End   *float64 `json:"end,omitempty" xml:"end,omitempty"`
	Start *float64 `json:"start,omitempty" xml:"start,omitempty"`
}

func (AnalysisConfigTimeRange) GoString

func (s AnalysisConfigTimeRange) GoString() string

func (*AnalysisConfigTimeRange) SetEnd

func (*AnalysisConfigTimeRange) SetStart

func (AnalysisConfigTimeRange) String

func (s AnalysisConfigTimeRange) String() string

type AnalyzeFileRequest

type AnalyzeFileRequest struct {
	KeepUnreachableObjects *bool   `json:"keepUnreachableObjects,omitempty" xml:"keepUnreachableObjects,omitempty"`
	Name                   *string `json:"name,omitempty" xml:"name,omitempty"`
	Token                  *string `json:"token,omitempty" xml:"token,omitempty"`
}

func (AnalyzeFileRequest) GoString

func (s AnalyzeFileRequest) GoString() string

func (*AnalyzeFileRequest) SetKeepUnreachableObjects

func (s *AnalyzeFileRequest) SetKeepUnreachableObjects(v bool) *AnalyzeFileRequest

func (*AnalyzeFileRequest) SetName

func (*AnalyzeFileRequest) SetToken

func (AnalyzeFileRequest) String

func (s AnalyzeFileRequest) String() string

type AnalyzeFileResponse

type AnalyzeFileResponse struct {
	Headers    map[string]*string       `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                   `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *AnalyzeFileResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (AnalyzeFileResponse) GoString

func (s AnalyzeFileResponse) GoString() string

func (*AnalyzeFileResponse) SetBody

func (*AnalyzeFileResponse) SetHeaders

func (s *AnalyzeFileResponse) SetHeaders(v map[string]*string) *AnalyzeFileResponse

func (*AnalyzeFileResponse) SetStatusCode

func (s *AnalyzeFileResponse) SetStatusCode(v int32) *AnalyzeFileResponse

func (AnalyzeFileResponse) String

func (s AnalyzeFileResponse) String() string

type AnalyzeFileResponseBody

type AnalyzeFileResponseBody struct {
	FileName  *string `json:"fileName,omitempty" xml:"fileName,omitempty"`
	RequestId *string `json:"requestId,omitempty" xml:"requestId,omitempty"`
}

func (AnalyzeFileResponseBody) GoString

func (s AnalyzeFileResponseBody) GoString() string

func (*AnalyzeFileResponseBody) SetFileName

func (*AnalyzeFileResponseBody) SetRequestId

func (AnalyzeFileResponseBody) String

func (s AnalyzeFileResponseBody) String() string

type Client

type Client struct {
	openapi.Client
}

func NewClient

func NewClient(config *openapi.Config) (*Client, error)

func (*Client) AnalyzeFile

func (client *Client) AnalyzeFile(request *AnalyzeFileRequest) (_result *AnalyzeFileResponse, _err error)

func (*Client) AnalyzeFileWithOptions

func (client *Client) AnalyzeFileWithOptions(request *AnalyzeFileRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *AnalyzeFileResponse, _err error)

func (*Client) GetEndpoint

func (client *Client) GetEndpoint(productId *string, regionId *string, endpointRule *string, network *string, suffix *string, endpointMap map[string]*string, endpoint *string) (_result *string, _err error)

func (*Client) GetFile

func (client *Client) GetFile(request *GetFileRequest) (_result *GetFileResponse, _err error)

func (*Client) GetFileWithOptions

func (client *Client) GetFileWithOptions(request *GetFileRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *GetFileResponse, _err error)

func (*Client) Init

func (client *Client) Init(config *openapi.Config) (_err error)

func (*Client) UploadFileByOSS

func (client *Client) UploadFileByOSS(request *UploadFileByOSSRequest) (_result *UploadFileByOSSResponse, _err error)

func (*Client) UploadFileByOSSWithOptions

func (client *Client) UploadFileByOSSWithOptions(request *UploadFileByOSSRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *UploadFileByOSSResponse, _err error)

func (*Client) UploadFileByURL

func (client *Client) UploadFileByURL(request *UploadFileByURLRequest) (_result *UploadFileByURLResponse, _err error)

func (*Client) UploadFileByURLWithOptions

func (client *Client) UploadFileByURLWithOptions(request *UploadFileByURLRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *UploadFileByURLResponse, _err error)

type FileInfo

type FileInfo struct {
	AnalyzeProgress  *FileInfoAnalyzeProgress  `json:"analyzeProgress,omitempty" xml:"analyzeProgress,omitempty" type:"Struct"`
	CreationTime     *int64                    `json:"creationTime,omitempty" xml:"creationTime,omitempty"`
	DisplayName      *string                   `json:"displayName,omitempty" xml:"displayName,omitempty"`
	Labels           *string                   `json:"labels,omitempty" xml:"labels,omitempty"`
	Name             *string                   `json:"name,omitempty" xml:"name,omitempty"`
	RequestId        *string                   `json:"requestId,omitempty" xml:"requestId,omitempty"`
	Shared           *bool                     `json:"shared,omitempty" xml:"shared,omitempty"`
	Size             *int64                    `json:"size,omitempty" xml:"size,omitempty"`
	TransferProgress *FileInfoTransferProgress `json:"transferProgress,omitempty" xml:"transferProgress,omitempty" type:"Struct"`
	TransferState    *string                   `json:"transferState,omitempty" xml:"transferState,omitempty"`
	Type             *string                   `json:"type,omitempty" xml:"type,omitempty"`
}

func (FileInfo) GoString

func (s FileInfo) GoString() string

func (*FileInfo) SetAnalyzeProgress

func (s *FileInfo) SetAnalyzeProgress(v *FileInfoAnalyzeProgress) *FileInfo

func (*FileInfo) SetCreationTime

func (s *FileInfo) SetCreationTime(v int64) *FileInfo

func (*FileInfo) SetDisplayName

func (s *FileInfo) SetDisplayName(v string) *FileInfo

func (*FileInfo) SetLabels

func (s *FileInfo) SetLabels(v string) *FileInfo

func (*FileInfo) SetName

func (s *FileInfo) SetName(v string) *FileInfo

func (*FileInfo) SetRequestId

func (s *FileInfo) SetRequestId(v string) *FileInfo

func (*FileInfo) SetShared

func (s *FileInfo) SetShared(v bool) *FileInfo

func (*FileInfo) SetSize

func (s *FileInfo) SetSize(v int64) *FileInfo

func (*FileInfo) SetTransferProgress

func (s *FileInfo) SetTransferProgress(v *FileInfoTransferProgress) *FileInfo

func (*FileInfo) SetTransferState

func (s *FileInfo) SetTransferState(v string) *FileInfo

func (*FileInfo) SetType

func (s *FileInfo) SetType(v string) *FileInfo

func (FileInfo) String

func (s FileInfo) String() string

type FileInfoAnalyzeProgress

type FileInfoAnalyzeProgress struct {
	Message *string  `json:"message,omitempty" xml:"message,omitempty"`
	Percent *float64 `json:"percent,omitempty" xml:"percent,omitempty"`
	State   *string  `json:"state,omitempty" xml:"state,omitempty"`
}

func (FileInfoAnalyzeProgress) GoString

func (s FileInfoAnalyzeProgress) GoString() string

func (*FileInfoAnalyzeProgress) SetMessage

func (*FileInfoAnalyzeProgress) SetPercent

func (*FileInfoAnalyzeProgress) SetState

func (FileInfoAnalyzeProgress) String

func (s FileInfoAnalyzeProgress) String() string

type FileInfoTransferProgress

type FileInfoTransferProgress struct {
	TotalSize       *int64 `json:"totalSize,omitempty" xml:"totalSize,omitempty"`
	TransferredSize *int64 `json:"transferredSize,omitempty" xml:"transferredSize,omitempty"`
}

func (FileInfoTransferProgress) GoString

func (s FileInfoTransferProgress) GoString() string

func (*FileInfoTransferProgress) SetTotalSize

func (*FileInfoTransferProgress) SetTransferredSize

func (s *FileInfoTransferProgress) SetTransferredSize(v int64) *FileInfoTransferProgress

func (FileInfoTransferProgress) String

func (s FileInfoTransferProgress) String() string

type GetFileRequest

type GetFileRequest struct {
	Name  *string `json:"name,omitempty" xml:"name,omitempty"`
	Token *string `json:"token,omitempty" xml:"token,omitempty"`
}

func (GetFileRequest) GoString

func (s GetFileRequest) GoString() string

func (*GetFileRequest) SetName

func (s *GetFileRequest) SetName(v string) *GetFileRequest

func (*GetFileRequest) SetToken

func (s *GetFileRequest) SetToken(v string) *GetFileRequest

func (GetFileRequest) String

func (s GetFileRequest) String() string

type GetFileResponse

type GetFileResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *FileInfo          `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (GetFileResponse) GoString

func (s GetFileResponse) GoString() string

func (*GetFileResponse) SetBody

func (s *GetFileResponse) SetBody(v *FileInfo) *GetFileResponse

func (*GetFileResponse) SetHeaders

func (s *GetFileResponse) SetHeaders(v map[string]*string) *GetFileResponse

func (*GetFileResponse) SetStatusCode

func (s *GetFileResponse) SetStatusCode(v int32) *GetFileResponse

func (GetFileResponse) String

func (s GetFileResponse) String() string

type PhaseStatisticItem

type PhaseStatisticItem struct {
	Count         *int32   `json:"count,omitempty" xml:"count,omitempty"`
	DurationAvg   *float64 `json:"durationAvg,omitempty" xml:"durationAvg,omitempty"`
	DurationMax   *float64 `json:"durationMax,omitempty" xml:"durationMax,omitempty"`
	DurationTotal *float64 `json:"durationTotal,omitempty" xml:"durationTotal,omitempty"`
	IntervalAvg   *float64 `json:"intervalAvg,omitempty" xml:"intervalAvg,omitempty"`
	IntervalMin   *float64 `json:"intervalMin,omitempty" xml:"intervalMin,omitempty"`
	Name          *string  `json:"name,omitempty" xml:"name,omitempty"`
}

func (PhaseStatisticItem) GoString

func (s PhaseStatisticItem) GoString() string

func (*PhaseStatisticItem) SetCount

func (*PhaseStatisticItem) SetDurationAvg

func (s *PhaseStatisticItem) SetDurationAvg(v float64) *PhaseStatisticItem

func (*PhaseStatisticItem) SetDurationMax

func (s *PhaseStatisticItem) SetDurationMax(v float64) *PhaseStatisticItem

func (*PhaseStatisticItem) SetDurationTotal

func (s *PhaseStatisticItem) SetDurationTotal(v float64) *PhaseStatisticItem

func (*PhaseStatisticItem) SetIntervalAvg

func (s *PhaseStatisticItem) SetIntervalAvg(v float64) *PhaseStatisticItem

func (*PhaseStatisticItem) SetIntervalMin

func (s *PhaseStatisticItem) SetIntervalMin(v float64) *PhaseStatisticItem

func (*PhaseStatisticItem) SetName

func (PhaseStatisticItem) String

func (s PhaseStatisticItem) String() string

type UploadFileByOSSRequest

type UploadFileByOSSRequest struct {
	BucketName  *string `json:"bucketName,omitempty" xml:"bucketName,omitempty"`
	DisplayName *string `json:"displayName,omitempty" xml:"displayName,omitempty"`
	// oss endpoint
	Endpoint   *string `json:"endpoint,omitempty" xml:"endpoint,omitempty"`
	ObjectName *string `json:"objectName,omitempty" xml:"objectName,omitempty"`
	Type       *string `json:"type,omitempty" xml:"type,omitempty"`
}

func (UploadFileByOSSRequest) GoString

func (s UploadFileByOSSRequest) GoString() string

func (*UploadFileByOSSRequest) SetBucketName

func (*UploadFileByOSSRequest) SetDisplayName

func (*UploadFileByOSSRequest) SetEndpoint

func (*UploadFileByOSSRequest) SetObjectName

func (*UploadFileByOSSRequest) SetType

func (UploadFileByOSSRequest) String

func (s UploadFileByOSSRequest) String() string

type UploadFileByOSSResponse

type UploadFileByOSSResponse struct {
	Headers    map[string]*string           `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                       `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *UploadFileByOSSResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (UploadFileByOSSResponse) GoString

func (s UploadFileByOSSResponse) GoString() string

func (*UploadFileByOSSResponse) SetBody

func (*UploadFileByOSSResponse) SetHeaders

func (*UploadFileByOSSResponse) SetStatusCode

func (UploadFileByOSSResponse) String

func (s UploadFileByOSSResponse) String() string

type UploadFileByOSSResponseBody

type UploadFileByOSSResponseBody struct {
	Name      *string `json:"name,omitempty" xml:"name,omitempty"`
	RequestId *string `json:"requestId,omitempty" xml:"requestId,omitempty"`
}

func (UploadFileByOSSResponseBody) GoString

func (s UploadFileByOSSResponseBody) GoString() string

func (*UploadFileByOSSResponseBody) SetName

func (*UploadFileByOSSResponseBody) SetRequestId

func (UploadFileByOSSResponseBody) String

type UploadFileByURLRequest

type UploadFileByURLRequest struct {
	DisplayName *string `json:"displayName,omitempty" xml:"displayName,omitempty"`
	Type        *string `json:"type,omitempty" xml:"type,omitempty"`
	Url         *string `json:"url,omitempty" xml:"url,omitempty"`
}

func (UploadFileByURLRequest) GoString

func (s UploadFileByURLRequest) GoString() string

func (*UploadFileByURLRequest) SetDisplayName

func (*UploadFileByURLRequest) SetType

func (*UploadFileByURLRequest) SetUrl

func (UploadFileByURLRequest) String

func (s UploadFileByURLRequest) String() string

type UploadFileByURLResponse

type UploadFileByURLResponse struct {
	Headers    map[string]*string           `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                       `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *UploadFileByURLResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (UploadFileByURLResponse) GoString

func (s UploadFileByURLResponse) GoString() string

func (*UploadFileByURLResponse) SetBody

func (*UploadFileByURLResponse) SetHeaders

func (*UploadFileByURLResponse) SetStatusCode

func (UploadFileByURLResponse) String

func (s UploadFileByURLResponse) String() string

type UploadFileByURLResponseBody

type UploadFileByURLResponseBody struct {
	Name      *string `json:"name,omitempty" xml:"name,omitempty"`
	RequestId *string `json:"requestId,omitempty" xml:"requestId,omitempty"`
}

func (UploadFileByURLResponseBody) GoString

func (s UploadFileByURLResponseBody) GoString() string

func (*UploadFileByURLResponseBody) SetName

func (*UploadFileByURLResponseBody) SetRequestId

func (UploadFileByURLResponseBody) String

Jump to

Keyboard shortcuts

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