INNER CODE UNIT · Python

resume

nolar/kopf · kopf/cli.py:166

def resume(
        __controls: CLIControls,
        id: str | None,
        namespaces: Collection[references.NamespacePattern],
        clusterwide: bool,
        peering_name: str,
) -> None:
    """ Resume the resource handling in the operator(s). """
    identity = peering.Identity(id) if id else peering.detect_own_id(manual=True)
    insights = references.Insights()
    settings = configuration.OperatorSettings()
    settings.peering.name = peering_name
    with loops.proper_loop(suggested_loop=__controls.loop) as actual_loop:
        return running.run(
            clusterwide=clusterwide,
            namespaces=namespaces,
            insights=insights,
            identity=identity,

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…