MCPcopy Create free account

hub / github.com/calfonso/rusternetes / functions

Functions6,481 in github.com/calfonso/rusternetes

↓ 2 callersMethodget_container_ip
Get the primary IP address for a container
crates/kubelet/src/cni/runtime.rs:256
↓ 2 callersFunctionget_core_api
GET /api Returns the list of API versions available at /api/v1
crates/api-server/src/handlers/discovery.rs:129
↓ 2 callersMethodget_current_replicas
Get current replica count from the target resource
crates/controller-manager/src/controllers/hpa.rs:242
↓ 2 callersFunctionget_custom_resource
Get a specific custom resource instance
crates/api-server/src/handlers/custom_resource.rs:297
↓ 2 callersFunctionget_custom_resource_scale
Get the scale subresource of a custom resource
crates/api-server/src/handlers/custom_resource.rs:1491
↓ 2 callersMethodget_endpoint_ports
Compute endpoint ports for a pod based on the service's port definitions. Follows K8s's getEndpointPorts() logic: - For each service port, try to find
crates/controller-manager/src/controllers/endpointslice.rs:918
↓ 2 callersMethodget_job_finish_time
Get the finish time of a Job
crates/controller-manager/src/controllers/ttl_controller.rs:235
↓ 2 callersFunctionget_response
(resource_name: &str)
crates/api-server/src/openapi.rs:715
↓ 2 callersMethodget_stats
Get statistics about active attachments
crates/kubelet/src/cni/runtime.rs:293
↓ 2 callersMethodget_text
Get a resource as plain text (for logs, etc.)
crates/kubectl/src/client.rs:283
↓ 2 callersMethodget_token
(&self)
crates/kubectl/src/client.rs:330
↓ 2 callersFunctionhandleCreate
()
console/src/views/StorageView.tsx:190
↓ 2 callersFunctionhandleScale
(replicas: number)
console/src/views/WorkloadsView.tsx:131
↓ 2 callersFunctionhandleScale
(replicas: number)
console/src/views/ResourceDetailView.tsx:96
↓ 2 callersFunctionhandle_ws_exec
( mut socket: WebSocket, pod: Pod, container_name: String, command: Vec<String>, stdin: bo
crates/api-server/src/streaming.rs:26
↓ 2 callersMethodhas_finalizers
Check if the object has any finalizers
crates/common/src/types.rs:179
↓ 2 callersMethodinitialize
Initialize the flow control engine by loading configurations
crates/api-server/src/flow_control.rs:34
↓ 2 callersMethodinject_conflicts
Arrange for the next `n` calls to `update()` to return `Error::Conflict`. Subsequent calls behave normally. Used by tests to verify retry logic.
crates/storage/src/memory.rs:49
↓ 2 callersFunctioninvalidateAll
()
console/src/views/StorageView.tsx:484
↓ 2 callersMethodis_container_running
Check if a specific container is running
crates/kubelet/src/runtime.rs:5097
↓ 2 callersFunctionis_hop_by_hop_header
Check if a header is a hop-by-hop header that should not be forwarded
crates/api-server/src/handlers/proxy.rs:781
↓ 2 callersMethodis_in_range
Check if an IP is in the allocatable range
crates/api-server/src/ip_allocator.rs:93
↓ 2 callersFunctionis_manifest_file
Return true if the file extension indicates a Kubernetes manifest.
crates/kubectl/src/commands/apply.rs:177
↓ 2 callersMethodis_pod_available
(&self, pod: &Pod, replicaset: &ReplicaSet)
crates/controller-manager/src/controllers/replicaset.rs:528
↓ 2 callersFunctionis_pod_best_effort
Check if a pod is BestEffort QoS class. A pod is BestEffort if NONE of its containers specify any resource requests or limits.
crates/api-server/src/admission.rs:13
↓ 2 callersFunctionis_pod_healthy
Check if a pod is healthy (Running phase)
crates/api-server/src/handlers/pod_subresources.rs:1253
↓ 2 callersMethodis_pod_ready
Check if a pod is ready by examining its conditions
crates/controller-manager/src/controllers/endpoints.rs:606
↓ 2 callersFunctionis_spdy_request
Check if a request is requesting SPDY upgrade
crates/api-server/src/spdy.rs:219
↓ 2 callersFunctionis_spdy_upgrade
Check if headers indicate SPDY upgrade request (for use with HeaderMap extractor)
crates/api-server/src/spdy.rs:240
↓ 2 callersFunctionjson_resource_version
Helper to extract metadata fields from a serde_json::Value
crates/api-server/src/handlers/watch.rs:2219
↓ 2 callersFunctionjson_to_cel_value
Convert a serde_json::Value to a CEL Value
crates/common/src/cel.rs:213
↓ 2 callersFunctionjson_to_schema
(v: &serde_json::Value)
crates/api-server/src/gnostic.rs:194
↓ 2 callersFunctionkind_to_plural
Simple heuristic to pluralize a Kind name.
crates/kubectl/src/commands/replace.rs:143
↓ 2 callersMethodlist
(&self, prefix: &str)
crates/storage/src/memory.rs:199
↓ 2 callersMethodlist_all_pods
List all pods with containers in Docker, including exited/stopped. Used by orphan cleanup to find and remove stopped containers from pods that have be
crates/kubelet/src/runtime.rs:7921
↓ 2 callersFunctionlist_registered_apiservice_groups_with_storage
Storage-only flavour of [`list_registered_apiservice_groups`].
crates/api-server/src/handlers/generic.rs:573
↓ 2 callersMethodlist_resources_with_metadata
List resources with metadata
crates/controller-manager/src/controllers/garbage_collector.rs:242
↓ 2 callersMethodload_priority_classes
Load all PriorityClasses from storage into a HashMap for fast lookup
crates/scheduler/src/scheduler.rs:1060
↓ 2 callersFunctionmake_failed_pod_with_exit_code
( name: &str, namespace: &str, job_name: &str, job_uid: &str, index: i
crates/controller-manager/src/controllers/job.rs:1613
↓ 2 callersFunctionmake_orphan_pod
(name: &str, namespace: &str, owner_uid: &str, owner_kind: &str)
crates/controller-manager/src/controllers/cascade_tests.rs:221
↓ 2 callersFunctionmake_pod_for_deletion
Helper: create a pod with deletion timestamp set.
crates/kubelet/tests/kubelet_lifecycle_test.rs:572
↓ 2 callersFunctionmake_replicaset
(name: &str, namespace: &str, uid: &str)
crates/controller-manager/src/controllers/cascade_tests.rs:198
↓ 2 callersFunctionmake_state
Construct a minimal `ApiServerState` backed by the given `MemoryStorage`. `skip_auth = true` so the router uses `skip_auth_middleware` and no token is
crates/api-server/tests/patch_cas_retry_test.rs:36
↓ 2 callersFunctionmap_get_error
Helper to convert GetError to anyhow::Error
crates/kubectl/src/commands/describe.rs:32
↓ 2 callersFunctionmap_get_error
Helper to convert GetError to anyhow::Error
crates/kubectl/src/commands/get.rs:15
↓ 2 callersMethodmark_allocated
(&self, ip: String)
crates/api-server/src/ip_allocator.rs:114
↓ 2 callersFunctionmatch_selector
Match a label selector against pod labels
crates/scheduler/src/advanced.rs:325
↓ 2 callersFunctionmatches_field_selector
Check if an object matches a field selector (common: metadata.name, metadata.namespace)
crates/api-server/src/handlers/watch.rs:1209
↓ 2 callersFunctionmatches_label_selector
Check if an object matches a label selector
crates/api-server/src/handlers/watch.rs:1084
↓ 2 callersMethodmatches_node_selector
(&self, node: &Node, selector: &HashMap<String, String>)
crates/scheduler/src/scheduler.rs:771
↓ 2 callersFunctionmatches_node_selector_requirement
Check if node matches a selector requirement
crates/scheduler/src/advanced.rs:259
↓ 2 callersFunctionmatches_node_selector_term
Check if node matches a single node selector term
crates/scheduler/src/advanced.rs:234
↓ 2 callersMethodmatches_resource
Check if a resource (as JSON) matches this label selector
crates/common/src/label_selector.rs:313
↓ 2 callersMethodmatches_selector
(&self, pod: &Pod, replicaset: &ReplicaSet)
crates/controller-manager/src/controllers/replicaset.rs:474
↓ 2 callersMethodname
(&self)
crates/scheduler/src/plugins.rs:23
↓ 2 callersMethodname
(&self)
crates/cloud-providers/src/aws.rs:487
↓ 2 callersFunctionnegotiate_content_type
Negotiate content type based on Accept header
crates/api-server/src/response.rs:55
↓ 2 callersFunctionparseCpu
Parse CPU quantity (e.g. "250m" -> 0.25, "2" -> 2).
console/src/views/NodesView.tsx:81
↓ 2 callersFunctionparseMemMi
Parse memory quantity to Mi (e.g. "512Mi" -> 512, "1Gi" -> 1024, "262144Ki" -> 256).
console/src/views/NodesView.tsx:89
↓ 2 callersFunctionparse_copy_spec
Test parsing of "pod:path" format
crates/kubectl/tests/command_tests.rs:90
↓ 2 callersMethodparse_cpu_to_millicores
Parse CPU string to millicores (e.g., "1" -> 1000, "500m" -> 500)
crates/controller-manager/src/controllers/resource_quota.rs:715
↓ 2 callersFunctionparse_duration_to_seconds
(duration: &str)
crates/kubectl/src/commands/logs.rs:105
↓ 2 callersFunctionparse_int_or_string
(s: &str)
crates/kubectl/src/commands/create.rs:1344
↓ 2 callersFunctionparse_jsonpath_condition
(condition: &str)
crates/kubectl/tests/wait_tests.rs:78
↓ 2 callersFunctionparse_label_selector
(selector: &str)
crates/kubectl/src/commands/create.rs:1333
↓ 2 callersFunctionparse_path
Parse a JSON pointer path into parts
crates/api-server/src/patch.rs:608
↓ 2 callersFunctionparse_resource
(resource: &str)
crates/kubectl/tests/auth_tests.rs:24
↓ 2 callersFunctionparse_resource_path
(path: &str)
crates/kubectl/tests/info_commands_tests.rs:328
↓ 2 callersFunctionparse_serviceaccount
(sa: &str)
crates/kubectl/tests/auth_tests.rs:246
↓ 2 callersFunctionpatch_content
()
crates/api-server/src/openapi.rs:831
↓ 2 callersFunctionpatch_json
Send a PATCH request to `uri` with the given JSON body and `Content-Type: application/merge-patch+json`. Returns the HTTP status code and the response
crates/api-server/tests/patch_cas_retry_test.rs:53
↓ 2 callersFunctionpatch_response
(resource_name: &str)
crates/api-server/src/openapi.rs:772
↓ 2 callersFunctionpod_matches_pdb_selector
Check if a pod matches a PDB's label selector
crates/api-server/src/handlers/pod_subresources.rs:1232
↓ 2 callersFunctionpods_table
Helper function to create a table for Pods
crates/api-server/src/handlers/table.rs:144
↓ 2 callersMethodprovision_volume
(&self, pvc: &PersistentVolumeClaim)
crates/controller-manager/src/controllers/dynamic_provisioner.rs:164
↓ 2 callersFunctionproxy_request
Helper function to proxy an HTTP request to a target URL. K8s proxy endpoints return raw HTTP responses, NOT K8s Status JSON objects. On connection e
crates/api-server/src/handlers/proxy.rs:590
↓ 2 callersFunctionproxy_request_with_rewrite
Proxy request with optional URL rewriting for HTML responses. When `proxy_base_path` is Some, absolute URLs in HTML responses are rewritten to include
crates/api-server/src/handlers/proxy.rs:604
↓ 2 callersFunctionprune_custom_resource
Prune unknown fields from a CR based on the CRD schema. K8s removes fields not in the schema unless x-kubernetes-preserve-unknown-fields is set. This
crates/api-server/src/handlers/custom_resource.rs:1168
↓ 2 callersFunctionprune_value_against_schema
Recursively prune unknown fields from a JSON value against a JSONSchema. Fields not declared as a property are removed unless the schema (or the enclo
crates/api-server/src/handlers/custom_resource.rs:1264
↓ 2 callersMethodpull_image_with_retry
Pull image with retry logic
crates/kubelet/src/runtime.rs:486
↓ 2 callersMethodread_frame
Read the next frame from the connection
crates/api-server/src/spdy.rs:136
↓ 2 callersMethodread_termination_message
Read the termination message from a stopped container. First tries reading from the host-side bind-mounted file, then falls back to docker cp.
crates/kubelet/src/runtime.rs:6202
↓ 2 callersMethodreconcile
(&self, cronjob: &mut CronJob)
crates/controller-manager/src/controllers/cronjob.rs:150
↓ 2 callersMethodreconcile_all
(&self)
crates/controller-manager/src/controllers/deployment.rs:234
↓ 2 callersMethodreconcile_all
(&self)
crates/controller-manager/src/controllers/hpa.rs:132
↓ 2 callersFunctionreconcile_binding
Reconcile a RoleBinding or ClusterRoleBinding resource.
crates/kubectl/src/commands/auth.rs:333
↓ 2 callersMethodreconcile_crd
Reconcile a single CustomResourceDefinition
crates/controller-manager/src/controllers/crd.rs:161
↓ 2 callersMethodreconcile_csr
Reconcile a single CertificateSigningRequest
crates/controller-manager/src/controllers/certificate_signing_request.rs:165
↓ 2 callersMethodreconcile_deletions
(&self)
crates/controller-manager/src/controllers/volume_snapshot.rs:374
↓ 2 callersMethodreconcile_hpa
(&self, hpa: &HorizontalPodAutoscaler)
crates/controller-manager/src/controllers/hpa.rs:153
↓ 2 callersMethodreconcile_ingress
Reconcile a single Ingress resource
crates/controller-manager/src/controllers/ingress.rs:160
↓ 2 callersMethodreconcile_namespace
Reconcile a single namespace
crates/controller-manager/src/controllers/namespace.rs:151
↓ 2 callersMethodreconcile_node
(&self, node: &Node)
crates/controller-manager/src/controllers/taint_eviction.rs:128
↓ 2 callersMethodreconcile_node
Reconcile a single node
crates/controller-manager/src/controllers/node.rs:161
↓ 2 callersMethodreconcile_pdb
(&self, pdb: &PodDisruptionBudget)
crates/controller-manager/src/controllers/pod_disruption_budget.rs:140
↓ 2 callersMethodreconcile_policy
Reconcile a single NetworkPolicy
crates/controller-manager/src/controllers/network_policy.rs:161
↓ 2 callersMethodreconcile_pvc
(&self, pvc: &PersistentVolumeClaim)
crates/controller-manager/src/controllers/volume_expansion.rs:155
↓ 2 callersMethodreconcile_quota
Reconcile a single resource quota
crates/controller-manager/src/controllers/resource_quota.rs:239
↓ 2 callersMethodreconcile_rc
(&self, rc: &ReplicationController)
crates/controller-manager/src/controllers/replicationcontroller.rs:239
↓ 2 callersMethodreconcile_replicaset
( &self, replicaset: &ReplicaSet, )
crates/controller-manager/src/controllers/replicaset.rs:227
← previousnext →801–900 of 6,481, ranked by callers