MCPcopy Create free account

hub / github.com/calfonso/rusternetes / functions

Functions6,481 in github.com/calfonso/rusternetes

↓ 1 callersFunctionprint_zsh_completion
()
crates/kubectl/src/commands/completion.rs:90
↓ 1 callersMethodprocess_admission_review
Process an AdmissionReview and return a response
examples/admission-webhooks/mock-webhook-server.py:53
↓ 1 callersMethodprocess_deletion
Process deletion for a resource with deletion timestamp
crates/controller-manager/src/controllers/garbage_collector.rs:453
↓ 1 callersMethodpropagation_policy
Return the Kubernetes propagation policy string for the API.
crates/kubectl/src/commands/delete.rs:33
↓ 1 callersFunctionproxy_pod
Proxy HTTP requests to a pod Proxies requests to a specific pod for debugging.
crates/api-server/src/handlers/proxy.rs:434
↓ 1 callersFunctionproxy_service
Proxy HTTP requests to a service Proxies requests to a service endpoint for debugging.
crates/api-server/src/handlers/proxy.rs:197
↓ 1 callersMethodpublish_node_metrics
Collect container metrics from the runtime and write NodeMetrics to storage. The api-server reads these to serve the metrics.k8s.io API.
crates/kubelet/src/kubelet.rs:713
↓ 1 callersFunctionpushPoint
(arr: MetricPoint[], value: number)
console/src/hooks/useMetricsCollector.ts:26
↓ 1 callersMethodpv_matches_pvc
Check if a PV matches the requirements of a PVC
crates/controller-manager/src/controllers/pv_binder.rs:266
↓ 1 callersMethodquery_cluster_metric
Query a cluster-level metric (no namespace)
crates/api-server/src/prometheus_client.rs:162
↓ 1 callersMethodquery_list_metric
Query a custom metric for multiple objects (list query) Returns a map of object names to metric values
crates/api-server/src/prometheus_client.rs:95
↓ 1 callersMethodquery_namespace_metric
Query a namespace-level metric
crates/api-server/src/prometheus_client.rs:136
↓ 1 callersMethodquery_object_metric
Query a custom metric for a specific object # Arguments `metric_name` - The metric name (e.g., "http_requests_total", "custom_queue_depth") `namespac
crates/api-server/src/prometheus_client.rs:62
↓ 1 callersMethodreconcile_all
(&self)
crates/controller-manager/src/controllers/resource_quota.rs:211
↓ 1 callersMethodreconcile_all
(&self)
crates/controller-manager/src/controllers/job.rs:199
↓ 1 callersMethodreconcile_all
(&self)
crates/controller-manager/src/controllers/endpointslice.rs:450
↓ 1 callersMethodreconcile_one
(&self, apiservice: &serde_json::Value)
crates/controller-manager/src/controllers/apiservice.rs:214
↓ 1 callersMethodreconcile_pod_events
Reconcile events for a single pod
crates/controller-manager/src/controllers/events.rs:116
↓ 1 callersMethodreconcile_serviceaccount
Reconcile a specific ServiceAccount (called when a SA is created/updated)
crates/controller-manager/src/controllers/serviceaccount.rs:485
↓ 1 callersFunctionrecord
()
console/src/views/TopologyView.tsx:191
↓ 1 callersMethodrefresh_jwks
Refresh the cached JWKS
crates/common/src/auth.rs:645
↓ 1 callersMethodrefresh_volumes
Refresh Secret and ConfigMap volumes for a running pod. Re-reads the data from storage and overwrites files on disk.
crates/kubelet/src/runtime.rs:7236
↓ 1 callersMethodregister_crd
Log when a CRD is registered (routes are built on-demand)
crates/api-server/src/dynamic_routes.rs:131
↓ 1 callersMethodregister_node
(&self)
crates/kubelet/src/kubelet.rs:373
↓ 1 callersMethodrelease_leadership
Release leadership (called on shutdown)
crates/common/src/leader_election.rs:306
↓ 1 callersFunctionremove_finalizer
Remove a finalizer from metadata
crates/common/src/deletion.rs:205
↓ 1 callersMethodremove_not_ready_taint
Remove not-ready taint from a node that became Ready.
crates/controller-manager/src/controllers/node.rs:461
↓ 1 callersFunctionrenderResults
(results)
docs/guide/search.js:112
↓ 1 callersFunctionreplace_operation
Replace operation - replaces a value at the specified path
crates/api-server/src/patch.rs:256
↓ 1 callersFunctionreplace_resource
(client: &ApiClient, value: &serde_yaml::Value)
crates/kubectl/src/commands/replace.rs:205
↓ 1 callersMethodresize_pv
Resize the underlying PersistentVolume
crates/controller-manager/src/controllers/volume_expansion.rs:337
↓ 1 callersFunctionresolve_aggregator_target
Look up the APIService registered for `{group}/{version}` and resolve a reachable backend address through the backing Service / Endpoints. Returns `O
crates/api-server/src/handlers/generic.rs:258
↓ 1 callersFunctionresolve_max_unavailable
Resolve a DaemonSet `maxUnavailable` IntOrString against the desired pod count (number of eligible nodes). Percentages are rounded UP per K8s semantic
crates/controller-manager/src/controllers/daemonset.rs:1256
↓ 1 callersMethodresource_exists
Check if a resource exists (GET returns 200). Returns false on 404.
crates/kubectl/src/client.rs:238
↓ 1 callersMethodresource_matches
Check if resource matches webhook rule K8s supports resource/subresource format in rules (e.g. "pods/attach", "pods/*", "*/*") See: staging/src/k8s.io
crates/api-server/src/admission_webhook.rs:1607
↓ 1 callersFunctionresource_path
Build the API path to GET a resource by type and name.
crates/kubectl/src/commands/expose.rs:7
↓ 1 callersMethodresync_volumes
Resync projected/secret/configmap volumes for a running pod. Re-reads source data from storage and updates volume files if changed.
crates/kubelet/src/runtime.rs:1743
↓ 1 callersFunctionrsa_pem_to_jwk
Convert an RSA public key PEM to JWK format for OIDC discovery. K8s uses the jose library; we extract n and e from the DER directly.
crates/api-server/src/handlers/health.rs:281
↓ 1 callersMethodrule_allows
Check if a single policy rule allows the requested action
crates/common/src/authz.rs:237
↓ 1 callersFunctionrun
Run the kube-proxy component. This is the main entry point for embedding kube-proxy in the all-in-one binary. It runs the iptables sync loop until ca
crates/kube-proxy/src/lib.rs:20
↓ 1 callersMethodrun_as_follower
Run the follower loop - check for leader changes
crates/common/src/leader_election.rs:300
↓ 1 callersMethodrun_as_leader
Run the leader loop - renew lease periodically
crates/common/src/leader_election.rs:267
↓ 1 callersMethodscale_replica_sets
( &self, owned_replicasets: &[ReplicaSet], active_rs: Option<&ReplicaSet>, des
crates/controller-manager/src/controllers/deployment.rs:1307
↓ 1 callersMethodscore
( &self, _state: &CycleState, pod: &Pod, node: &Node, _handle: &Framew
crates/scheduler/src/plugins.rs:253
↓ 1 callersFunctionsearch
(query)
docs/guide/search.js:88
↓ 1 callersFunctionseed_service
( storage: &MemoryStorage, namespace: &str, name: &str, cluster_ip: &str, port: u16, )
crates/api-server/tests/aggregator_test.rs:70
↓ 1 callersFunctionsend_without_ct
Same as `send_with_ct` but no `Content-Type` header at all. Mirrors upstream's "no Content-Type" decode test.
crates/api-server/tests/decoder_content_type_test.rs:103
↓ 1 callersFunctionservice_port_strategy
()
crates/common/tests/fuzz_roundtrip_jsonproto_test.rs:338
↓ 1 callersFunctionservice_stub
(name: &str)
crates/api-server/tests/decoder_strict_fields_test.rs:156
↓ 1 callersFunctionservice_type_strategy
()
crates/common/tests/fuzz_roundtrip_jsonproto_test.rs:358
↓ 1 callersFunctionsetActiveCluster
(id: string)
console/src/engine/fleet.ts:42
↓ 1 callersFunctionset_json_path
Helper to set a value in a JSON object using a simple JSONPath
crates/api-server/src/handlers/custom_resource.rs:1708
↓ 1 callersMethodset_resource_version_from_items
Set the list's resourceVersion from the highest item resourceVersion. This ensures clients get a valid revision for subsequent watches.
crates/common/src/types.rs:493
↓ 1 callersMethodsetup_pod_network
Setup CNI networking for a pod Creates a network namespace and configures CNI networking Returns None if CNI setup fails (will fall back to Podman net
crates/kubelet/src/runtime.rs:290
↓ 1 callersFunctionsetup_port_forward
Set up TCP proxy for a single port
crates/api-server/src/spdy_handlers.rs:232
↓ 1 callersFunctionsetup_test_storage
()
crates/controller-manager/tests/resource_quota_test.rs:11
↓ 1 callersFunctionshell_join
Join a list of strings into a shell-safe command string. Wraps arguments containing spaces or special characters in single quotes.
crates/kubelet/src/runtime.rs:108
↓ 1 callersMethodshould_auto_approve
Check if CSR should be auto-approved
crates/controller-manager/src/controllers/certificate_signing_request.rs:216
↓ 1 callersMethodshould_evict_pods
Check if pods should be evicted from a node
crates/controller-manager/src/controllers/node.rs:316
↓ 1 callersMethodshould_run_now
( &self, schedule: &str, now: chrono::DateTime<chrono::Utc>, cronjob: &CronJob
crates/controller-manager/src/controllers/cronjob.rs:341
↓ 1 callersMethodshould_skip_tls_verify
Check if TLS verification should be skipped
crates/kubectl/src/kubeconfig.rs:188
↓ 1 callersMethodsimulate_container_usage
Simulate container resource usage (in production, query from metrics-server)
crates/controller-manager/src/controllers/vpa.rs:349
↓ 1 callersFunctionskip_json_value
Skip an entire JSON value (string, number, object, array, bool, null) starting at `pos`. Returns the position after the value.
crates/api-server/src/handlers/validation.rs:202
↓ 1 callersFunctionsort_by_cpu
(pods: &mut Vec<(&str, u64)>)
crates/kubectl/tests/top_tests.rs:225
↓ 1 callersFunctionsort_by_memory
(pods: &mut Vec<(&str, u64)>)
crates/kubectl/tests/top_tests.rs:239
↓ 1 callersFunctionsplit_label_requirements
Split label selector string into requirements, respecting parentheses in set-based expressions
crates/api-server/src/handlers/watch.rs:1187
↓ 1 callersMethodstart_pause_container
Start a pause (infra) container for a pod in non-CNI mode. The pause container holds the pod's network namespace. All real containers join its networ
crates/kubelet/src/runtime.rs:1193
↓ 1 callersMethodstartup_cleanup
Startup cleanup: remove all containers that don't correspond to pods in etcd. Runs once at kubelet startup before the main sync loop. K8s kubelet does
crates/kubelet/src/kubelet.rs:911
↓ 1 callersMethodstop
Stop watching and clean up.
console/src/engine/watch.ts:45
↓ 1 callersMethodstop_and_remove_pod
Stop and force-remove all containers for a pod. Used for orphaned container cleanup where logs are no longer needed.
crates/kubelet/src/runtime.rs:4936
↓ 1 callersMethodstorage_greater_than
Compare storage sizes and return true if first is greater than second
crates/controller-manager/src/controllers/volume_expansion.rs:367
↓ 1 callersMethodstorage_sufficient
Check if PV storage is sufficient for PVC This is a simple string comparison for now
crates/controller-manager/src/controllers/pv_binder.rs:308
↓ 1 callersFunctionsum_cpu_usage
(nodes: &[(u64, u64)])
crates/kubectl/tests/top_tests.rs:160
↓ 1 callersMethodsupports_operation
Whether this controller supports the given operation
crates/common/src/admission.rs:116
↓ 1 callersFunctionswagger_json_to_protobuf
Convert a JSON swagger spec to gnostic protobuf bytes. Equivalent to K8s ToProtoBinary: JSON → ParseDocument → proto.Marshal
crates/api-server/src/gnostic.rs:17
↓ 1 callersMethodsync
Sync all services and their endpoints
crates/kube-proxy/src/proxy.rs:33
↓ 1 callersMethodsync_service
( &mut self, service: &Service, endpoints_map: &HashMap<String, Endpoints>, en
crates/kube-proxy/src/proxy.rs:232
↓ 1 callersFunctiontaint_is_tolerated
Check if a specific taint is tolerated by any of the tolerations
crates/scheduler/src/advanced.rs:50
↓ 1 callersFunctiontest_operation
Test operation - tests that a value at the specified path equals the given value
crates/api-server/src/patch.rs:302
↓ 1 callersFunctiontest_prune_custom_resource
( crd: &CustomResourceDefinition, version: &str, cr: &mut CustomResource, )
crates/api-server/src/handlers/custom_resource.rs:1156
↓ 1 callersFunctiontimeAgo
(timestamp?: string)
console/src/views/EventsView.tsx:16
↓ 1 callersMethodto_token_string
Format as kubernetes bootstrap token (token-id.token-secret)
crates/common/src/auth.rs:286
↓ 1 callersFunctiontoleration_matches_taint
Check if a toleration matches a taint
crates/scheduler/src/advanced.rs:66
↓ 1 callersMethodtoleration_matches_taint
( &self, toleration: &rusternetes_common::resources::Toleration, taint: &rusternetes_c
crates/controller-manager/src/controllers/taint_eviction.rs:278
↓ 1 callersMethodtry_preempt
Try to preempt lower-priority pods to make room for a high-priority pod Returns Some((node_name, pods_to_evict)) if preemption is possible, None other
crates/scheduler/src/scheduler.rs:946
↓ 1 callersMethodtry_schedule_pod
Try to schedule a single pod by its queue key (pods/{ns}/{name}). K8s schedules one pod per cycle in scheduleOne().
crates/scheduler/src/scheduler.rs:179
↓ 1 callersMethodunregister_crd
Log when a CRD is unregistered
crates/api-server/src/dynamic_routes.rs:139
↓ 1 callersMethodupdate
(&self, key: &str, value: &T)
crates/storage/src/rhino.rs:170
↓ 1 callersMethodupdate
(&self, key: &str, value: &T)
crates/storage/src/memory.rs:127
↓ 1 callersFunctionupdate_certificate_signing_request_status
( State(state): State<Arc<ApiServerState>>, Extension(auth_ctx): Extension<AuthContext>, Path(name
crates/api-server/src/handlers/certificates.rs:239
↓ 1 callersMethodupdate_container_resources
Update container resource limits in-place (for pod resize)
crates/kubelet/src/runtime.rs:7698
↓ 1 callersFunctionupdate_custom_resource
Update a custom resource instance
crates/api-server/src/handlers/custom_resource.rs:400
↓ 1 callersFunctionupdate_custom_resource_scale
Update the scale subresource of a custom resource
crates/api-server/src/handlers/custom_resource.rs:1599
↓ 1 callersFunctionupdate_custom_resource_status
Update the status subresource of a custom resource
crates/api-server/src/handlers/custom_resource.rs:1408
↓ 1 callersMethodupdate_hpa_status_success
Update HPA status with success
crates/controller-manager/src/controllers/hpa.rs:473
↓ 1 callersMethodupdate_ingress_status
Update Ingress status with load balancer information In a full implementation, this would: 1. Allocate/provision a load balancer (via cloud provider
crates/controller-manager/src/controllers/ingress.rs:318
↓ 1 callersFunctionupdate_managed_fields
Update managed fields after apply
crates/common/src/server_side_apply.rs:317
↓ 1 callersMethodupdate_node_status
Update node status
crates/controller-manager/src/controllers/node.rs:350
↓ 1 callersMethodupdate_service_status
Update service status with load balancer information
crates/controller-manager/src/controllers/loadbalancer.rs:334
↓ 1 callersMethodupdate_status
( &self, rc: &ReplicationController, current_replicas: i32, ready_replicas: i3
crates/controller-manager/src/controllers/replicationcontroller.rs:671
← previousnext →1,401–1,500 of 6,481, ranked by callers