kubernetes/staging/src/k8s.io/kubectl/pkg/describe/describe.go

const LEVEL_0

const LEVEL_1

const LEVEL_2

const LEVEL_3

const LEVEL_4

var skipAnnotations

var DescriberFn

// Describer returns a Describer for displaying the specified RESTMapping type or an error.
func Describer(restClientGetter genericclioptions.RESTClientGetter, mapping *meta.RESTMapping) (ResourceDescriber, error) {}

type PrefixWriter

type prefixWriter

var _

// NewPrefixWriter creates a new PrefixWriter.
func NewPrefixWriter(out io.Writer) PrefixWriter {}

func (pw *prefixWriter) Write(level int, format string, a ...interface{}

func (pw *prefixWriter) WriteLine(a ...interface{}

func (pw *prefixWriter) Flush() {}

type nestedPrefixWriter

var _

// NewPrefixWriter creates a new PrefixWriter.
func NewNestedPrefixWriter(out PrefixWriter, indent int) PrefixWriter {}

func (npw *nestedPrefixWriter) Write(level int, format string, a ...interface{}

func (npw *nestedPrefixWriter) WriteLine(a ...interface{}

func describerMap(clientConfig *rest.Config) (map[schema.GroupKind]ResourceDescriber, error) {}

// DescriberFor returns the default describe functions for each of the standard
// Kubernetes types.
func DescriberFor(kind schema.GroupKind, clientConfig *rest.Config) (ResourceDescriber, bool) {}

// GenericDescriberFor returns a generic describer for the specified mapping
// that uses only information available from runtime.Unstructured
func GenericDescriberFor(mapping *meta.RESTMapping, clientConfig *rest.Config) (ResourceDescriber, bool) {}

type genericDescriber

func (g *genericDescriber) Describe(namespace, name string, describerSettings DescriberSettings) (output string, err error) {}

func printUnstructuredContent(w PrefixWriter, level int, content map[string]interface{}

func smartLabelFor(field string) string {}

var DefaultObjectDescriber

func init() {}

type NamespaceDescriber

func (d *NamespaceDescriber) Describe(namespace, name string, describerSettings DescriberSettings) (string, error) {}

func describeNamespace(namespace *corev1.Namespace, resourceQuotaList *corev1.ResourceQuotaList, limitRangeList *corev1.LimitRangeList) (string, error) {}

func describeLimitRangeSpec(spec corev1.LimitRangeSpec, prefix string, w PrefixWriter) {}

// DescribeLimitRanges merges a set of limit range items into a single tabular description
func DescribeLimitRanges(limitRanges *corev1.LimitRangeList, w PrefixWriter) {}

// DescribeResourceQuotas merges a set of quota items into a single tabular description of all quotas
func DescribeResourceQuotas(quotas *corev1.ResourceQuotaList, w PrefixWriter) {}

type LimitRangeDescriber

func (d *LimitRangeDescriber) Describe(namespace, name string, describerSettings DescriberSettings) (string, error) {}

func describeLimitRange(limitRange *corev1.LimitRange) (string, error) {}

type ResourceQuotaDescriber

func (d *ResourceQuotaDescriber) Describe(namespace, name string, describerSettings DescriberSettings) (string, error) {}

func helpTextForResourceQuotaScope(scope corev1.ResourceQuotaScope) string {}

func describeQuota(resourceQuota *corev1.ResourceQuota) (string, error) {}

type PodDescriber

func (d *PodDescriber) Describe(namespace, name string, describerSettings DescriberSettings) (string, error) {}

func describePod(pod *corev1.Pod, events *corev1.EventList) (string, error) {}

func printController(controllee metav1.Object) string {}

func describePodIPs(pod *corev1.Pod, w PrefixWriter, space string) {}

func describeTopologySpreadConstraints(tscs []corev1.TopologySpreadConstraint, w PrefixWriter, space string) {}

func describeVolumes(volumes []corev1.Volume, w PrefixWriter, space string) {}

func printHostPathVolumeSource(hostPath *corev1.HostPathVolumeSource, w PrefixWriter) {}

func printEmptyDirVolumeSource(emptyDir *corev1.EmptyDirVolumeSource, w PrefixWriter) {}

func printGCEPersistentDiskVolumeSource(gce *corev1.GCEPersistentDiskVolumeSource, w PrefixWriter) {}

func printAWSElasticBlockStoreVolumeSource(aws *corev1.AWSElasticBlockStoreVolumeSource, w PrefixWriter) {}

func printGitRepoVolumeSource(git *corev1.GitRepoVolumeSource, w PrefixWriter) {}

func printSecretVolumeSource(secret *corev1.SecretVolumeSource, w PrefixWriter) {}

func printConfigMapVolumeSource(configMap *corev1.ConfigMapVolumeSource, w PrefixWriter) {}

func printProjectedVolumeSource(projected *corev1.ProjectedVolumeSource, w PrefixWriter) {}

func printNFSVolumeSource(nfs *corev1.NFSVolumeSource, w PrefixWriter) {}

func printQuobyteVolumeSource(quobyte *corev1.QuobyteVolumeSource, w PrefixWriter) {}

func printPortworxVolumeSource(pwxVolume *corev1.PortworxVolumeSource, w PrefixWriter) {}

func printISCSIVolumeSource(iscsi *corev1.ISCSIVolumeSource, w PrefixWriter) {}

func printISCSIPersistentVolumeSource(iscsi *corev1.ISCSIPersistentVolumeSource, w PrefixWriter) {}

func printGlusterfsVolumeSource(glusterfs *corev1.GlusterfsVolumeSource, w PrefixWriter) {}

func printGlusterfsPersistentVolumeSource(glusterfs *corev1.GlusterfsPersistentVolumeSource, w PrefixWriter) {}

func printPersistentVolumeClaimVolumeSource(claim *corev1.PersistentVolumeClaimVolumeSource, w PrefixWriter) {}

func printEphemeralVolumeSource(ephemeral *corev1.EphemeralVolumeSource, w PrefixWriter) {}

func printRBDVolumeSource(rbd *corev1.RBDVolumeSource, w PrefixWriter) {}

func printRBDPersistentVolumeSource(rbd *corev1.RBDPersistentVolumeSource, w PrefixWriter) {}

func printDownwardAPIVolumeSource(d *corev1.DownwardAPIVolumeSource, w PrefixWriter) {}

func printAzureDiskVolumeSource(d *corev1.AzureDiskVolumeSource, w PrefixWriter) {}

func printVsphereVolumeSource(vsphere *corev1.VsphereVirtualDiskVolumeSource, w PrefixWriter) {}

func printPhotonPersistentDiskVolumeSource(photon *corev1.PhotonPersistentDiskVolumeSource, w PrefixWriter) {}

func printCinderVolumeSource(cinder *corev1.CinderVolumeSource, w PrefixWriter) {}

func printCinderPersistentVolumeSource(cinder *corev1.CinderPersistentVolumeSource, w PrefixWriter) {}

func printScaleIOVolumeSource(sio *corev1.ScaleIOVolumeSource, w PrefixWriter) {}

func printScaleIOPersistentVolumeSource(sio *corev1.ScaleIOPersistentVolumeSource, w PrefixWriter) {}

func printLocalVolumeSource(ls *corev1.LocalVolumeSource, w PrefixWriter) {}

func printCephFSVolumeSource(cephfs *corev1.CephFSVolumeSource, w PrefixWriter) {}

func printCephFSPersistentVolumeSource(cephfs *corev1.CephFSPersistentVolumeSource, w PrefixWriter) {}

func printStorageOSVolumeSource(storageos *corev1.StorageOSVolumeSource, w PrefixWriter) {}

func printStorageOSPersistentVolumeSource(storageos *corev1.StorageOSPersistentVolumeSource, w PrefixWriter) {}

func printFCVolumeSource(fc *corev1.FCVolumeSource, w PrefixWriter) {}

func printAzureFileVolumeSource(azureFile *corev1.AzureFileVolumeSource, w PrefixWriter) {}

func printAzureFilePersistentVolumeSource(azureFile *corev1.AzureFilePersistentVolumeSource, w PrefixWriter) {}

func printFlexPersistentVolumeSource(flex *corev1.FlexPersistentVolumeSource, w PrefixWriter) {}

func printFlexVolumeSource(flex *corev1.FlexVolumeSource, w PrefixWriter) {}

func printFlockerVolumeSource(flocker *corev1.FlockerVolumeSource, w PrefixWriter) {}

func printCSIVolumeSource(csi *corev1.CSIVolumeSource, w PrefixWriter) {}

func printCSIPersistentVolumeSource(csi *corev1.CSIPersistentVolumeSource, w PrefixWriter) {}

func printCSIPersistentVolumeAttributesMultiline(w PrefixWriter, title string, annotations map[string]string) {}

func printCSIPersistentVolumeAttributesMultilineIndent(w PrefixWriter, initialIndent, title, innerIndent string, attributes map[string]string, skip sets.String) {}

func printImageVolumeSource(image *corev1.ImageVolumeSource, w PrefixWriter) {}

type PersistentVolumeDescriber

func (d *PersistentVolumeDescriber) Describe(namespace, name string, describerSettings DescriberSettings) (string, error) {}

func printVolumeNodeAffinity(w PrefixWriter, affinity *corev1.VolumeNodeAffinity) {}

// printLabelsMultiline prints multiple labels with a user-defined alignment.
func printNodeSelectorTermsMultilineWithIndent(w PrefixWriter, indentLevel int, title, innerIndent string, reqs []corev1.NodeSelectorRequirement) {}

func describePersistentVolume(pv *corev1.PersistentVolume, events *corev1.EventList) (string, error) {}

type PersistentVolumeClaimDescriber

func (d *PersistentVolumeClaimDescriber) Describe(namespace, name string, describerSettings DescriberSettings) (string, error) {}

func getPodsForPVC(c corev1client.PodInterface, pvc *corev1.PersistentVolumeClaim, settings DescriberSettings) ([]corev1.Pod, error) {}

func describePersistentVolumeClaim(pvc *corev1.PersistentVolumeClaim, events *corev1.EventList, pods []corev1.Pod) (string, error) {}

// printPersistentVolumeClaim is used for both PVCs and PersistentVolumeClaimTemplate. For the latter,
// we need to skip some fields which have no meaning.
func printPersistentVolumeClaim(w PrefixWriter, pvc *corev1.PersistentVolumeClaim, isFullPVC bool) {}

func describeContainers(label string, containers []corev1.Container, containerStatuses []corev1.ContainerStatus,
	resolverFn EnvVarResolverFunc, w PrefixWriter, space string) {}

func describeContainersLabel(containers []corev1.Container, label, space string, w PrefixWriter) {}

func describeContainerBasicInfo(container corev1.Container, status corev1.ContainerStatus, ok bool, space string, w PrefixWriter) {}

func describeContainerPorts(cPorts []corev1.ContainerPort) string {}

func describeContainerHostPorts(cPorts []corev1.ContainerPort) string {}

func describeContainerCommand(container corev1.Container, w PrefixWriter) {}

func describeContainerResource(container corev1.Container, w PrefixWriter) {}

func describeContainerState(status corev1.ContainerStatus, w PrefixWriter) {}

func describeContainerProbe(container corev1.Container, w PrefixWriter) {}

func describeContainerVolumes(container corev1.Container, w PrefixWriter) {}

func describeContainerEnvVars(container corev1.Container, resolverFn EnvVarResolverFunc, w PrefixWriter) {}

func describeContainerEnvFrom(container corev1.Container, resolverFn EnvVarResolverFunc, w PrefixWriter) {}

// DescribeProbe is exported for consumers in other API groups that have probes
func DescribeProbe(probe *corev1.Probe) string {}

type EnvVarResolverFunc

// EnvValueFrom is exported for use by describers in other packages
func EnvValueRetriever(pod *corev1.Pod) EnvVarResolverFunc {}

func describeStatus(stateName string, state corev1.ContainerState, w PrefixWriter) {}

func describeVolumeClaimTemplates(templates []corev1.PersistentVolumeClaim, w PrefixWriter) {}

func printBoolPtr(value *bool) string {}

func printBool(value bool) string {}

type ReplicationControllerDescriber

func (d *ReplicationControllerDescriber) Describe(namespace, name string, describerSettings DescriberSettings) (string, error) {}

func describeReplicationController(controller *corev1.ReplicationController, events *corev1.EventList, running, waiting, succeeded, failed int) (string, error) {}

func DescribePodTemplate(template *corev1.PodTemplateSpec, w PrefixWriter) {}

type ReplicaSetDescriber

func (d *ReplicaSetDescriber) Describe(namespace, name string, describerSettings DescriberSettings) (string, error) {}

func describeReplicaSet(rs *appsv1.ReplicaSet, events *corev1.EventList, running, waiting, succeeded, failed int, getPodErr error) (string, error) {}

type JobDescriber

func (d *JobDescriber) Describe(namespace, name string, describerSettings DescriberSettings) (string, error) {}

func describeJob(job *batchv1.Job, events *corev1.EventList) (string, error) {}

func capIndexesListOrNone(indexes string, softLimit int) string {}

type CronJobDescriber

func (d *CronJobDescriber) Describe(namespace, name string, describerSettings DescriberSettings) (string, error) {}

func describeCronJob(cronJob *batchv1.CronJob, events *corev1.EventList) (string, error) {}

func describeJobTemplate(jobTemplate batchv1.JobTemplateSpec, w PrefixWriter) {}

func printActiveJobs(w PrefixWriter, title string, jobs []corev1.ObjectReference) {}

type DaemonSetDescriber

func (d *DaemonSetDescriber) Describe(namespace, name string, describerSettings DescriberSettings) (string, error) {}

func describeDaemonSet(daemon *appsv1.DaemonSet, events *corev1.EventList, running, waiting, succeeded, failed int) (string, error) {}

type SecretDescriber

func (d *SecretDescriber) Describe(namespace, name string, describerSettings DescriberSettings) (string, error) {}

func describeSecret(secret *corev1.Secret) (string, error) {}

type IngressDescriber

func (i *IngressDescriber) Describe(namespace, name string, describerSettings DescriberSettings) (string, error) {}

func (i *IngressDescriber) describeBackendV1beta1(ns string, backend *networkingv1beta1.IngressBackend) string {}

func (i *IngressDescriber) describeBackendV1(ns string, backend *networkingv1.IngressBackend) string {}

func (i *IngressDescriber) describeIngressV1(ing *networkingv1.Ingress, events *corev1.EventList) (string, error) {}

func (i *IngressDescriber) describeIngressV1beta1(ing *networkingv1beta1.Ingress, events *corev1.EventList) (string, error) {}

func describeIngressTLSV1beta1(w PrefixWriter, ingTLS []networkingv1beta1.IngressTLS) {}

func describeIngressTLSV1(w PrefixWriter, ingTLS []networkingv1.IngressTLS) {}

type IngressClassDescriber

func (i *IngressClassDescriber) Describe(namespace, name string, describerSettings DescriberSettings) (string, error) {}

func (i *IngressClassDescriber) describeIngressClassV1beta1(ic *networkingv1beta1.IngressClass, events *corev1.EventList) (string, error) {}

func (i *IngressClassDescriber) describeIngressClassV1(ic *networkingv1.IngressClass, events *corev1.EventList) (string, error) {}

type ServiceCIDRDescriber

func (c *ServiceCIDRDescriber) Describe(namespace, name string, describerSettings DescriberSettings) (string, error) {}

func (c *ServiceCIDRDescriber) describeServiceCIDRV1beta1(svc *networkingv1beta1.ServiceCIDR, events *corev1.EventList) (string, error) {}

type IPAddressDescriber

func (c *IPAddressDescriber) Describe(namespace, name string, describerSettings DescriberSettings) (string, error) {}

func (c *IPAddressDescriber) describeIPAddressV1beta1(ip *networkingv1beta1.IPAddress, events *corev1.EventList) (string, error) {}

type ServiceDescriber

func (d *ServiceDescriber) Describe(namespace, name string, describerSettings DescriberSettings) (string, error) {}

func buildIngressString(ingress []corev1.LoadBalancerIngress) string {}

func describeService(service *corev1.Service, endpointSlices []discoveryv1.EndpointSlice, events *corev1.EventList) (string, error) {}

type EndpointsDescriber

func (d *EndpointsDescriber) Describe(namespace, name string, describerSettings DescriberSettings) (string, error) {}

func describeEndpoints(ep *corev1.Endpoints, events *corev1.EventList) (string, error) {}

type EndpointSliceDescriber

func (d *EndpointSliceDescriber) Describe(namespace, name string, describerSettings DescriberSettings) (string, error) {}

func describeEndpointSliceV1(eps *discoveryv1.EndpointSlice, events *corev1.EventList) (string, error) {}

func describeEndpointSliceV1beta1(eps *discoveryv1beta1.EndpointSlice, events *corev1.EventList) (string, error) {}

type ServiceAccountDescriber

func (d *ServiceAccountDescriber) Describe(namespace, name string, describerSettings DescriberSettings) (string, error) {}

func describeServiceAccount(serviceAccount *corev1.ServiceAccount, tokens []corev1.Secret, missingSecrets sets.String, events *corev1.EventList) (string, error) {}

type RoleDescriber

func (d *RoleDescriber) Describe(namespace, name string, describerSettings DescriberSettings) (string, error) {}

type ClusterRoleDescriber

func (d *ClusterRoleDescriber) Describe(namespace, name string, describerSettings DescriberSettings) (string, error) {}

func CombineResourceGroup(resource, group []string) string {}

type RoleBindingDescriber

func (d *RoleBindingDescriber) Describe(namespace, name string, describerSettings DescriberSettings) (string, error) {}

type ClusterRoleBindingDescriber

func (d *ClusterRoleBindingDescriber) Describe(namespace, name string, describerSettings DescriberSettings) (string, error) {}

type NodeDescriber

func (d *NodeDescriber) Describe(namespace, name string, describerSettings DescriberSettings) (string, error) {}

type LeaseDescriber

func describeNode(node *corev1.Node, nodeNonTerminatedPodsList *corev1.PodList, events *corev1.EventList,
	canViewPods bool, ld *LeaseDescriber) (string, error) {}

func describeNodeLease(lease *coordinationv1.Lease, w PrefixWriter) {}

type StatefulSetDescriber

func (p *StatefulSetDescriber) Describe(namespace, name string, describerSettings DescriberSettings) (string, error) {}

func describeStatefulSet(ps *appsv1.StatefulSet, selector labels.Selector, events *corev1.EventList, running, waiting, succeeded, failed int) (string, error) {}

type CertificateSigningRequestDescriber

func (p *CertificateSigningRequestDescriber) Describe(namespace, name string, describerSettings DescriberSettings) (string, error) {}

func describeCertificateSigningRequest(csr metav1.ObjectMeta, signerName string, expirationSeconds *int32, username string, cr *x509.CertificateRequest, status string, events *corev1.EventList) (string, error) {}

type HorizontalPodAutoscalerDescriber

func (d *HorizontalPodAutoscalerDescriber) Describe(namespace, name string, describerSettings DescriberSettings) (string, error) {}

func describeHorizontalPodAutoscalerV2(hpa *autoscalingv2.HorizontalPodAutoscaler, events *corev1.EventList, d *HorizontalPodAutoscalerDescriber) (string, error) {}

func printDirectionBehavior(w PrefixWriter, direction string, rules *autoscalingv2.HPAScalingRules) {}

func describeHorizontalPodAutoscalerV1(hpa *autoscalingv1.HorizontalPodAutoscaler, events *corev1.EventList, d *HorizontalPodAutoscalerDescriber) (string, error) {}

func describeNodeResource(nodeNonTerminatedPodsList *corev1.PodList, node *corev1.Node, w PrefixWriter) {}

func getPodsTotalRequestsAndLimits(podList *corev1.PodList) (reqs map[corev1.ResourceName]resource.Quantity, limits map[corev1.ResourceName]resource.Quantity) {}

func DescribeEvents(el *corev1.EventList, w PrefixWriter) {}

type DeploymentDescriber

func (dd *DeploymentDescriber) Describe(namespace, name string, describerSettings DescriberSettings) (string, error) {}

func describeDeployment(d *appsv1.Deployment, oldRSs []*appsv1.ReplicaSet, newRSs []*appsv1.ReplicaSet, events *corev1.EventList) (string, error) {}

func printReplicaSetsByLabels(matchingRSs []*appsv1.ReplicaSet) string {}

func getPodStatusForController(c corev1client.PodInterface, selector labels.Selector, uid types.UID, settings DescriberSettings) (
	running, waiting, succeeded, failed int, err error) {}

func getPodsInChunks(c corev1client.PodInterface, initialOpts metav1.ListOptions) (*corev1.PodList, error) {}

type ConfigMapDescriber

func (d *ConfigMapDescriber) Describe(namespace, name string, describerSettings DescriberSettings) (string, error) {}

type NetworkPolicyDescriber

func (d *NetworkPolicyDescriber) Describe(namespace, name string, describerSettings DescriberSettings) (string, error) {}

func describeNetworkPolicy(networkPolicy *networkingv1.NetworkPolicy) (string, error) {}

func describeNetworkPolicySpec(nps networkingv1.NetworkPolicySpec, w PrefixWriter) {}

func getPolicyType(nps networkingv1.NetworkPolicySpec) (bool, bool) {}

func printNetworkPolicySpecIngressFrom(npirs []networkingv1.NetworkPolicyIngressRule, initialIndent string, w PrefixWriter) {}

func printNetworkPolicySpecEgressTo(npers []networkingv1.NetworkPolicyEgressRule, initialIndent string, w PrefixWriter) {}

type StorageClassDescriber

func (s *StorageClassDescriber) Describe(namespace, name string, describerSettings DescriberSettings) (string, error) {}

func describeStorageClass(sc *storagev1.StorageClass, events *corev1.EventList) (string, error) {}

type VolumeAttributesClassDescriber

func (d *VolumeAttributesClassDescriber) Describe(namespace, name string, describerSettings DescriberSettings) (string, error) {}

func describeVolumeAttributesClass(vac *storagev1beta1.VolumeAttributesClass, events *corev1.EventList) (string, error) {}

type CSINodeDescriber

func (c *CSINodeDescriber) Describe(namespace, name string, describerSettings DescriberSettings) (string, error) {}

func describeCSINode(csi *storagev1.CSINode, events *corev1.EventList) (output string, err error) {}

func printAllowedTopologies(w PrefixWriter, topologies []corev1.TopologySelectorTerm) {}

func printTopologySelectorTermsMultilineWithIndent(w PrefixWriter, indentLevel int, title, innerIndent string, reqs []corev1.TopologySelectorLabelRequirement) {}

type PodDisruptionBudgetDescriber

func (p *PodDisruptionBudgetDescriber) Describe(namespace, name string, describerSettings DescriberSettings) (string, error) {}

func describePodDisruptionBudgetV1(pdb *policyv1.PodDisruptionBudget, events *corev1.EventList) (string, error) {}

func describePodDisruptionBudgetV1beta1(pdb *policyv1beta1.PodDisruptionBudget, events *corev1.EventList) (string, error) {}

type PriorityClassDescriber

func (s *PriorityClassDescriber) Describe(namespace, name string, describerSettings DescriberSettings) (string, error) {}

func describePriorityClass(pc *schedulingv1.PriorityClass, events *corev1.EventList) (string, error) {}

func stringOrNone(s string) string {}

func stringOrDefaultValue(s, defaultValue string) string {}

func policyTypesToString(pts []networkingv1.PolicyType) string {}

// newErrNoDescriber creates a new ErrNoDescriber with the names of the provided types.
func newErrNoDescriber(types ...reflect.Type) error {}

type Describers

// DescribeObject implements ObjectDescriber and will attempt to print the provided object to a string,
// if at least one describer function has been registered with the exact types passed, or if any
// describer can print the exact object in its first argument (the remainder will be provided empty
// values). If no function registered with Add can satisfy the passed objects, an ErrNoDescriber will
// be returned
// TODO: reorder and partial match extra.
func (d *Describers) DescribeObject(exact interface{}

// Add adds one or more describer functions to the Describer. The passed function must
// match the signature:
//
//	func(...) (string, error)
//
// Any number of arguments may be provided.
func (d *Describers) Add(fns ...interface{}

type typeFunc

// Matches returns true when the passed types exactly match the Extra list.
func (fn typeFunc) Matches(types []reflect.Type) bool {}

// Describe invokes the nested function with the exact number of arguments.
func (fn typeFunc) Describe(exact interface{}

// printLabelsMultiline prints multiple labels with a proper alignment.
func printLabelsMultiline(w PrefixWriter, title string, labels map[string]string) {}

// printLabelsMultiline prints multiple labels with a user-defined alignment.
func printLabelsMultilineWithIndent(w PrefixWriter, initialIndent, title, innerIndent string, labels map[string]string, skip sets.String) {}

// printTaintsMultiline prints multiple taints with a proper alignment.
func printNodeTaintsMultiline(w PrefixWriter, title string, taints []corev1.Taint) {}

// printTaintsMultilineWithIndent prints multiple taints with a user-defined alignment.
func printTaintsMultilineWithIndent(w PrefixWriter, initialIndent, title, innerIndent string, taints []corev1.Taint) {}

// printPodsMultiline prints multiple pods with a proper alignment.
func printPodsMultiline(w PrefixWriter, title string, pods []corev1.Pod) {}

// printPodsMultilineWithIndent prints multiple pods with a user-defined alignment.
func printPodsMultilineWithIndent(w PrefixWriter, initialIndent, title, innerIndent string, pods []corev1.Pod) {}

// printPodTolerationsMultiline prints multiple tolerations with a proper alignment.
func printPodTolerationsMultiline(w PrefixWriter, title string, tolerations []corev1.Toleration) {}

// printTolerationsMultilineWithIndent prints multiple tolerations with a user-defined alignment.
func printTolerationsMultilineWithIndent(w PrefixWriter, initialIndent, title, innerIndent string, tolerations []corev1.Toleration) {}

type flusher

func tabbedString(f func(io.Writer) error) (string, error) {}

type SortableResourceNames

func (list SortableResourceNames) Len() int {}

func (list SortableResourceNames) Swap(i, j int) {}

func (list SortableResourceNames) Less(i, j int) bool {}

// SortedResourceNames returns the sorted resource names of a resource list.
func SortedResourceNames(list corev1.ResourceList) []corev1.ResourceName {}

type SortableResourceQuotas

func (list SortableResourceQuotas) Len() int {}

func (list SortableResourceQuotas) Swap(i, j int) {}

func (list SortableResourceQuotas) Less(i, j int) bool {}

type SortableVolumeMounts

func (list SortableVolumeMounts) Len() int {}

func (list SortableVolumeMounts) Swap(i, j int) {}

func (list SortableVolumeMounts) Less(i, j int) bool {}

type SortableVolumeDevices

func (list SortableVolumeDevices) Len() int {}

func (list SortableVolumeDevices) Swap(i, j int) {}

func (list SortableVolumeDevices) Less(i, j int) bool {}

var maxAnnotationLen

// printAnnotationsMultiline prints multiple annotations with a proper alignment.
// If annotation string is too long, we omit chars more than 200 length.
func printAnnotationsMultiline(w PrefixWriter, title string, annotations map[string]string) {}

func shorten(s string, maxLength int) string {}

// translateMicroTimestampSince returns the elapsed time since timestamp in
// human-readable approximation.
func translateMicroTimestampSince(timestamp metav1.MicroTime) string {}

// translateTimestampSince returns the elapsed time since timestamp in
// human-readable approximation.
func translateTimestampSince(timestamp metav1.Time) string {}

// Pass ports=nil for all ports.
func formatEndpointSlices(endpointSlices []discoveryv1.EndpointSlice, ports sets.Set[string]) string {}

func extractCSRStatus(conditions []string, certificateBytes []byte) string {}

// backendStringer behaves just like a string interface and converts the given backend to a string.
func serviceBackendStringer(backend *networkingv1.IngressServiceBackend) string {}

// backendStringer behaves just like a string interface and converts the given backend to a string.
func backendStringer(backend *networkingv1beta1.IngressBackend) string {}

// findNodeRoles returns the roles of a given node.
// The roles are determined by looking for:
// * a node-role.kubernetes.io/<role>="" label
// * a kubernetes.io/role="<role>" label
func findNodeRoles(node *corev1.Node) []string {}

// ingressLoadBalancerStatusStringerV1 behaves mostly like a string interface and converts the given status to a string.
// `wide` indicates whether the returned value is meant for --o=wide output. If not, it's clipped to 16 bytes.
func ingressLoadBalancerStatusStringerV1(s networkingv1.IngressLoadBalancerStatus, wide bool) string {}

// ingressLoadBalancerStatusStringerV1beta1 behaves mostly like a string interface and converts the given status to a string.
// `wide` indicates whether the returned value is meant for --o=wide output. If not, it's clipped to 16 bytes.
func ingressLoadBalancerStatusStringerV1beta1(s networkingv1beta1.IngressLoadBalancerStatus, wide bool) string {}

// searchEvents finds events about the specified object.
// It is very similar to CoreV1.Events.Search, but supports the Limit parameter.
func searchEvents(client corev1client.EventsGetter, objOrRef runtime.Object, limit int64) (*corev1.EventList, error) {}