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.
decort-golang-sdk/pkg/cloudapi/k8ci/models.go

54 lines
870 B

package k8ci
// Detailed information about K8CI
type ItemK8CI struct {
// Created time
CreatedTime uint64 `json:"createdTime"`
// 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"`
}
// List of K8CI
type ListK8CI struct {
Data []ItemK8CI `json:"data"`
EntryCount uint64 `json:"entryCount"`
}
// Main information about K8CI
type RecordK8CI struct {
// Description
Description string `json:"desc"`
// ID
ID uint64 `json:"id"`
// Name
Name string `json:"name"`
// Network plugins
NetworkPlugins []string `json:"networkPlugins"`
// Version
Version string `json:"version"`
}