Skip to content

TFPlugin6 Implementation

This internal note points contributors to the current tfplugin6 implementation surfaces in the codebase.

Main Entry Points

  • nf.core.providers.provider_protocol.ProviderProtocolClient
  • nf.core.providers.provider_resource_operations
  • nf.core.providers.provider_supplemental_operations
  • nf.core.execution.hybrid.HybridExecutionMode

What Lives Where

Core Resource Lifecycle

The resource lifecycle RPCs are handled through the provider protocol client and resource operation helpers:

  • provider configuration
  • resource validation
  • plan/apply/read
  • import and move operations

Supplemental RPCs

Additional provider capabilities live in the supplemental operations layer:

  • data sources
  • provider functions
  • metadata
  • provider config validation
  • state and identity upgrades
  • ephemeral resources
  • provider-side resource listing

Contributor Guidance

  • Prefer updating the current split modules rather than re-centralizing everything into one giant client.
  • When documenting protocol support, use the implementation and tests as the source of truth instead of fixed RPC-count claims.