def plugins(ctx: click.Context) -> None: """Get a list of connector plugins available in the Connect cluster.""" config = ctx.obj["config"] connect = Connect(config.connect_url) click.echo(connect.plugins())
def test_plugins() -> None: connect = Connect(connect_url="http://localhost:8083") result = connect.plugins() assert "InfluxSinkConnector" in result