Documentation
¶
Index ¶
- type CDKAuthResponse
- type CreateResourceParam
- type CreateResourceRequest
- type CreateResourceResponseData
- type CreateVersionCallBackParam
- type CreateVersionCallBackRequest
- type CreateVersionParam
- type CreateVersionRequest
- type CreateVersionResponseData
- type DistributeInfo
- type DownloadValidateCDKRequest
- type ExistVersionNameWithOSAndArchParam
- type FileDetectResult
- type GetLatestVersionRequest
- type GetVersionByNameParam
- type IncrementalUpdateInfo
- type LatestVersionInfo
- type MultiVersionInfo
- type PatchInfoTuple
- type PatchTaskExecuteParam
- type PatchTaskPayload
- type QueryLatestResponseData
- type ResourcePurgeInfo
- type StorageInfoCreatePayload
- type UpdateCustomDataRequest
- type UpdateInfo
- type UpdateInfoTuple
- type UpdateReleaseNoteDetailParam
- type UpdateReleaseNoteRequest
- type UpdateReleaseNoteSummaryParam
- type UpdateRequestParam
- type ValidateCDKRequest
- type ValidateResponse
- type ValidateUploaderResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CDKAuthResponse ¶ added in v0.9.0
type CreateResourceParam ¶
type CreateResourceRequest ¶
type CreateVersionCallBackParam ¶ added in v0.5.0
type CreateVersionCallBackRequest ¶ added in v0.6.0
type CreateVersionParam ¶
type CreateVersionRequest ¶ added in v0.6.0
type DistributeInfo ¶ added in v0.4.1
type DownloadValidateCDKRequest ¶ added in v0.9.0
type ExistVersionNameWithOSAndArchParam ¶ added in v0.4.0
type FileDetectResult ¶ added in v0.12.0
type GetLatestVersionRequest ¶
type GetVersionByNameParam ¶
type IncrementalUpdateInfo ¶ added in v0.5.0
type LatestVersionInfo ¶ added in v0.5.0
type LatestVersionInfo struct {
// by logic injection
ResourceUpdateType types.Update
VersionId int `db:"version_id"`
VersionName string `db:"version_name"`
VersionNumber uint64 `db:"version_number"`
ReleaseNote string `db:"release_note"`
CustomData string `db:"custom_data"`
OS string `db:"os"`
Arch string `db:"arch"`
Channel string `db:"channel"`
PackageHash sql.NullString `db:"package_hash_sha256"`
PackagePath sql.NullString `db:"package_path"`
CreatedAt time.Time `db:"created_at"`
VersionSerial int `db:"version_serial"`
}
type MultiVersionInfo ¶ added in v0.5.0
type MultiVersionInfo struct {
LatestVersionInfo *LatestVersionInfo
}
type PatchInfoTuple ¶ added in v0.12.0
type PatchTaskExecuteParam ¶ added in v0.5.0
type PatchTaskPayload ¶ added in v0.5.0
type QueryLatestResponseData ¶
type QueryLatestResponseData struct {
VersionName string `json:"version_name"`
VersionNumber uint64 `json:"version_number"`
Url string `json:"url,omitempty"`
SHA256 string `json:"sha256,omitempty"`
Channel string `json:"channel"`
OS string `json:"os"`
Arch string `json:"arch"`
// UpdateType is the type of the update, it can be "full" or "incremental"
UpdateType string `json:"update_type,omitempty"`
CustomData string `json:"custom_data,omitempty"`
ReleaseNote string `json:"release_note"`
Filesize int64 `json:"filesize,omitempty"`
CDKExpiredTime int64 `json:"cdk_expired_time,omitempty"`
}
type ResourcePurgeInfo ¶ added in v0.5.1
type StorageInfoCreatePayload ¶ added in v0.5.2
type UpdateCustomDataRequest ¶ added in v0.5.0
type UpdateInfo ¶ added in v0.4.1
type UpdateInfoTuple ¶ added in v0.5.0
type UpdateReleaseNoteDetailParam ¶ added in v0.4.0
type UpdateReleaseNoteRequest ¶ added in v0.5.0
type UpdateReleaseNoteSummaryParam ¶ added in v0.4.0
type UpdateRequestParam ¶ added in v0.5.0
type UpdateRequestParam struct {
ResourceId string
CurrentVersionName string
TargetVersionInfo *LatestVersionInfo
}
type ValidateCDKRequest ¶
type ValidateResponse ¶ added in v0.9.0
Click to show internal directories.
Click to hide internal directories.