Versions in this module Expand all Collapse all v0 v0.24.0 Mar 25, 2022 Changes in this version + const LEVEL_0 + const LEVEL_1 + const LEVEL_2 + const LEVEL_3 + const LEVEL_4 + const LabelNodeRolePrefix + const LoadBalancerWidth + const NodeLabelRole + func CombineResourceGroup(resource, group []string) string + func DescribeEvents(el *corev1.EventList, w PrefixWriter) + func DescribeLimitRanges(limitRanges *corev1.LimitRangeList, w PrefixWriter) + func DescribePodTemplate(template *corev1.PodTemplateSpec, w PrefixWriter) + func DescribeProbe(probe *corev1.Probe) string + func DescribeResourceQuotas(quotas *corev1.ResourceQuotaList, w PrefixWriter) + func SortedResourceNames(list corev1.ResourceList) []corev1.ResourceName + type CSINodeDescriber struct + func (c *CSINodeDescriber) Describe(namespace, name string, describerSettings DescriberSettings) (string, error) + type CertificateSigningRequestDescriber struct + func (p *CertificateSigningRequestDescriber) Describe(namespace, name string, describerSettings DescriberSettings) (string, error) + type ClusterRoleBindingDescriber struct + func (d *ClusterRoleBindingDescriber) Describe(namespace, name string, describerSettings DescriberSettings) (string, error) + type ClusterRoleDescriber struct + func (d *ClusterRoleDescriber) Describe(namespace, name string, describerSettings DescriberSettings) (string, error) + type ConfigMapDescriber struct + func (d *ConfigMapDescriber) Describe(namespace, name string, describerSettings DescriberSettings) (string, error) + type CronJobDescriber struct + func (d *CronJobDescriber) Describe(namespace, name string, describerSettings DescriberSettings) (string, error) + type DaemonSetDescriber struct + func (d *DaemonSetDescriber) Describe(namespace, name string, describerSettings DescriberSettings) (string, error) + type DeploymentDescriber struct + func (dd *DeploymentDescriber) Describe(namespace, name string, describerSettings DescriberSettings) (string, error) + type DescriberFunc func(restClientGetter genericclioptions.RESTClientGetter, mapping *meta.RESTMapping) (ResourceDescriber, error) + var DescriberFn DescriberFunc = Describer + type DescriberSettings struct + ChunkSize int64 + ShowEvents bool + type Describers struct + func (d *Describers) Add(fns ...interface{}) error + func (d *Describers) DescribeObject(exact interface{}, extra ...interface{}) (string, error) + type EndpointSliceDescriber struct + func (d *EndpointSliceDescriber) Describe(namespace, name string, describerSettings DescriberSettings) (string, error) + type EndpointsDescriber struct + func (d *EndpointsDescriber) Describe(namespace, name string, describerSettings DescriberSettings) (string, error) + type EnvVarResolverFunc func(e corev1.EnvVar) string + func EnvValueRetriever(pod *corev1.Pod) EnvVarResolverFunc + type ErrNoDescriber struct + Types []string + func (e ErrNoDescriber) Error() string + type HorizontalPodAutoscalerDescriber struct + func (d *HorizontalPodAutoscalerDescriber) Describe(namespace, name string, describerSettings DescriberSettings) (string, error) + type IngressClassDescriber struct + func (i *IngressClassDescriber) Describe(namespace, name string, describerSettings DescriberSettings) (string, error) + type IngressDescriber struct + func (i *IngressDescriber) Describe(namespace, name string, describerSettings DescriberSettings) (string, error) + type JobDescriber struct + func (d *JobDescriber) Describe(namespace, name string, describerSettings DescriberSettings) (string, error) + type LeaseDescriber struct + type LimitRangeDescriber struct + func (d *LimitRangeDescriber) Describe(namespace, name string, describerSettings DescriberSettings) (string, error) + type NamespaceDescriber struct + func (d *NamespaceDescriber) Describe(namespace, name string, describerSettings DescriberSettings) (string, error) + type NetworkPolicyDescriber struct + func (d *NetworkPolicyDescriber) Describe(namespace, name string, describerSettings DescriberSettings) (string, error) + type NodeDescriber struct + func (d *NodeDescriber) Describe(namespace, name string, describerSettings DescriberSettings) (string, error) + type ObjectDescriber interface + DescribeObject func(object interface{}, extra ...interface{}) (output string, err error) + var DefaultObjectDescriber ObjectDescriber + type PersistentVolumeClaimDescriber struct + func (d *PersistentVolumeClaimDescriber) Describe(namespace, name string, describerSettings DescriberSettings) (string, error) + type PersistentVolumeDescriber struct + func (d *PersistentVolumeDescriber) Describe(namespace, name string, describerSettings DescriberSettings) (string, error) + type PodDescriber struct + func (d *PodDescriber) Describe(namespace, name string, describerSettings DescriberSettings) (string, error) + type PodDisruptionBudgetDescriber struct + func (p *PodDisruptionBudgetDescriber) Describe(namespace, name string, describerSettings DescriberSettings) (string, error) + type PodSecurityPolicyDescriber struct + func (d *PodSecurityPolicyDescriber) Describe(namespace, name string, describerSettings DescriberSettings) (string, error) + type PrefixWriter interface + Flush func() + Write func(level int, format string, a ...interface{}) + WriteLine func(a ...interface{}) + func NewNestedPrefixWriter(out PrefixWriter, indent int) PrefixWriter + func NewPrefixWriter(out io.Writer) PrefixWriter + type PriorityClassDescriber struct + func (s *PriorityClassDescriber) Describe(namespace, name string, describerSettings DescriberSettings) (string, error) + type ReplicaSetDescriber struct + func (d *ReplicaSetDescriber) Describe(namespace, name string, describerSettings DescriberSettings) (string, error) + type ReplicationControllerDescriber struct + func (d *ReplicationControllerDescriber) Describe(namespace, name string, describerSettings DescriberSettings) (string, error) + type ResourceDescriber interface + Describe func(namespace, name string, describerSettings DescriberSettings) (output string, err error) + func Describer(restClientGetter genericclioptions.RESTClientGetter, mapping *meta.RESTMapping) (ResourceDescriber, error) + func DescriberFor(kind schema.GroupKind, clientConfig *rest.Config) (ResourceDescriber, bool) + func GenericDescriberFor(mapping *meta.RESTMapping, clientConfig *rest.Config) (ResourceDescriber, bool) + type ResourceQuotaDescriber struct + func (d *ResourceQuotaDescriber) Describe(namespace, name string, describerSettings DescriberSettings) (string, error) + type RoleBindingDescriber struct + func (d *RoleBindingDescriber) Describe(namespace, name string, describerSettings DescriberSettings) (string, error) + type RoleDescriber struct + func (d *RoleDescriber) Describe(namespace, name string, describerSettings DescriberSettings) (string, error) + type SecretDescriber struct + func (d *SecretDescriber) Describe(namespace, name string, describerSettings DescriberSettings) (string, error) + type ServiceAccountDescriber struct + func (d *ServiceAccountDescriber) Describe(namespace, name string, describerSettings DescriberSettings) (string, error) + type ServiceDescriber struct + func (d *ServiceDescriber) Describe(namespace, name string, describerSettings DescriberSettings) (string, error) + type SortableResourceNames []corev1.ResourceName + func (list SortableResourceNames) Len() int + func (list SortableResourceNames) Less(i, j int) bool + func (list SortableResourceNames) Swap(i, j int) + type SortableResourceQuotas []corev1.ResourceQuota + func (list SortableResourceQuotas) Len() int + func (list SortableResourceQuotas) Less(i, j int) bool + func (list SortableResourceQuotas) Swap(i, j int) + type SortableVolumeDevices []corev1.VolumeDevice + func (list SortableVolumeDevices) Len() int + func (list SortableVolumeDevices) Less(i, j int) bool + func (list SortableVolumeDevices) Swap(i, j int) + type SortableVolumeMounts []corev1.VolumeMount + func (list SortableVolumeMounts) Len() int + func (list SortableVolumeMounts) Less(i, j int) bool + func (list SortableVolumeMounts) Swap(i, j int) + type StatefulSetDescriber struct + func (p *StatefulSetDescriber) Describe(namespace, name string, describerSettings DescriberSettings) (string, error) + type StorageClassDescriber struct + func (s *StorageClassDescriber) Describe(namespace, name string, describerSettings DescriberSettings) (string, error)