Files
decort-golang-sdk/pkg/cloudapi/k8ci/models.go

54 lines
870 B
Go
Raw Normal View History

2022-10-03 16:56:47 +03:00
package k8ci
2022-12-22 17:56:47 +03:00
// Detailed information about K8CI
type ItemK8CI struct {
// Created time
2022-10-03 16:56:47 +03:00
CreatedTime uint64 `json:"createdTime"`
2022-12-22 17:56:47 +03:00
2023-06-30 11:21:47 +03:00
// Description
Description string `json:"desc"`
// ID
ID uint64 `json:"id"`
// LB image ID
LBImageID uint64 `json:"lbImageId"`
// Name
Name string `json:"name"`
// Network plugins
NetworkPlugins []string `json:"networkPlugins"`
// Status
Status string `json:"status"`
// Version
Version string `json:"version"`
2022-10-03 16:56:47 +03:00
}
2022-12-22 17:56:47 +03:00
// List of K8CI
2023-06-30 11:21:47 +03:00
type ListK8CI struct {
Data []ItemK8CI `json:"data"`
EntryCount uint64 `json:"entryCount"`
}
2022-10-03 16:56:47 +03:00
2022-12-22 17:56:47 +03:00
// Main information about K8CI
type RecordK8CI struct {
// Description
2022-10-03 16:56:47 +03:00
Description string `json:"desc"`
2022-12-22 17:56:47 +03:00
// ID
ID uint64 `json:"id"`
// Name
Name string `json:"name"`
2023-04-28 11:46:58 +03:00
// Network plugins
NetworkPlugins []string `json:"networkPlugins"`
2022-12-22 17:56:47 +03:00
// Version
Version string `json:"version"`
2022-10-03 16:56:47 +03:00
}