Documentation ¶
Index ¶
- func GenerateClusterRoleBindingReportCSV(writer *csv.Writer, clientset *kubernetes.Clientset) error
- func GenerateClusterRoleReportCSV(writer *csv.Writer, clientset *kubernetes.Clientset) error
- func GenerateClusterSummaryCSV(writer *csv.Writer, clientset *kubernetes.Clientset, ...) error
- func GenerateConfigMapReportCSV(writer *csv.Writer, clientset *kubernetes.Clientset) error
- func GenerateCronJobReportCSV(writer *csv.Writer, clientset *kubernetes.Clientset) error
- func GenerateDaemonSetReportCSV(writer *csv.Writer, clientset *kubernetes.Clientset) error
- func GenerateDeploymentReportCSV(writer *csv.Writer, clientset *kubernetes.Clientset) error
- func GenerateEndpointsReportCSV(writer *csv.Writer, clientset *kubernetes.Clientset) error
- func GenerateHPAReportCSV(writer *csv.Writer, clientset *kubernetes.Clientset) error
- func GenerateIngressReportCSV(writer *csv.Writer, clientset *kubernetes.Clientset) error
- func GenerateJobReportCSV(writer *csv.Writer, clientset *kubernetes.Clientset) error
- func GenerateLimitRangeReportCSV(writer *csv.Writer, clientset *kubernetes.Clientset) error
- func GenerateNamespaceTable(writer *csv.Writer, clientset *kubernetes.Clientset) error
- func GenerateNetworkPolicyReportCSV(writer *csv.Writer, clientset *kubernetes.Clientset) error
- func GenerateNodeSummaryTable(writer *csv.Writer, clientset *kubernetes.Clientset) error
- func GeneratePersistentVolumeClaimReportCSV(writer *csv.Writer, clientset *kubernetes.Clientset) error
- func GeneratePersistentVolumeReportCSV(writer *csv.Writer, clientset *kubernetes.Clientset) error
- func GeneratePodResourceUsageCSV(writer *csv.Writer, clientset *kubernetes.Clientset) error
- func GenerateReplicaSetReportCSV(writer *csv.Writer, clientset *kubernetes.Clientset) error
- func GenerateResourceQuotaReportCSV(writer *csv.Writer, clientset *kubernetes.Clientset) error
- func GenerateRoleBindingReportCSV(writer *csv.Writer, clientset *kubernetes.Clientset) error
- func GenerateRoleReportCSV(writer *csv.Writer, clientset *kubernetes.Clientset) error
- func GenerateSecretReportCSV(writer *csv.Writer, clientset *kubernetes.Clientset) error
- func GenerateServiceAccountReportCSV(writer *csv.Writer, clientset *kubernetes.Clientset) error
- func GenerateServiceReportCSV(writer *csv.Writer, clientset *kubernetes.Clientset) error
- func GenerateStatefulSetReportCSV(writer *csv.Writer, clientset *kubernetes.Clientset) error
- func GenerateStorageClassReportCSV(writer *csv.Writer, clientset *kubernetes.Clientset) error
- type ClusterRoleBindingInfo
- type ClusterRoleInfo
- type ConfigMapInfo
- type CronJobInfo
- type DaemonSetInfo
- type DeploymentInfo
- type EndpointInfo
- type HPAInfo
- type IngressResourceInfo
- type JobInfo
- type LimitRangeInfo
- type NetworkPolicyInfo
- type PersistentVolumeClaimInfo
- type PersistentVolumeInfo
- type PodResourceUsage
- type ReplicaSetInfo
- type ResourceQuotaInfo
- type RoleBindingInfo
- type RoleInfo
- type SecretInfo
- type ServiceAccountInfo
- type ServiceInfo
- type StatefulSetInfo
- type StorageClassInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateClusterRoleBindingReportCSV ¶
func GenerateClusterRoleBindingReportCSV(writer *csv.Writer, clientset *kubernetes.Clientset) error
Generates a CSV report of Kubernetes ClusterRoleBindings.
func GenerateClusterRoleReportCSV ¶
func GenerateClusterRoleReportCSV(writer *csv.Writer, clientset *kubernetes.Clientset) error
Generates a CSV report of Kubernetes ClusterRoles.
func GenerateClusterSummaryCSV ¶
func GenerateClusterSummaryCSV(writer *csv.Writer, clientset *kubernetes.Clientset, metricsClient *metricsv.Clientset) error
Generates a summary table of cluster resources in CSV format.
func GenerateConfigMapReportCSV ¶
func GenerateConfigMapReportCSV(writer *csv.Writer, clientset *kubernetes.Clientset) error
Generates a CSV report of Kubernetes ConfigMaps.
func GenerateCronJobReportCSV ¶
func GenerateCronJobReportCSV(writer *csv.Writer, clientset *kubernetes.Clientset) error
Generates a CSV report of Kubernetes CronJobs.
func GenerateDaemonSetReportCSV ¶
func GenerateDaemonSetReportCSV(writer *csv.Writer, clientset *kubernetes.Clientset) error
Generates a CSV report of Kubernetes DaemonSets.
func GenerateDeploymentReportCSV ¶
func GenerateDeploymentReportCSV(writer *csv.Writer, clientset *kubernetes.Clientset) error
Generates a CSV report of Kubernetes deployments.
func GenerateEndpointsReportCSV ¶
func GenerateEndpointsReportCSV(writer *csv.Writer, clientset *kubernetes.Clientset) error
Generates a CSV report of Kubernetes Endpoints.
func GenerateHPAReportCSV ¶
func GenerateHPAReportCSV(writer *csv.Writer, clientset *kubernetes.Clientset) error
Generates a CSV report of Kubernetes Horizontal Pod Autoscalers.
func GenerateIngressReportCSV ¶
func GenerateIngressReportCSV(writer *csv.Writer, clientset *kubernetes.Clientset) error
Generates a CSV report of Kubernetes Ingress resources.
func GenerateJobReportCSV ¶
func GenerateJobReportCSV(writer *csv.Writer, clientset *kubernetes.Clientset) error
Generates a CSV report of Kubernetes Jobs.
func GenerateLimitRangeReportCSV ¶
func GenerateLimitRangeReportCSV(writer *csv.Writer, clientset *kubernetes.Clientset) error
Generates a CSV report of Kubernetes Limit Ranges.
func GenerateNamespaceTable ¶
func GenerateNamespaceTable(writer *csv.Writer, clientset *kubernetes.Clientset) error
Generates a CSV file for namespace resource usage.
func GenerateNetworkPolicyReportCSV ¶
func GenerateNetworkPolicyReportCSV(writer *csv.Writer, clientset *kubernetes.Clientset) error
Generates a CSV report of Kubernetes Network Policies.
func GenerateNodeSummaryTable ¶
func GenerateNodeSummaryTable(writer *csv.Writer, clientset *kubernetes.Clientset) error
Generates a CSV file for node resource usage.
func GeneratePersistentVolumeClaimReportCSV ¶
func GeneratePersistentVolumeClaimReportCSV(writer *csv.Writer, clientset *kubernetes.Clientset) error
Generates a CSV report of Kubernetes Persistent Volume Claims.
func GeneratePersistentVolumeReportCSV ¶
func GeneratePersistentVolumeReportCSV(writer *csv.Writer, clientset *kubernetes.Clientset) error
Generates a CSV report of Kubernetes Persistent Volumes.
func GeneratePodResourceUsageCSV ¶
func GeneratePodResourceUsageCSV(writer *csv.Writer, clientset *kubernetes.Clientset) error
Generates a CSV report of pod resource usage.
func GenerateReplicaSetReportCSV ¶
func GenerateReplicaSetReportCSV(writer *csv.Writer, clientset *kubernetes.Clientset) error
Generates a CSV report of Kubernetes ReplicaSets.
func GenerateResourceQuotaReportCSV ¶
func GenerateResourceQuotaReportCSV(writer *csv.Writer, clientset *kubernetes.Clientset) error
Generates a CSV report of Kubernetes Resource Quotas.
func GenerateRoleBindingReportCSV ¶
func GenerateRoleBindingReportCSV(writer *csv.Writer, clientset *kubernetes.Clientset) error
Generates a CSV report of Kubernetes RoleBindings.
func GenerateRoleReportCSV ¶
func GenerateRoleReportCSV(writer *csv.Writer, clientset *kubernetes.Clientset) error
Generates a CSV report of Kubernetes Roles.
func GenerateSecretReportCSV ¶
func GenerateSecretReportCSV(writer *csv.Writer, clientset *kubernetes.Clientset) error
Generates a CSV report of Kubernetes Secrets.
func GenerateServiceAccountReportCSV ¶
func GenerateServiceAccountReportCSV(writer *csv.Writer, clientset *kubernetes.Clientset) error
Generates a CSV report of Kubernetes ServiceAccounts.
func GenerateServiceReportCSV ¶
func GenerateServiceReportCSV(writer *csv.Writer, clientset *kubernetes.Clientset) error
Generates a CSV report of Kubernetes services.
func GenerateStatefulSetReportCSV ¶
func GenerateStatefulSetReportCSV(writer *csv.Writer, clientset *kubernetes.Clientset) error
Generates a CSV report of Kubernetes StatefulSets.
func GenerateStorageClassReportCSV ¶
func GenerateStorageClassReportCSV(writer *csv.Writer, clientset *kubernetes.Clientset) error
Generates a CSV report of Kubernetes StorageClasses.
Types ¶
type ClusterRoleBindingInfo ¶
type ClusterRoleBindingInfo struct { Name string ClusterRoleName string Subjects string RoleRefAPIGroup string RoleRefKind string RoleRefName string Age string Annotations string }
ClusterRoleBindingInfo holds the information for a Kubernetes ClusterRoleBinding.
type ClusterRoleInfo ¶
type ClusterRoleInfo struct { Name string Rules string APIGroups string Resources string Verbs string Age string Annotations string }
ClusterRoleInfo holds the information for a Kubernetes ClusterRole.
type ConfigMapInfo ¶
ConfigMapInfo holds the information for a Kubernetes ConfigMap.
type CronJobInfo ¶
type CronJobInfo struct { Name string Namespace string Schedule string ActiveJobs int32 LastSchedule string Age string JobDuration string JobTemplate string HistoryLimit int32 ConcurrencyPolicy string }
CronJobInfo holds the information for a Kubernetes CronJob.
type DaemonSetInfo ¶
type DaemonSetInfo struct { Name string Namespace string DesiredPods int32 CurrentPods int32 PodsReady int32 PodsDesired int32 NodeSelector string Age string Conditions string }
DaemonSetInfo holds the information for a Kubernetes DaemonSet.
type DeploymentInfo ¶
type DeploymentInfo struct { Name string Namespace string Replicas int32 AvailableReplicas int32 PodsReady int32 PodsDesired int32 StrategyType string Age string Conditions string Revision int64 }
DeploymentInfo holds the information for a Kubernetes deployment.
type EndpointInfo ¶
type EndpointInfo struct { Name string Namespace string Subsets int IPAddresses string Ports string Age string }
EndpointInfo holds the information for a Kubernetes Endpoint.
type HPAInfo ¶
type HPAInfo struct { Name string Namespace string ScaleTargetRef string MinReplicas int32 MaxReplicas int32 TargetCPUUtilization *int32 CurrentReplicas int32 Age string Conditions string Metrics string CurrentCPUUtilization string LastScaleTime string Behavior string }
HPAInfo holds the information for a Kubernetes Horizontal Pod Autoscaler.
type IngressResourceInfo ¶
type IngressResourceInfo struct { Name string Namespace string Hosts string Paths string BackendServiceName string BackendServicePort string TLSEnabled string TLSSecretName string IngressClass string Rules string Age string Annotations string }
IngressResourceInfo holds the information for a Kubernetes Ingress resource.
type JobInfo ¶
type JobInfo struct { Name string Namespace string Completions int32 Parallelism int32 ActivePods int32 SucceededPods int32 FailedPods int32 Age string Conditions string JobDuration string JobTemplate string }
JobInfo holds the information for a Kubernetes Job.
type LimitRangeInfo ¶
type LimitRangeInfo struct { Name string Namespace string Limits string Requests string Age string Annotations string Status string LimitType string DefaultLimits string DefaultRequests string }
LimitRangeInfo holds the information for a Kubernetes Limit Range.
type NetworkPolicyInfo ¶
type NetworkPolicyInfo struct { Name string Namespace string PodSelector string NamespaceSelector string PolicyTypes string IngressRules string EgressRules string IngressAction string EgressAction string MatchLabels string Age string Annotations string }
NetworkPolicyInfo holds the information for a Kubernetes Network Policy.
type PersistentVolumeClaimInfo ¶
type PersistentVolumeClaimInfo struct { Name string Namespace string Status string Volume string Capacity string AccessModes string StorageClass string Age string VolumeMode string Annotations string Selector string }
PersistentVolumeClaimInfo holds the information for a Kubernetes Persistent Volume Claim.
type PersistentVolumeInfo ¶
type PersistentVolumeInfo struct { Name string Capacity string AccessModes string ReclaimPolicy string Status string PersistentVolumeClaim string StorageClass string Age string Phase string Annotations string Claimant string // The application or pod using the PV VolumeMode string // Block or Filesystem MountOptions string // Specific mount options used for the PV }
PersistentVolumeInfo holds the information for a Kubernetes Persistent Volume.
type PodResourceUsage ¶
type PodResourceUsage struct { Name string Namespace string NodeName string RequestedCPUInMillis int64 LimitCPUInMillis int64 RequestedMemoryInMi int64 LimitMemoryInMi int64 Status string RestartCount int32 Conditions string Age string }
PodResourceUsage holds the resource usage data for a pod.
type ReplicaSetInfo ¶
type ReplicaSetInfo struct { Name string Namespace string DesiredReplicas int32 CurrentReplicas int32 PodsReady int32 PodsDesired int32 Age string Conditions string }
ReplicaSetInfo holds the information for a Kubernetes ReplicaSet.
type ResourceQuotaInfo ¶
type ResourceQuotaInfo struct { Name string Namespace string HardLimits string UsedResources string Age string Annotations string Status string UsedPods int RequestLimits string LimitType string }
ResourceQuotaInfo holds the information for a Kubernetes Resource Quota.
type RoleBindingInfo ¶
type RoleBindingInfo struct { Name string Namespace string RoleName string Subjects string Kind string APIGroup string Age string Annotations string }
RoleBindingInfo holds the information for a Kubernetes RoleBinding.
type SecretInfo ¶
type SecretInfo struct { Name string Namespace string Type string DataItems int Age string Labels string }
SecretInfo holds the information for a Kubernetes Secret.
type ServiceAccountInfo ¶
type ServiceAccountInfo struct { Name string Namespace string Secrets string Annotations string Age string ImagePullSecrets string }
ServiceAccountInfo holds the information for a Kubernetes ServiceAccount.
type ServiceInfo ¶
type ServiceInfo struct { Name string Namespace string ServiceType string ClusterIP string ExternalIP string Ports string TargetPort string Selector string SessionAffinity string Age string Conditions string }
ServiceInfo holds the information for a Kubernetes service.
Source Files ¶
- cluster_summary_table.go
- clusterrole_table.go
- clusterrolebindings_table.go
- configmaps_table.go
- cronjobs_table.go
- daemonsets_table.go
- deployment_table.go
- endpoint_table.go
- hps_table.go
- ingressresources_table.go
- jobs_table.go
- limitranges_table.go
- namespace_table.go
- networkpolicies_table.go
- node_table.go
- persistentvolumes_table.go
- persistentvolumesclaims_table.go
- pod_table.go
- replicasets_table.go
- resourcequotas_table.go
- roles_table.go
- rolesbindings_table.go
- secrets_table.go
- service_table.go
- serviceaccounts_table.go
- statefulsets_table.go
- storageclasses_table.go