Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/calfonso/rusternetes
/ functions
Functions
6,481 in github.com/calfonso/rusternetes
⨍
Functions
6,481
◇
Types & classes
991
↓ 2 callers
Function
reconcile_resource
Reconcile a Role or ClusterRole resource.
crates/kubectl/src/commands/auth.rs:271
↓ 2 callers
Method
reconcile_service
Reconcile a single LoadBalancer service
crates/controller-manager/src/controllers/loadbalancer.rs:262
↓ 2 callers
Method
reconcile_service
Reconcile endpoints for a single service
crates/controller-manager/src/controllers/endpoints.rs:239
↓ 2 callers
Method
reconcile_vpa
(&self, vpa: &VerticalPodAutoscaler)
crates/controller-manager/src/controllers/vpa.rs:177
↓ 2 callers
Method
release
Release an allocated IP back to the pool
crates/api-server/src/ip_allocator.rs:87
↓ 2 callers
Function
remove_operation
Remove operation - removes a value at the specified path
crates/api-server/src/patch.rs:226
↓ 2 callers
Method
remove_terminated_container
Remove a terminated container so it can be recreated for restart.
crates/kubelet/src/runtime.rs:7210
↓ 2 callers
Function
rollout_history
( client: &ApiClient, resource_type: &str, name: &str, namespace: &str, revision: Option<i
crates/kubectl/src/commands/rollout.rs:144
↓ 2 callers
Function
rollout_restart
( client: &ApiClient, resource_type: &str, name: &str, namespace: &str, )
crates/kubectl/src/commands/rollout.rs:324
↓ 2 callers
Function
rollout_resume
( client: &ApiClient, resource_type: &str, name: &str, namespace: &str, )
crates/kubectl/src/commands/rollout.rs:387
↓ 2 callers
Function
rollout_status
( client: &ApiClient, resource_type: &str, name: &str, namespace: &str, )
crates/kubectl/src/commands/rollout.rs:68
↓ 2 callers
Method
run
Run the leader election loop
crates/common/src/leader_election.rs:109
↓ 2 callers
Method
scale_target
Scale the target resource to the desired replica count
crates/controller-manager/src/controllers/hpa.rs:271
↓ 2 callers
Method
seed_first_seen_for_test
(&self, node_name: &str)
crates/controller-manager/src/controllers/node.rs:41
↓ 2 callers
Method
select_node
( &self, pod: &Pod, nodes: &[Node], all_pods: &[Pod], priority_classes
crates/scheduler/src/scheduler.rs:566
↓ 2 callers
Method
set_response
(&mut self, path: &str, response: serde_json::Value)
crates/kubectl/tests/mock_client_example.rs:21
↓ 2 callers
Method
shutdown
Initiate shutdown
crates/common/src/leader_election.rs:348
↓ 2 callers
Function
simulate_kubelet_cleanup
Simulate kubelet behavior: delete pods with deletionTimestamp from storage
crates/controller-manager/src/controllers/statefulset.rs:1421
↓ 2 callers
Method
slice_owned_by_selector_controller
Check whether the EndpointSlice at `<ns>/<name>` is owned by the selector-based controller. Used to avoid collisions between selector- and mirror-mana
crates/controller-manager/src/controllers/endpointslice.rs:979
↓ 2 callers
Function
split_scheme_name_port
Parse a resource identifier in Kubernetes proxy format. Matches the behavior of `k8s.io/apimachinery/pkg/util/net.SplitSchemeNamePort`: - `"name"` ->
crates/api-server/src/handlers/proxy.rs:79
↓ 2 callers
Function
start_mock_slow_validating_server
Start a mock validating webhook server that sleeps longer than the request timeout. Used to verify timeoutSeconds enforcement.
crates/api-server/tests/admission_webhook_e2e_test.rs:192
↓ 2 callers
Function
start_mock_validating_allow_server
Start a mock validating webhook server that allows all requests
crates/api-server/tests/admission_webhook_e2e_test.rs:34
↓ 2 callers
Function
start_mock_validating_deny_server
Start a mock validating webhook server that denies all requests
crates/api-server/tests/admission_webhook_e2e_test.rs:76
↓ 2 callers
Method
stdin
(data: impl Into<Bytes>)
crates/kubectl/src/websocket.rs:50
↓ 2 callers
Method
sync_pod
(&self, pod: &Pod)
crates/kubelet/src/kubelet.rs:1275
↓ 2 callers
Function
terminated_container_status
(name: &str, exit_code: i32)
crates/kubelet/tests/kubelet_lifecycle_test.rs:102
↓ 2 callers
Method
tg_name
Generate target group name
crates/cloud-providers/src/aws.rs:104
↓ 2 callers
Method
track_sep_chain
Track a SEP chain name so it can be cleaned up during flush
crates/kube-proxy/src/iptables.rs:881
↓ 2 callers
Function
updateSelected
(items)
docs/guide/search.js:145
↓ 2 callers
Method
update_pod_status_error
(&self, pod: &Pod, error: &str)
crates/kubelet/src/kubelet.rs:3975
↓ 2 callers
Method
update_snapshot_status
( &self, vs: &VolumeSnapshot, content_name: &str, ready: bool, )
crates/controller-manager/src/controllers/volume_snapshot.rs:327
↓ 2 callers
Function
upgrade_to_spdy
Upgrade HTTP request to SPDY connection (works with Axum Body type)
crates/api-server/src/spdy.rs:271
↓ 2 callers
Method
validate
Validate the configuration
crates/kubelet/src/config.rs:86
↓ 2 callers
Method
validate
Validate the network configuration
crates/kubelet/src/cni/config.rs:77
↓ 2 callers
Method
validate_backend
Validate an ingress backend
crates/controller-manager/src/controllers/ingress.rs:226
↓ 2 callers
Function
validate_crd
Validate a CustomResourceDefinition
crates/api-server/src/handlers/crd.rs:638
↓ 2 callers
Method
validate_network_policy_peer
Validate NetworkPolicyPeer
crates/controller-manager/src/controllers/network_policy.rs:323
↓ 2 callers
Method
validate_network_policy_port
Validate NetworkPolicyPort
crates/controller-manager/src/controllers/network_policy.rs:289
↓ 2 callers
Function
validate_resource_name
Validate that a resource name is a valid DNS subdomain name (RFC 1123). Rules: - Must be non-empty - Must be <= 253 characters - Must consist of lowe
crates/api-server/src/handlers/validation.rs:518
↓ 2 callers
Method
validate_token_with_audiences
Validate and decode a JWT token against specific audiences
crates/common/src/auth.rs:223
↓ 2 callers
Method
watch_from_revision
(&self, prefix: &str, revision: i64)
crates/storage/src/lib.rs:122
↓ 2 callers
Function
watch_namespaced_json
Watch namespaced resources using serde_json::Value (for DRA types without HasMetadata)
crates/api-server/src/handlers/watch.rs:2435
↓ 2 callers
Method
webhook_matches
Check if a webhook matches the given request
crates/api-server/src/admission_webhook.rs:1553
↓ 2 callers
Function
whole_second_timestamp
Generate a `chrono::DateTime<Utc>` truncated to whole seconds — the metav1.Time codec used by the core/v1 Event path drops fractional seconds on the w
crates/common/tests/fuzz_roundtrip_jsonproto_test.rs:515
↓ 2 callers
Method
with_ca_cert
Set the CA certificate PEM for distribution to service accounts
crates/api-server/src/state.rs:53
↓ 2 callers
Method
with_conditions
(mut self, conditions: Vec<ComponentCondition>)
crates/common/src/resources/componentstatus.rs:30
↓ 2 callers
Method
with_config
( storage: Arc<S>, scan_interval_secs: u64, max_concurrent_deletes: usize, del
crates/controller-manager/src/controllers/garbage_collector.rs:51
↓ 2 callers
Method
with_controller
Mark this reference as the managing controller
crates/common/src/types.rs:404
↓ 2 callers
Method
with_data
(mut self, data: HashMap<String, String>)
crates/common/src/resources/config_and_secret.rs:46
↓ 2 callers
Method
with_details
(mut self, details: String)
crates/kubelet/src/cni/result.rs:183
↓ 2 callers
Method
with_kind
(mut self, kind: impl Into<String>)
crates/common/src/resources/binding.rs:79
↓ 2 callers
Method
with_kubelet_metrics
(mut self)
crates/common/src/observability.rs:310
↓ 2 callers
Method
with_metadata
Set metadata
crates/api-server/src/handlers/table.rs:124
↓ 2 callers
Method
with_overhead
(mut self, overhead: Overhead)
crates/common/src/resources/runtimeclass.rs:55
↓ 2 callers
Method
with_prometheus_client
Set the Prometheus client for custom metrics
crates/api-server/src/state.rs:59
↓ 2 callers
Method
with_scheduler_metrics
(mut self)
crates/common/src/observability.rs:304
↓ 2 callers
Method
with_scheduling
(mut self, scheduling: Scheduling)
crates/common/src/resources/runtimeclass.rs:60
↓ 2 callers
Method
with_spec
(mut self, spec: IngressSpec)
crates/common/src/resources/ingress.rs:33
↓ 2 callers
Method
with_type
(mut self, secret_type: impl Into<String>)
crates/common/src/resources/config_and_secret.rs:206
↓ 1 callers
Function
add_basic_resource_schemas
(schemas: &mut IndexMap<String, ReferenceOr<Schema>>)
crates/api-server/src/openapi.rs:955
↓ 1 callers
Method
add_clusterip_rules
Add rules for a ClusterIP service. Session affinity implementation: - When `recent_available` is true, uses xt_recent module to track client IPs. Eac
crates/kube-proxy/src/iptables.rs:900
↓ 1 callers
Method
add_interface
Add an interface to the result
crates/kubelet/src/cni/result.rs:101
↓ 1 callers
Function
add_managed_fields
Add managed fields to a new resource
crates/common/src/server_side_apply.rs:144
↓ 1 callers
Method
add_nodeport_rules
Add rules for a NodePort service. Supports session affinity using the same xt_recent approach as ClusterIP rules. Each endpoint gets a per-endpoint c
crates/kube-proxy/src/iptables.rs:1106
↓ 1 callers
Method
add_not_ready_taint
Add not-ready and unreachable taints to a NotReady node. K8s node lifecycle controller adds these taints so that: 1. New pods aren't scheduled on NotR
crates/controller-manager/src/controllers/node.rs:430
↓ 1 callers
Function
add_object_meta_schema
(schemas: &mut IndexMap<String, ReferenceOr<Schema>>)
crates/api-server/src/openapi.rs:912
↓ 1 callers
Method
add_route
Add a route
crates/kubelet/src/cni/result.rs:113
↓ 1 callers
Method
add_token
Add a bootstrap token
crates/common/src/auth.rs:465
↓ 1 callers
Method
adopt_and_release
Adopt orphan pods that match the selector and release owned pods that no longer match. Returns the updated list of all pods (with ownerReferences modi
crates/controller-manager/src/controllers/replicationcontroller.rs:497
↓ 1 callers
Method
adopt_and_release
Adopt orphan pods that match the selector and release owned pods that no longer match. Returns the updated list of all pods (with ownerReferences modi
crates/controller-manager/src/controllers/replicaset.rs:386
↓ 1 callers
Function
age
(timestamp?: string)
console/src/views/WorkloadsView.tsx:35
↓ 1 callers
Function
age
(timestamp?: string)
console/src/views/ResourceListView.tsx:20
↓ 1 callers
Function
age
(timestamp?: string)
console/src/views/NodesView.tsx:16
↓ 1 callers
Method
allocate_load_balancer_ip
Allocate a load balancer IP for the ingress This is a reference implementation that simulates IP allocation. In production, this would: - For cloud p
crates/controller-manager/src/controllers/ingress.rs:384
↓ 1 callers
Method
allocate_node_ports
Allocate NodePorts for a service NodePort range: 30000-32767 (Kubernetes default)
crates/controller-manager/src/controllers/loadbalancer.rs:403
↓ 1 callers
Method
allocate_specific
Allocate a specific IP if available
crates/api-server/src/ip_allocator.rs:70
↓ 1 callers
Function
apply_annotations
(annotations: Vec<(&str, Option<&str>)>)
crates/kubectl/tests/scale_patch_label_tests.rs:328
↓ 1 callers
Method
apply_cpu_constraints
Apply CPU constraints from VPA resource policy
crates/controller-manager/src/controllers/vpa.rs:503
↓ 1 callers
Function
apply_json_patch_operation
Apply a single JSON Patch operation
crates/api-server/src/patch.rs:162
↓ 1 callers
Function
apply_json_pointer_add
Apply JSON pointer add operation
crates/api-server/src/admission_webhook.rs:1680
↓ 1 callers
Function
apply_json_pointer_remove
Apply JSON pointer remove operation
crates/api-server/src/admission_webhook.rs:1710
↓ 1 callers
Function
apply_json_pointer_replace
Apply JSON pointer replace operation
crates/api-server/src/admission_webhook.rs:2198
↓ 1 callers
Function
apply_labels
(labels: Vec<(&str, Option<&str>)>)
crates/kubectl/tests/scale_patch_label_tests.rs:240
↓ 1 callers
Method
apply_memory_constraints
Apply memory constraints from VPA resource policy
crates/controller-manager/src/controllers/vpa.rs:544
↓ 1 callers
Method
apply_nat_rules_atomic
Atomically apply NAT rules using iptables-restore --noflush. This replaces our chain rules without any gap.
crates/kube-proxy/src/iptables.rs:1665
↓ 1 callers
Method
apply_recommendations
Apply recommendations based on update policy
crates/controller-manager/src/controllers/vpa.rs:626
↓ 1 callers
Function
apply_resource
( client: &ApiClient, value: &serde_yaml::Value, query: &str, options: &ApplyOptions, )
crates/kubectl/src/commands/apply.rs:356
↓ 1 callers
Function
approve_csr
(client: &ApiClient, name: &str, force: bool)
crates/kubectl/src/commands/certificate.rs:34
↓ 1 callers
Method
approve_csr
Approve a CSR
crates/controller-manager/src/controllers/certificate_signing_request.rs:244
↓ 1 callers
Method
as_u32
(&self)
crates/kubelet/src/cni/result.rs:150
↓ 1 callers
Function
assert_json_value_roundtrip
Round-trip assertion: serde JSON encode -> decode -> re-encode -> compare via `serde_json::Value` (so default fields / ordering don't matter).
crates/common/tests/fuzz_roundtrip_jsonproto_test.rs:125
↓ 1 callers
Function
assert_proto_unknown_roundtrip
Round-trip assertion through the Unknown protobuf envelope.
crates/common/tests/fuzz_roundtrip_jsonproto_test.rs:145
↓ 1 callers
Function
attach_rule
()
crates/api-server/src/admission_webhook.rs:3497
↓ 1 callers
Function
backoff_duration
(failures: u32, base: Duration, max: Duration)
crates/storage/src/workqueue.rs:308
↓ 1 callers
Function
build_attach_url
(namespace: &str, pod: &str, container: Option<&str>)
crates/kubectl/tests/exec_attach_portforward_tests.rs:135
↓ 1 callers
Method
build_endpoint_subsets
Build endpoint subsets from pods, separating ready and not-ready pods. K8s ref: pkg/controller/endpoint/endpoints_controller.go — syncService
crates/controller-manager/src/controllers/endpoints.rs:366
↓ 1 callers
Function
build_field_selectors
(name: &str, namespace: &str)
crates/kubectl/tests/wait_tests.rs:292
↓ 1 callers
Function
build_label_selector
(labels: &[(&str, &str)])
crates/kubectl/tests/top_tests.rs:295
↓ 1 callers
Function
build_list_api_path
Build the list API path for a given resource type (for watch mode)
crates/kubectl/src/commands/get.rs:387
↓ 1 callers
Function
build_old_rs
Build an "old" RS with a different template hash than the deployment (so it is treated as an old/outgoing RS during a rollover). Carries the proportio
crates/controller-manager/tests/deployment_idempotency_test.rs:213
← previous
next →
901–1,000 of 6,481, ranked by callers