You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
70 lines
1.2 KiB
70 lines
1.2 KiB
package k8ci
|
|
|
|
// Main information about K8CI
|
|
type ItemK8CI struct {
|
|
// Created time
|
|
CreatedTime uint64 `json:"createdTime"`
|
|
// Detailed information about K8CI
|
|
RecordK8CI
|
|
}
|
|
|
|
// List K8CI
|
|
type ListK8CI struct {
|
|
//Data
|
|
Data []ItemK8CI `json:"data"`
|
|
|
|
// Entry count
|
|
EntryCount uint64 `json:"entryCount"`
|
|
}
|
|
|
|
// Detailed information about K8CI
|
|
type RecordK8CI struct {
|
|
// Description
|
|
Description string `json:"desc"`
|
|
|
|
// Grid ID
|
|
GID uint64 `json:"gid"`
|
|
|
|
// GUID
|
|
GUID uint64 `json:"guid"`
|
|
|
|
// ID
|
|
ID uint64 `json:"id"`
|
|
|
|
// Load balancer image ID
|
|
LBImageID uint64 `json:"lbImageId"`
|
|
|
|
// Master driver
|
|
MasterDriver string `json:"masterDriver"`
|
|
|
|
// Master image ID
|
|
MasterImageID uint64 `json:"masterImageId"`
|
|
|
|
// Max master count
|
|
MaxMasterCount uint64 `json:"maxMasterCount"`
|
|
|
|
// Max worker count
|
|
MaxWorkerCount uint64 `json:"maxWorkerCount"`
|
|
|
|
// Milestones
|
|
Milestones uint64 `json:"milestones"`
|
|
|
|
// Name
|
|
Name string `json:"name"`
|
|
|
|
// Shared with
|
|
SharedWith []interface{} `json:"sharedWith"`
|
|
|
|
// Status
|
|
Status string `json:"status"`
|
|
|
|
// Version
|
|
Version string `json:"version"`
|
|
|
|
// Worker driver
|
|
WorkerDriver string `json:"workerDriver"`
|
|
|
|
// Worker image ID
|
|
WorkerImageID uint64 `json:"workerImageId"`
|
|
}
|