Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FetchLiveKCCState ¶
func FetchLiveKCCState(ctx context.Context, c client.Client, resourceNN types.NamespacedName) (v1beta1.ConfigConnector, v1beta1.ConfigConnectorContext, error)
FetchLiveKCCState tries to fetch the ConfigConnector (CC) resource and the ConfigConnectorContext (CCC) for the resource's namespace if running in Namespaced mode. It ignores not found errors for CC fetching but errors out if KCC is running in Namespaced mode and no CCC is found for the namespace of the resource.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.