Skip to content

EndpointSelector

API reference and demos for EndpointSelector.

Source

import { EndpointSelector } from "@flanksource/clicky-ui/components";
All Access Modes · Open in Storybook
Operator Modes · Open in Storybook
Compact Service Fields · Open in Storybook

The props table documents the component-specific surface. Standard DOM attributes inherited from React, such as className, event handlers, and accessibility attributes, may also be accepted when the component’s prop type extends a native element.

Prop Type Default Description
allowCustomPort boolean false —
allowCustomScheme boolean true —
allowNamespaceSelection boolean false —
className string — —
defaultMode enum — —
defaults EndpointSelectorDefaults — —
loadNamespaces (…) => Promise<string[]> — —
loadWorkloads* (…) => … — —
modeKinds Partial<Record<EndpointWorkloadMode, WorkloadKind[]>> — —
modes* EndpointMode[] — —
namespace string — —
onChange* (…) => void — —
onNamespaceChange (…) => … — —
preferredPorts readonly number[] [80, 443, 8080] as const —
schemes string[] — —
showIngressPort boolean false —
showPath boolean false —
showScheme boolean false —
urlSelector EndpointUrlSelectorProps — —
value* EndpointSelectorValue | undefined — —