Documentation ¶
Index ¶
- func GetNamespacedNameKey(namespace, name string) string
- func GetNodeInfoDefaultStorageSizeBytes() string
- func GetTotalResourceFromContainers(containers []corev1.Container) corev1.ResourceRequirements
- func ParseResourceLinkForTopController(resourceLink string) (*ApiResources.Controller, error)
- func ServerHasOpenshiftAPIAppsV1() (bool, error)
- type VolumeCapacity
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetNamespacedNameKey ¶
GetNamespacedNameKey returns string "namespaced/name"
func GetNodeInfoDefaultStorageSizeBytes ¶ added in v0.9.166
func GetNodeInfoDefaultStorageSizeBytes() string
func GetTotalResourceFromContainers ¶
func GetTotalResourceFromContainers(containers []corev1.Container) corev1.ResourceRequirements
func ParseResourceLinkForTopController ¶ added in v0.3.0
func ParseResourceLinkForTopController(resourceLink string) (*ApiResources.Controller, error)
ParseResourceLinkForTopController parses resourcelink string to get top controller information
func ServerHasOpenshiftAPIAppsV1 ¶ added in v0.9.1
ServerHasOpenshiftAPIAppsV1 returns true if the api-server has apiGroup named in "apps.openshift.io"
Types ¶
type VolumeCapacity ¶
func (*VolumeCapacity) Add ¶
func (v *VolumeCapacity) Add(in VolumeCapacity)
Click to show internal directories.
Click to hide internal directories.