MCPcopy Create free account

hub / github.com/calfonso/rusternetes / functions

Functions6,481 in github.com/calfonso/rusternetes

FunctionPodPhaseChart
Pod phase donut chart.
console/src/views/WorkloadsView.tsx:45
FunctionPodRow
Pod row with actions.
console/src/views/WorkloadsView.tsx:289
FunctionPortBadge
Port badge showing protocol and port number.
console/src/views/TopologyView.tsx:113
FunctionQuickCreatePVC
({ onCreated, storageClasses }: { onCreated: (msg: string) => void; storageClasses: SC[] })
console/src/views/StorageView.tsx:263
FunctionQuickCreateStorageClass
({ onCreated }: { onCreated: (msg: string) => void })
console/src/views/StorageView.tsx:181
FunctionRBACView
()
console/src/views/RBACView.tsx:126
FunctionRecentEvent
({ event }: { event: Event })
console/src/views/OverviewView.tsx:183
FunctionResourceCount
Mini count badge that fetches the actual resource count.
console/src/views/ExploreView.tsx:68
FunctionResourceDetailView
()
console/src/views/ResourceDetailView.tsx:31
FunctionResourceEvents
Show events related to this resource.
console/src/views/ResourceDetailView.tsx:447
FunctionResourceListView
()
console/src/views/ResourceListView.tsx:58
FunctionResourceTable
({ items, columns, loading, error, emptyMessage = "No resources found", onRowClick, }: Props<T>)
console/src/components/ResourceTable.tsx:20
FunctionRestartHeatmap
Restart heatmap — shows pods with high restart counts prominently.
console/src/views/WorkloadsView.tsx:236
FunctionRulesBadges
Visual representation of RBAC rules.
console/src/views/RBACView.tsx:18
FunctionSecretCard
({ secret }: { secret: Secret })
console/src/views/ConfigView.tsx:83
FunctionServiceCard
({ svc, matchingPods }: { svc: Service; matchingPods: number })
console/src/views/NetworkingView.tsx:149
FunctionServiceTopology
({ svc, pods }: { svc: Service; pods: Pod[] })
console/src/views/NetworkingView.tsx:229
FunctionShell
()
console/src/components/Shell.tsx:6
FunctionSidebar
()
console/src/components/Sidebar.tsx:48
FunctionSparkline
Sparkline chart using recharts.
console/src/views/OverviewView.tsx:79
FunctionStatusBadge
({ status, className }: Props)
console/src/components/StatusBadge.tsx:26
FunctionStorageCapabilities
({ scs }: { scs: SC[] })
console/src/views/StorageView.tsx:131
FunctionStorageOverviewPanel
({ pvcs, pvs, scs, csiDriverCount, volumeAttachmentCount, }: { pvcs: PVC[]; pvs: PV[]; scs: SC
console/src/views/StorageView.tsx:42
FunctionStorageView
()
console/src/views/StorageView.tsx:463
FunctionTopologyView
()
console/src/views/TopologyView.tsx:125
FunctionWorkloadsView
()
console/src/views/WorkloadsView.tsx:350
Function_imports_alive
(_: EndpointConditions, _: EndpointReference)
crates/controller-manager/tests/endpointslice_idempotency_test.rs:348
FunctionaddCluster
(cluster: Omit<ClusterInfo, "local">)
console/src/engine/fleet.ts:49
Methodadmit
Run all admission controllers in the chain
crates/common/src/admission.rs:146
Methodallow
Create an allowed response
crates/common/src/admission.rs:627
Methodallow_with_patch
Create an allowed response with a JSON patch
crates/common/src/admission.rs:659
Functionalready_started_ephemeral_container_not_restarted
()
crates/kubelet/tests/kubelet_lifecycle_test.rs:1095
Functionanimate
(time: number)
console/src/views/TopologyView.tsx:389
Methodanonymous
()
crates/common/src/auth.rs:418
Functionapply_cluster
( client: &ApiClient, yaml_str: &str, kind: &str, api_group: &str, _resource_plural: &str,
crates/kubectl/src/commands/apply.rs:817
Functionapply_cluster_resource
Generic Server-Side Apply handler for cluster-scoped resources # Type Parameters - `T`: The resource type (must implement Serialize + DeserializeOwne
crates/api-server/src/handlers/apply.rs:161
Methodapply_defaults
Apply default values from a JSONSchemaProps to a JSON value.
crates/common/src/schema_validation.rs:667
Methodapply_defaults_recursive
(schema: &JSONSchemaProps, value: &mut Value)
crates/common/src/schema_validation.rs:671
Methodapply_fsgroup_permissions
Set group bits to mirror owner bits on each file/directory. This matches real K8s behavior: if owner=r--, group becomes r-- (not r+w which chmod g+rwX
crates/kubelet/src/runtime.rs:1697
Functionapply_label_selector_direct
Apply label selector filtering using direct label access (no serialization). Use this when you have pre-extracted labels for each resource.
crates/api-server/src/handlers/filtering.rs:65
Functionapply_namespaced
( client: &ApiClient, yaml_str: &str, kind: &str, api_group: &str, resource_plural: &str,
crates/kubectl/src/commands/apply.rs:759
Functionapply_namespaced_resource
Generic Server-Side Apply handler for namespaced resources # Type Parameters - `T`: The resource type (must implement Serialize + DeserializeOwned)
crates/api-server/src/handlers/apply.rs:53
Functionapprove_certificate_signing_request
Approval subresource - simplified as update status
crates/api-server/src/handlers/certificates.rs:291
Functionassert_deployment_replicas
Assert that a Deployment has the expected number of replicas
tests/common/assertion_helper.rs:56
Functionassert_pod_labels
Assert that a pod has expected labels
tests/common/assertion_helper.rs:66
Functionassert_pv_bound
Assert that a PV is bound to a PVC
tests/common/assertion_helper.rs:18
Functionassert_pvc_bound
Assert that a PVC is bound to a PV
tests/common/assertion_helper.rs:5
Functionassert_resource_exists
Assert that a resource exists
tests/common/assertion_helper.rs:84
Functionassert_resource_not_exists
Assert that a resource doesn't exist
tests/common/assertion_helper.rs:93
Functionassert_roundtrip
Roundtrip a hand-written JSON fixture through `T`. Asserts (per the upstream contract): 1. `serde_json::from_str::<T>(fixture)` succeeds (`decoded`),
crates/common/tests/roundtrip_rbac_storage.rs:38
Functionassert_roundtrip
Runs the four-step JSON roundtrip contract against a hand-written fixture. Asserts that the second decode + re-encode produces a value identical (as a
crates/common/tests/roundtrip_apps_v1.rs:30
Functionassert_roundtrip
Run the four-step roundtrip assertion for a typed payload. 1. decode fixture -> `T` 2. encode `T` -> JSON 3. decode JSON -> `T` 4. compare the two de
crates/common/tests/roundtrip_core_v1.rs:38
Functionassert_roundtrip_eq
Roundtrip a fixture through a type that derives `PartialEq`. Asserts that decode + re-encode + re-decode produces an equal value.
crates/common/tests/roundtrip_networking.rs:29
Functionassert_roundtrip_value_eq
Roundtrip a fixture through a type that does NOT derive `PartialEq`. Falls back to `serde_json::Value` equality on the canonical re-encoded form.
crates/common/tests/roundtrip_networking.rs:51
Functionassert_snapshot_ready
Assert that a VolumeSnapshot is ready
tests/common/assertion_helper.rs:39
Functionattach
GET/POST /api/v1/namespaces/{namespace}/pods/{name}/attach Attach to a running container (supports both SPDY and WebSocket)
crates/api-server/src/handlers/pod_subresources.rs:707
Functionauth_middleware
Authentication middleware that extracts and validates JWT tokens
crates/api-server/src/middleware.rs:50
Methodauthenticate
Authenticate a token using the webhook
crates/common/src/auth.rs:792
Functionbogus_variant_still_errors
()
crates/common/src/resources/serde_helpers.rs:71
Functionbuild_attach_params
(stdin: bool, tty: bool)
crates/kubectl/tests/exec_attach_portforward_tests.rs:154
Methodbuild_deletion_conditions
Build the standard set of namespace deletion conditions. These conditions indicate the namespace controller has processed the namespace.
crates/controller-manager/src/controllers/namespace.rs:209
Functionbuild_field_selector
(name: &str)
crates/kubectl/tests/wait_tests.rs:279
Methodbuild_init_container_statuses
(pod: &Pod)
crates/kubelet/src/kubelet.rs:3830
Functionbuild_logs_query
Test building query parameters for logs API
crates/kubectl/tests/command_tests.rs:297
Methodbuild_patch_data
Build ControllerRevision data in K8s getPatch() format. Format: {"spec":{"template":{...,"$patch":"replace"}}} K8s Match() does byte-level comparison
crates/controller-manager/src/controllers/daemonset.rs:1145
Functionbuild_proxy_headers_emits_impersonation_with_user_groups_extras
()
crates/api-server/tests/aggregator_test.rs:100
Functionbuild_proxy_headers_handles_user_without_groups_or_extras
()
crates/api-server/tests/aggregator_test.rs:171
Functionbuild_query
(label_selector: Option<&str>, field_selector: Option<&str>)
crates/kubectl/tests/command_tests.rs:450
Functionbuild_query_params
(stdin: bool, stdout: bool, stderr: bool, tty: bool)
crates/kubectl/tests/exec_attach_portforward_tests.rs:69
Functioncalculate_poll_interval
(timeout: Duration)
crates/kubectl/tests/wait_tests.rs:243
Functioncan_be_deleted
Check if a resource can be deleted (no finalizers)
crates/common/src/deletion.rs:227
Methodcascade_delete_namespace
( &self, namespace: &ResourceInfo, all_resources: &[ResourceInfo], )
crates/controller-manager/src/controllers/garbage_collector.rs:736
Functioncascade_delete_namespace_resources
( storage: &rusternetes_storage::StorageBackend, namespace: &str, )
crates/api-server/src/handlers/namespace.rs:408
FunctioncheckClusterHealth
( cluster: ClusterInfo, )
console/src/engine/fleet.ts:78
Functioncheck_iptables
()
crates/kube-proxy/src/lib.rs:171
Methodcheck_network
Check network configuration for a container (CHECK operation)
crates/kubelet/src/cni/runtime.rs:183
Methodcleanup_service
(&self, namespace: &str, name: &str)
crates/controller-manager/src/controllers/loadbalancer.rs:382
Functioncleanup_test_data
Clean up all test data from etcd
tests/common/etcd_helper.rs:16
FunctionclusterApiBase
(clusterId?: string)
console/src/engine/fleet.ts:69
Methodcluster_role
(name: impl Into<String>)
crates/common/src/resources/rbac.rs:287
Methodcompute_pod_template_hash
Generate a deterministic pod-template-hash from the pod template spec. Uses SHA-256 via serde_json::Value normalization (sorts HashMap keys).
crates/controller-manager/src/controllers/deployment.rs:1087
Methodcompute_qos_class
Compute the QoS class for a pod based on resource requests/limits. - Guaranteed: every container has both cpu and memory limits AND requests, and the
crates/kubelet/src/kubelet.rs:3872
Methodcompute_revision
Compute a revision string from the pod template spec. This produces a deterministic hash that captures template changes. IMPORTANT: We must convert t
crates/controller-manager/src/controllers/statefulset.rs:1032
Methodcompute_template_hash
Compute template hash matching K8s's controller.ComputeHash. K8s uses FNV-32a hash of DeepHashObject of the template. We approximate this with FNV-32a
crates/controller-manager/src/controllers/daemonset.rs:1118
Functionconfigmap_strategy
()
crates/common/tests/fuzz_roundtrip_jsonproto_test.rs:432
Methodconstructor
( private apiPath: string, private options: WatchOptions, )
console/src/engine/watch.ts:29
Functioncontainer_gc_keeps_one_dead_container_for_existing_pods
()
crates/kubelet/tests/kubelet_lifecycle_test.rs:908
Functioncontainer_gc_removes_all_dead_containers_for_deleted_pods
()
crates/kubelet/tests/kubelet_lifecycle_test.rs:924
Functioncontainer_image
Look up the named container in `stored.spec.containers`. Panics if the container is missing — used in negative-path tests to prove that a rejected PAT
crates/api-server/tests/decoder_content_type_test.rs:133
Methodcontainer_port_schema
()
crates/api-server/src/protobuf.rs:2356
Methodcontainer_schema
()
crates/api-server/src/protobuf.rs:2251
Methodcontent_type
Get Content-Type header value for this patch type
crates/api-server/src/patch.rs:38
Functioncontinue_param
()
crates/api-server/src/openapi.rs:672
Functioncores_to_millicores
(cores: f64)
crates/kubectl/tests/top_tests.rs:54
Functioncreate
( State(state): State<Arc<ApiServerState>>, Extension(auth_ctx): Extension<AuthContext>, Path(name
crates/api-server/src/handlers/deployment.rs:19
Functioncreate
( State(state): State<Arc<ApiServerState>>, Extension(auth_ctx): Extension<AuthContext>, Path(name
crates/api-server/src/handlers/statefulset.rs:19
Functioncreate
( State(state): State<Arc<ApiServerState>>, Extension(auth_ctx): Extension<AuthContext>, Path(name
crates/api-server/src/handlers/poddisruptionbudget.rs:18
Functioncreate
( State(state): State<Arc<ApiServerState>>, Extension(auth_ctx): Extension<AuthContext>, Query(par
crates/api-server/src/handlers/priorityclass.rs:18
Functioncreate
( State(state): State<Arc<ApiServerState>>, Extension(auth_ctx): Extension<AuthContext>, Path(name
crates/api-server/src/handlers/configmap.rs:19
Functioncreate
( State(state): State<Arc<ApiServerState>>, Extension(auth_ctx): Extension<AuthContext>, Path(name
crates/api-server/src/handlers/cronjob.rs:18
← previousnext →1,601–1,700 of 6,481, ranked by callers