package
2.7.0+incompatible
Repository: https://github.com/kubernetes/dashboard.git
Documentation: pkg.go.dev
# Functions
EqualIgnoreHash returns true if two given podTemplateSpec are equal, ignoring the diff in value of Labels[pod-template-hash] We ignore pod-template-hash because the hash result would be different upon podTemplateSpec API changes (e.g.
FilterDeploymentPodsByOwnerReference returns a subset of pods controlled by given deployment.
FilterNamespacedServicesBySelector returns services targeted by given resource selector in given namespace.
FilterPodsByControllerRef returns a subset of pods controlled by given controller resource, excluding deployments.
FilterPodsForJob returns a list of pods that matches to a job controller's selector.
GetClusterRoleBindingListChannel returns a pair of channels to a ClusterRoleBinding list and errors that both must be read numReads times.
GetClusterRoleListChannel returns a pair of channels to a ClusterRole list and errors that both must be read numReads times.
GetConfigMapListChannel returns a pair of channels to a ConfigMap list and errors that both must be read numReads times.
GetContainerImages returns container image strings from the given pod spec.
GetContainerNames returns the container image name without the version number from the given pod spec.
GetCronJobListChannel returns a pair of channels to a Cron Job list and errors that both must be read numReads times.
GetCustomResourceDefinitionChannelV1 returns a pair of channels to a CustomResourceDefinition list and errors that both must be read numReads times.
GetDaemonSetListChannel returns a pair of channels to a DaemonSet list and errors that both must be read numReads times.
GetDeploymentListChannel returns a pair of channels to a Deployment list and errors that both must be read numReads times.
GetEndpointListChannelWithOptions is GetEndpointListChannel plus list options.
GetEventListChannel returns a pair of channels to an Event list and errors that both must be read numReads times.
GetEventListChannelWithOptions is GetEventListChannel plus list options.
GetExternalEndpoints returns endpoints that are externally reachable for a service.
GetHorizontalPodAutoscalerListChannel returns a pair of channels to MetricsByPod and errors that both must be read numReads times.
GetIngressClassListChannel returns a pair of channels to a ingress class list and errors that both must be read numReads times.
GetIngressListChannel returns a pair of channels to an Ingress list and errors that both must be read numReads times.
GetInitContainerImages returns init container image strings from the given pod spec.
GetInitContainerNames returns the init container image name without the version number from the given pod spec.
GetInternalEndpoint returns internal endpoint name for the given service properties, e.g., "my-service.namespace 80/TCP" or "my-service 53/TCP,53/UDP".
GetJobListChannel returns a pair of channels to a Job list and errors that both must be read numReads times.
GetLimitRangeListChannel returns a pair of channels to a LimitRange list and errors that both must be read numReads times.
GetNamespaceListChannel returns a pair of channels to a Namespace list and errors that both must be read numReads times.
GetNodeListChannel returns a pair of channels to a Node list and errors that both must be read numReads times.
GetNonduplicateContainerImages returns list of container image strings without duplicates.
GetNonduplicateContainerNames returns list of container names strings without duplicates.
GetNonduplicateInitContainerImages returns list of init container image strings without duplicates.
GetNonduplicateInitContainerNames returns list of init container names strings without duplicates.
GetPersistentVolumeClaimListChannel returns a pair of channels to a PersistentVolumeClaim list and errors that both must be read numReads times.
GetPersistentVolumeListChannel returns a pair of channels to a PersistentVolume list and errors that both must be read numReads times.
GetPodInfo returns aggregate information about a group of pods.
GetPodListChannel returns a pair of channels to a Pod list and errors that both must be read numReads times.
GetPodListChannelWithOptions is GetPodListChannel plus listing options.
GetReplicaSetListChannel returns a pair of channels to a ReplicaSet list and errors that both must be read numReads times.
GetReplicaSetListChannelWithOptions returns a pair of channels to a ReplicaSet list filtered by provided options and errors that both must be read numReads times.
GetReplicationControllerListChannel Returns a pair of channels to a Replication Controller list and errors that both must be read numReads times.
GetResourceQuotaListChannel returns a pair of channels to a ResourceQuota list and errors that both must be read numReads times.
GetRoleBindingListChannel returns a pair of channels to a RoleBinding list for a namespace and errors that both must be read numReads times.
GetRoleListChannel returns a pair of channels to a Role list for a namespace and errors that both must be read numReads times.
GetSecretListChannel returns a pair of channels to a Secret list and errors that both must be read numReads times.
GetServiceListChannel returns a pair of channels to a Service list and errors that both must be read numReads times.
GetServicePorts returns human readable name for the given service ports list.
GetStatefulSetListChannel returns a pair of channels to a StatefulSet list and errors that both must be read numReads times.
GetStorageClassListChannel returns a pair of channels to a storage class list and errors that both must be read numReads times.
NewNamespaceQuery creates new query for given namespaces.
NewSameNamespaceQuery creates new namespace query that queries single namespace.
# Structs
ClusterRoleBindingListChannel is a list and error channels to ClusterRoleBindings.
ClusterRoleListChannel is a list and error channels to ClusterRoles.
Condition represents a single condition of a pod or node.
ConfigMapListChannel is a list and error channels to ConfigMaps.
CronJobListChannel is a list and error channels to Cron Jobs.
CustomResourceDefinitionChannel is a list and error channels to CustomResourceDefinition.
DaemonSetListChannel is a list and error channels to Daemon Sets.
DeploymentListChannel is a list and error channels to Deployments.
Endpoint describes an endpoint that is host and a list of available ports for that host.
EndpointListChannel is a list and error channels to Endpoints.
Event is a single event representation.
EventList is an events response structure.
EventListChannel is a list and error channels to Events.
HorizontalPodAutoscalerListChannel is a list and error channels.
IngressClassListChannel is a list and error channels to ingress classes.
IngressListChannel is a list and error channels to Ingresss.
JobListChannel is a list and error channels to Jobs.
LimitRangeListChannel is a list and error channels to LimitRanges.
NamespaceListChannel is a list and error channels to Namespaces.
NamespaceQuery is a query for namespaces of a list of objects.
NodeListChannel is a list and error channels to Nodes.
PersistentVolumeClaimListChannel is a list and error channels to PersistentVolumeClaims.
PersistentVolumeListChannel is a list and error channels to PersistentVolumes.
PodInfo represents aggregate information about controller's pods.
PodListChannel is a list and error channels to Pods.
ReplicaSetListChannel is a list and error channels to Replica Sets.
ReplicationControllerListChannel is a list and error channels to Replication Controllers.
ResourceChannels struct holds channels to resource lists.
ResourceQuotaListChannel is a list and error channels to ResourceQuotas.
ResourceStatus provides basic information about resources status on the list.
RoleBindingListChannel is a list and error channels to RoleBindings.
RoleListChannel is a list and error channels to Roles.
SecretListChannel is a list and error channels to Secrets.
ServiceListChannel is a list and error channels to Services.
ServicePort is a pair of port and protocol, e.g.
StatefulSetListChannel is a list and error channels to StatefulSets.
StorageClassListChannel is a list and error channels to storage classes.