Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseNote ¶
type BaseNote struct { DomainId string `json:"domain_id"` Domain string `json:"domain"` ClusterId string `json:"cluster_id"` Cluster string `json:"cluster"` CreatedAt time.Time `json:"created_at"` Distribution string `json:"distribution"` }
func NewBaseNote ¶
func NewBaseNote(domainId string, input api.ClusterResourceDetail) *BaseNote
type NamespaceResourceNote ¶
type NamespaceResourceNote struct { *BaseNote Namespace string `json:"namespace"` NamespaceId string `json:"namespace_id"` NamespaceLabels map[string]string `json:"namespace_labels"` }
func NewNamespaceResourceNote ¶
func NewNamespaceResourceNote(domainId string, input api.NamespaceResourceDetail, nsLabels map[string]string) *NamespaceResourceNote
type PVCNote ¶
type PVCNote struct { *NamespaceResourceNote CapacityMB int `json:"capacity_mb"` StorageClass string `json:"storage_class"` }
func NewPVCNote ¶
type PodNote ¶
type PodNote struct { *NamespaceResourceNote Limits *Resources `json:"limits"` Requests *Resources `json:"requests"` CpuLimits int `json:"cpu_limits"` CpuRequests int `json:"cpu_requests"` MemoryLimits int `json:"memory_limits"` MemoryRequests int `json:"memory_requests"` QOSClass string `json:"qosClass"` PodIP string `json:"pod_ip"` Status string `json:"status"` }
func NewPodNote ¶
Click to show internal directories.
Click to hide internal directories.