tables

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 1, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateClusterSummaryTable

func GenerateClusterSummaryTable(pdf *gofpdf.Fpdf, clientset *kubernetes.Clientset, metricsClient *metricsv.Clientset) error

Generates a summary table of cluster resources.

func GenerateNamespaceSummaryTable

func GenerateNamespaceSummaryTable(pdf *gofpdf.Fpdf, clientset *kubernetes.Clientset) error

Generates a summary table of namespaces, deployments, pods, and services.

func GenerateNamespaceTable

func GenerateNamespaceTable(pdf *gofpdf.Fpdf, clientset *kubernetes.Clientset) error

func GenerateNodeSummaryTable

func GenerateNodeSummaryTable(pdf *gofpdf.Fpdf, clientset *kubernetes.Clientset) error

Generates a summary table of node resources.

func GeneratePodDetailsTable

func GeneratePodDetailsTable(pdf *gofpdf.Fpdf, clientset *kubernetes.Clientset) error

Generates a report of pod details.

func GeneratePodDistributionReport

func GeneratePodDistributionReport(pdf *gofpdf.Fpdf, clientset *kubernetes.Clientset) error

Generates a report of pod distribution by namespace and node.

func GeneratePodResourceUsageTable

func GeneratePodResourceUsageTable(pdf *gofpdf.Fpdf, clientset *kubernetes.Clientset) error

Types

type PodResourceUsage

type PodResourceUsage struct {
	Name                 string
	RequestedCPUInMillis int64
	LimitCPUInMillis     int64
	RequestedMemoryInMi  int64
	LimitMemoryInMi      int64
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL