knative / func

Knative Functions client API and CLI
Apache License 2.0
263 stars 135 forks source link

Samples #1741

Open nainaz opened 1 year ago

nainaz commented 1 year ago

Samples can be extremely helpful for first-time users of Knative functions so that they can

See them in action Understanding the Syntax and Structure Learning Best Practices Samples Exploring Use Cases Bootstrapping Development: Troubleshooting and Debugging

Some exmaples could be: Hello World: Basic samples that showcase the simplest form of a Knative function, one that respond for cloud event and one for http call and returns a "Hello, World!" response.

Data Processing: Samples that demonstrate how to process data using Knative functions. This can include tasks such as transforming data, aggregating information, or running calculations.

Image Processing: Examples that show how to perform image processing tasks using Knative functions. This can involve resizing images, applying filters, or extracting metadata.

Webhooks and Event-driven Workflows: Samples that illustrate how to create webhook endpoints and integrate Knative functions into event-driven workflows. These can include receiving GitHub notifications, handling HTTP events, or responding to messages from message brokers like Kafka or RabbitMQ.

Integration with External Services: Samples that demonstrate how to integrate Knative functions with external services, such as calling external APIs, interacting with databases, or sending notifications.

MetaController: Out of the box way functions can be used.

Updated Telegram demo Future: Event Streaming and Processing?

Machine Learning?

Chatbots and Voice Assistants ?

lkingland commented 1 year ago

I agree this would be quite helpful. Ideally, where would these tutorial samples live?

nainaz commented 1 year ago

could we create a different folder/repo under func? Thank you, -N

On Tue, 23 May 2023 at 09:32, Luke Kingland @.***> wrote:

I agree this would be quite helpful. Ideally, where would these tutorial samples live?

— Reply to this email directly, view it on GitHub https://github.com/knative/func/issues/1741#issuecomment-1559368803, or unsubscribe https://github.com/notifications/unsubscribe-auth/AISZCFFEN4XCLY7ZUK3XAYDXHS36RANCNFSM6AAAAAAYENFONA . You are receiving this because you authored the thread.Message ID: @.***>

github-actions[bot] commented 10 months ago

This issue is stale because it has been open for 90 days with no activity. It will automatically close after 30 more days of inactivity. Reopen the issue with /reopen. Mark the issue as fresh by adding the comment /remove-lifecycle stale.

aslom commented 8 months ago

That should probably be linked form main website samples docs eventually? https://knative.dev/docs/samples/

Also write knative blog(s) about it? I think only func related knative blog article is https://knative.dev/blog/articles/workflow-as-function-flow/ ?

lkingland commented 8 months ago

I'm upgrading this to an Epic, with the expectation we'll create an individual issue for all or most of the samples suggested above.

I would prefer if this could be done in lock-step with the offical Functions Manual, such that a cruise through the manual from start-to-finish would also be augmented by samples of increasing complexity.

github-actions[bot] commented 4 months ago

This issue is stale because it has been open for 90 days with no activity. It will automatically close after 30 more days of inactivity. Reopen the issue with /reopen. Mark the issue as fresh by adding the comment /remove-lifecycle stale.

lkingland commented 3 months ago

/reopen

knative-prow[bot] commented 3 months ago

@lkingland: Reopened this issue.

In response to [this](https://github.com/knative/func/issues/1741#issuecomment-2017146328): >/reopen Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.
github-actions[bot] commented 1 week ago

This issue is stale because it has been open for 90 days with no activity. It will automatically close after 30 more days of inactivity. Reopen the issue with /reopen. Mark the issue as fresh by adding the comment /remove-lifecycle stale.

gauron99 commented 1 week ago

/remove-lifecycle stale