Directories
¶
| Path | Synopsis |
|---|---|
|
api
|
|
|
cmd/api
command
|
|
|
pkg/client/dps
Package dps provides the narrow client contract used by the REST API to associate allocated machines with DPS resource groups and power policies.
|
Package dps provides the narrow client contract used by the REST API to associate allocated machines with DPS resource groups and power policies. |
|
auth
|
|
|
pkg/testing
Package testing provides shared constants and utilities for cloud-auth tests
|
Package testing provides shared constants and utilities for cloud-auth tests |
|
cert-manager
|
|
|
cmd/credsmgr
command
Package main is the command entry point
|
Package main is the command entry point |
|
pkg/certs
Package certs implements certificate management
|
Package certs implements certificate management |
|
pkg/core
Package core implements some core utilities
|
Package core implements some core utilities |
|
pkg/pki
Package pki provides certificate authority and PKI operations
|
Package pki provides certificate authority and PKI operations |
|
pkg/types
Package types defines shared types for cert-manager
|
Package types defines shared types for cert-manager |
|
cli
|
|
|
cmd/cli
command
|
|
|
common
|
|
|
pkg/expectedmachine
Package expectedmachine verifies batch creation results for the REST API and inventory recovery.
|
Package expectedmachine verifies batch creation results for the REST API and inventory recovery. |
|
pkg/grpcproxy
Package grpcproxy holds the contract shared between the cloud REST API and the on-site agent for the generic gRPC proxies.
|
Package grpcproxy holds the contract shared between the cloud REST API and the on-site agent for the generic gRPC proxies. |
|
pkg/otel
Package otel provides a shared, env-driven OpenTelemetry tracing bootstrap for rest-api binaries.
|
Package otel provides a shared, env-driven OpenTelemetry tracing bootstrap for rest-api binaries. |
|
pkg/otelecho
Package otelecho provides OpenTelemetry instrumentation for Labstack Echo.
|
Package otelecho provides OpenTelemetry instrumentation for Labstack Echo. |
|
pkg/roles
Package roles defines the canonical authorization role suffix names used throughout the codebase.
|
Package roles defines the canonical authorization role suffix names used throughout the codebase. |
|
pkg/temporal
Package temporal provides Temporal client configuration shared by every binary in the repo, so all clients agree on the payload converter and all of them attach the OpenTelemetry tracing interceptor consistently.
|
Package temporal provides Temporal client configuration shared by every binary in the repo, so all clients agree on the payload converter and all of them attach the OpenTelemetry tracing interceptor consistently. |
|
pkg/vpcprefix
Package vpcprefix defines the allocation limits shared by the REST API and nicocli when they create a VPC Prefix.
|
Package vpcprefix defines the allocation limits shared by the REST API and nicocli when they create a VPC Prefix. |
|
db
|
|
|
cmd/migrations
command
|
|
|
cmd
Package cmd implements the flow CLI commands using Cobra.
|
Package cmd implements the flow CLI commands using Cobra. |
|
internal/alert
Package alert provides an abstraction for sending alerts/notifications from Flow workflows and activities.
|
Package alert provides an abstraction for sending alerts/notifications from Flow workflows and activities. |
|
internal/authz
Package authz authorizes direct callers of the Flow gRPC service using the workload identity authenticated by mTLS.
|
Package authz authorizes direct callers of the Flow gRPC service using the workload identity authenticated by mTLS. |
|
internal/certs
Package certs provides TLS configuration resolution using deployment-specific defaults: the CERTDIR environment variable and the Kubernetes SPIFFE secret path.
|
Package certs provides TLS configuration resolution using deployment-specific defaults: the CERTDIR environment variable and the Kubernetes SPIFFE secret path. |
|
internal/common/grpclog
Package grpclog provides zerolog-based unary interceptors for the Flow gRPC server and clients.
|
Package grpclog provides zerolog-based unary interceptors for the Flow gRPC server and clients. |
|
internal/common/grpcrecovery
Package grpcrecovery contains gRPC server interceptors that isolate panics to the request in which they occur.
|
Package grpcrecovery contains gRPC server interceptors that isolate panics to the request in which they occur. |
|
internal/eventrule
Package eventrule defines the in-memory domain contracts for policy-driven event handling.
|
Package eventrule defines the in-memory domain contracts for policy-driven event handling. |
|
internal/eventrule/codec
Package codec encodes and decodes versioned event-rule persistence formats.
|
Package codec encodes and decodes versioned event-rule persistence formats. |
|
internal/eventrule/executor
Package executor defines the action-execution boundary used by event workers and the future retry scheduler.
|
Package executor defines the action-execution boundary used by event workers and the future retry scheduler. |
|
internal/eventrule/ingestion
Package ingestion registers event sources and delivers their normalized envelopes through the event-rule sink.
|
Package ingestion registers event sources and delivers their normalized envelopes through the event-rule sink. |
|
internal/eventrule/leakage/detector
Package detector translates NICo leakage polling results into event-rule envelopes.
|
Package detector translates NICo leakage polling results into event-rule envelopes. |
|
internal/eventrule/manager
Package manager owns event-rule management and event processing.
|
Package manager owns event-rule management and event processing. |
|
internal/eventrule/processor
Package processor prepares and processes event-rule envelopes.
|
Package processor prepares and processes event-rule envelopes. |
|
internal/eventrule/scheduler
Package scheduler owns initial and deferred event-rule execution attempts.
|
Package scheduler owns initial and deferred event-rule execution attempts. |
|
internal/eventrule/store/memory
Package memory implements event-rule stores in memory.
|
Package memory implements event-rule stores in memory. |
|
internal/eventrule/store/postgres
Package postgres persists event rules, durable events, and executions in PostgreSQL.
|
Package postgres persists event rules, durable events, and executions in PostgreSQL. |
|
internal/eventrule/store/storetest
Package storetest contains reusable event-rule store contract tests.
|
Package storetest contains reusable event-rule store contract tests. |
|
internal/eventrule/target
Package target resolves event-rule task strategies into canonical action targets.
|
Package target resolves event-rule task strategies into canonical action targets. |
|
internal/firmwareauth
Package firmwareauth protects and selects authentication data used for firmware downloads.
|
Package firmwareauth protects and selects authentication data used for firmware downloads. |
|
internal/inventory/manager
Package manager provides the business logic layer for inventory management.
|
Package manager provides the business logic layer for inventory management. |
|
internal/inventory/resolver
Package resolver normalizes inventory resource references into canonical Flow inventory objects.
|
Package resolver normalizes inventory resource references into canonical Flow inventory objects. |
|
internal/inventory/store
Package store provides the storage layer for inventory management.
|
Package store provides the storage layer for inventory management. |
|
internal/metrics
Package metrics provides Prometheus instrumentation for the Flow service.
|
Package metrics provides Prometheus instrumentation for the Flow service. |
|
internal/operationrun
Package operationrun defines the domain model and normalization helpers for operation runs.
|
Package operationrun defines the domain model and normalization helpers for operation runs. |
|
internal/operationrun/manager
Package manager coordinates operation-run creation, planning, persistence, and future dispatching.
|
Package manager coordinates operation-run creation, planning, persistence, and future dispatching. |
|
internal/operationrun/manager/dispatcher
Package dispatcher advances operation runs by reconciling child task state and submitting runnable rack targets.
|
Package dispatcher advances operation runs by reconciling child task state and submitting runnable rack targets. |
|
internal/operationrun/manager/planner
Package planner builds deterministic operation-run rows from resolved rack execution targets and run configuration.
|
Package planner builds deterministic operation-run rows from resolved rack execution targets and run configuration. |
|
internal/operationrun/manager/store
Package store persists operation runs and their materialized rack targets.
|
Package store persists operation runs and their materialized rack targets. |
|
internal/rule
Package rule contains the shared rule envelope used by Flow rule families.
|
Package rule contains the shared rule envelope used by Flow rule families. |
|
internal/scheduler/jobs/inventorysync
Package inventorysync reconciles Flow's rack / component / BMC / drift tables against Core every cycle: syncExpectedFromCore mirrors Core's expected inventory, while runActualSync detects drift and projects observed topology.
|
Package inventorysync reconciles Flow's rack / component / BMC / drift tables against Core every cycle: syncExpectedFromCore mirrors Core's expected inventory, while runActualSync detects drift and projects observed topology. |
|
internal/scheduler/taskschedule
Package taskschedule manages user-defined task schedules (task_schedule table).
|
Package taskschedule manages user-defined task schedules (task_schedule table). |
|
internal/secret
Package secret encrypts sensitive Flow data before it is persisted or sent through Temporal.
|
Package secret encrypts sensitive Flow data before it is persisted or sent through Temporal. |
|
internal/service
Package service implements the gRPC server for NICo Flow, the rack-level asset management system.
|
Package service implements the gRPC server for NICo Flow, the rack-level asset management system. |
|
internal/task/componentmanager
Package componentmanager defines the manager contracts used to dispatch task operations.
|
Package componentmanager defines the manager contracts used to dispatch task operations. |
|
internal/task/componentmanager/builtin
Package builtin wires the component manager extensions compiled into the Flow binary.
|
Package builtin wires the component manager extensions compiled into the Flow binary. |
|
internal/task/componentmanager/compute/common/dpureprov
Package dpureprov implements the DPU reprovisioning sequence shared by the compute/nico and compute/nicolegacy component managers.
|
Package dpureprov implements the DPU reprovisioning sequence shared by the compute/nico and compute/nicolegacy component managers. |
|
internal/task/componentmanager/compute/nico
Package nico is the compute manager implementation that drives compute trays through NICo Core's Component Manager dispatch (the same RPCs already used by nvswitch/nico and powershelf/nico):
|
Package nico is the compute manager implementation that drives compute trays through NICo Core's Component Manager dispatch (the same RPCs already used by nvswitch/nico and powershelf/nico): |
|
internal/task/componentmanager/compute/nicolegacy
Package nicolegacy is the legacy compute manager implementation that dispatches power and firmware operations through NICo Core's machine-centric RPCs (AdminPowerControl, SetFirmwareUpdateTimeWindow, etc.) instead of going through Core's Component Manager handler.
|
Package nicolegacy is the legacy compute manager implementation that dispatches power and firmware operations through NICo Core's machine-centric RPCs (AdminPowerControl, SetFirmwareUpdateTimeWindow, etc.) instead of going through Core's Component Manager handler. |
|
internal/task/componentmanager/config
Package config loads, normalizes, and validates component manager configuration, including component-manager selections, manager-specific configs, and provider/client configs.
|
Package config loads, normalizes, and validates component manager configuration, including component-manager selections, manager-specific configs, and provider/client configs. |
|
internal/task/componentmanager/providerapi
Package providerapi contains provider abstractions that must be shared between the componentmanager package and provider implementation packages without creating an import cycle.
|
Package providerapi contains provider abstractions that must be shared between the componentmanager package and provider implementation packages without creating an import cycle. |
|
internal/task/componentmanager/readiness
Package readiness provides ReadinessGate, the Flow-side guard that holds mutating component operations (power, firmware, …) until every targeted component is in a phase that permits them.
|
Package readiness provides ReadinessGate, the Flow-side guard that holds mutating component operations (power, firmware, …) until every targeted component is in a phase that permits them. |
|
internal/task/conflict
Package conflict provides data-driven task conflict detection for Flow.
|
Package conflict provides data-driven task conflict detection for Flow. |
|
internal/task/report
Package report defines the JSON document persisted in task.report and the Tracker that mutates it as a rule-based workflow advances.
|
Package report defines the JSON document persisted in task.report and the Tracker that mutates it as a rule-based workflow advances. |
|
internal/task/store
Package store provides the storage layer for task and operation rule management.
|
Package store provides the storage layer for task and operation rule management. |
|
pkg/certs
Package certs provides TLS configuration building from explicit certificate file paths.
|
Package certs provides TLS configuration building from explicit certificate file paths. |
|
pkg/client
Package client provides a gRPC client for interacting with the Flow service.
|
Package client provides a gRPC client for interacting with the Flow service. |
|
pkg/common/firmwarecomponents
Package firmwarecomponents converts the lowercase component-name strings accepted by the REST/Flow firmware-update API into the per-tray-type enum values used by each downstream component manager.
|
Package firmwarecomponents converts the lowercase component-name strings accepted by the REST/Flow firmware-update API into the per-tray-type enum values used by each downstream component manager. |
|
pkg/metadata
Package metadata contains build-time metadata for the Flow service.
|
Package metadata contains build-time metadata for the Flow service. |
|
pkg/types
Package types provides public domain types for the Flow client.
|
Package types provides public domain types for the Flow client. |
|
Package ipam is a ip address management library for ip's and prefixes (networks).
|
Package ipam is a ip address management library for ip's and prefixes (networks). |
|
cmd/client
command
|
|
|
cmd/server
command
|
|
|
mcp
|
|
|
cmd/nico-mcp
command
|
|
|
internal/server
Package server serves the NICo REST read surface as MCP tools over streamable-HTTP.
|
Package server serves the NICo REST read surface as MCP tools over streamable-HTTP. |
|
pkg/db/testutil
Package testutil provides database test utilities for integration tests.
|
Package testutil provides database test utilities for integration tests. |
|
pkg/firmwaremanager
Package firmwaremanager provides firmware update orchestration for NV-Switch trays.
|
Package firmwaremanager provides firmware update orchestration for NV-Switch trays. |
|
pkg/firmwaremanager/packages
Package packages provides firmware package definition and loading.
|
Package packages provides firmware package definition and loading. |
|
pkg/redfish
Package redfish wraps gofish to provide service-focused Redfish operations (inventory, power control, and firmware upload) for NV-Switch trays with minimal coupling to underlying transport details.
|
Package redfish wraps gofish to provide service-focused Redfish operations (inventory, power control, and firmware upload) for NV-Switch trays with minimal coupling to underlying transport details. |
|
pkg/sshclient
Package sshclient provides SSH-based operations for NV-Switch NVOS management.
|
Package sshclient provides SSH-based operations for NV-Switch NVOS management. |
|
Package openapi embeds the OpenAPI spec so it can be imported by other packages without requiring a build-time copy step.
|
Package openapi embeds the OpenAPI spec so it can be imported by other packages without requiring a build-time copy step. |
|
pkg/common/vendor
* SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES.
|
* SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. |
|
pkg/redfish
Package redfish wraps gofish to provide service-focused Redfish operations (inventory, power control, and firmware upload) with minimal coupling to underlying transport details.
|
Package redfish wraps gofish to provide service-focused Redfish operations (inventory, power control, and firmware upload) with minimal coupling to underlying transport details. |
|
proto
|
|
|
cmd/core-proto-fmt
command
|
|
|
sdk
|
|
|
simple/examples/expectedmachine
command
|
|
|
simple/examples/instance
command
|
|
|
simple/examples/instance/create
command
|
|
|
simple/examples/ipblock
command
|
|
|
simple/examples/machine
command
|
|
|
simple/examples/vpc
command
|
|
|
simple/examples/vpc/manage
command
|
|
|
standard
module
|
|
|
site-agent
|
|
|
cmd/mock-core
command
|
|
|
cmd/mock-flow
command
|
|
|
cmd/site-agent
command
|
|
|
pkg/components/managers
Package managers implements some core utilities
|
Package managers implements some core utilities |
|
site-manager
|
|
|
cmd/site-manager
command
Package main is the command entry point
|
Package main is the command entry point |
|
internal/certmanager
Package certmanager is Site Manager's client for nico-rest-cert-manager.
|
Package certmanager is Site Manager's client for nico-rest-cert-manager. |
|
internal/middleware
Package middleware holds Site Manager's Echo middleware: request logging and request metrics.
|
Package middleware holds Site Manager's Echo middleware: request logging and request metrics. |
|
internal/server
Package server builds Site Manager's Echo server and serves it over TLS.
|
Package server builds Site Manager's Echo server and serves it over TLS. |
|
pkg/api
Package api lists Site Manager's routes.
|
Package api lists Site Manager's routes. |
|
pkg/api/handler
Package handler holds Site Manager's route handlers.
|
Package handler holds Site Manager's route handlers. |
|
pkg/client/clientset/versioned/fake
This package has the automatically generated fake clientset.
|
This package has the automatically generated fake clientset. |
|
pkg/client/clientset/versioned/scheme
This package contains the scheme of the automatically generated clientset.
|
This package contains the scheme of the automatically generated clientset. |
|
pkg/client/clientset/versioned/typed/crds/v1
This package has the automatically generated typed clients.
|
This package has the automatically generated typed clients. |
|
pkg/client/clientset/versioned/typed/crds/v1/fake
Package fake has the automatically generated clients.
|
Package fake has the automatically generated clients. |
|
pkg/crds/v1
Package v1 implements crds
|
Package v1 implements crds |
|
pkg/metadata
Package metadata holds Site Manager build metadata.
|
Package metadata holds Site Manager build metadata. |
|
pkg/types
Package types defines api structure types
|
Package types defines api structure types |
|
site-workflow
|
|
|
workflow
|
|
|
cmd/workflow
command
|
|
|
internal/inventory
Package inventory holds the settings every Cloud inventory workflow shares.
|
Package inventory holds the settings every Cloud inventory workflow shares. |
|
pkg/metadata
Package metadata contains build-time metadata for the workflow service.
|
Package metadata contains build-time metadata for the workflow service. |
Click to show internal directories.
Click to hide internal directories.