Add a test for "index.md" frontmatter and fix the repo to match (#2377)

* Add a test for "index.md" frontmatter and fix the repo to match

* Fix trailing whitespace

* Merge and add new required index.md files.

* Clarify error message action needed

* Fix up another new sample

* Fix spacing on error message
This commit is contained in:
Evan Anderson 2020-05-15 08:41:02 -07:00 committed by GitHub
parent a46f96e035
commit efa607f93e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
109 changed files with 639 additions and 385 deletions

125
_index.html Normal file
View File

@ -0,0 +1,125 @@
+++
title = "Knative"
+++
<!-- td-box--{{ $col_id }} td-box--gradient td-box--height-{{ $height }} -->
<section class="row td-box">
<div class="col-md-1 order-md-1 hidden-xs hidden-sm hidden-md"></div>
<div class="col-md-3 col-lg-1 order-xs-first order-sm-first order-md-last text-center ">
{{< icon "logo.svg" >}}
</div>
<div class="col-md-7 col-lg-8 order-xs-2 order-sm-2 order-md-2">
<h1>Welcome, Knative!</h1>
<p class="lead mt-2">Kubernetes-based platform to deploy and manage modern serverless workloads.</p>
<div class="mx-auto mt-5">
<a class="btn btn-lg btn-primary mr-3 mb-4" href="{{< relref "/docs" >}}">
Learn More <i class="fas fa-arrow-alt-circle-right ml-2"></i>
</a>
<a class="btn btn-lg btn-secondary mr-3 mb-4" href="https://github.com/knative">
View Repository <i class="fab fa-github ml-2 "></i>
</a>
</div>
</div>
</section>
<section class="row td-box td-box--0">
<div class="col">
<div class="row">
<div class="col-md-1 hidden-xs hidden-sm"></div>
<div class="col-10">
<h2>Make your developers more productive</h2>
<p>Knative components build on top of Kubernetes, abstracting away
the complex details and enabling developers to focus on what matters.
Built by codifying the best practices shared by successful real-world
implementations, Knative solves the "boring but difficult" parts of
deploying and managing cloud native services so you don't have to.
</p>
<div>&nbsp;</div>
<h3>Highlights</h3>
<ul class="fa-ul">
<li>
<span class="fa-li"><i class="fas fa-check"></i></span>
Focused API with higher level abstractions for common app use-cases.
</li>
<li><span class="fa-li"><i class="fas fa-check"></i></span>Stand up a scalable, secure, stateless service in seconds.</li>
<li><span class="fa-li"><i class="fas fa-check"></i></span>Loosely coupled features let you use the pieces you need.</li>
<li><span class="fa-li"><i class="fas fa-check"></i></span>Pluggable components let you bring your own logging and monitoring, networking, and service mesh.</li>
<li><span class="fa-li"><i class="fas fa-check"></i></span>Knative is portable: run it anywhere Kubernetes runs, never worry about vendor lock-in.</li>
<li><span class="fa-li"><i class="fas fa-check"></i></span>Idiomatic developer experience, supporting common patterns such as
GitOps, DockerOps, ManualOps.
</li>
<li><span class="fa-li"><i class="fas fa-check"></i></span>Knative can be used with common tools and
frameworks such as Django, Ruby on Rails, Spring, and many more.
</li>
</ul>
<div>&nbsp;</div>
</div>
</div>
</div>
</section>
<section class="row td-box td-box--1">
<div class="col">
<div class="row">
<div class="col-12 ">
<h3 class="d-flex justify-content-center">Knative Features</h3>
<br>
</div>
</div>
<div class="row justify-content-center">
<div class="col-sm-12 col-md-6 col-lg-4">
<div class="d-flex justify-content-center"><h4>Serving</h4></div>
<p>Run serverless containers on Kubernetes with ease, Knative takes care of the details of networking, autoscaling (even to zero), and revision tracking. You just have to focus on your core logic.</p>
</div>
<div class="col-sm-12 col-md-6 col-lg-4">
<div class="d-flex justify-content-center"><h4>Eventing</h4></div>
<p>Universal subscription, delivery, and management of events. Build
modern apps by attaching compute to a data stream with declarative event
connectivity and developer-friendly object model. </p>
</div>
</div>
</div>
</section>
<section class="row td-box td-box--2">
<div class="col">
<div class="row justify-content-center">
<div class="col-sm-12 col-md-4 col-lg-3 text-center">
<div class="mb-4 h1 text-white">
<i class="fab fa-slack"></i>
</div>
<h4 >Talk to us on Slack</h4>
<p>
<a class="text-white" href="https://slack.knative.dev/">
<button type="button" class="btn btn-secondary" style="width:150px; margin-top: 12px;">Talk</button>
</a>
</p>
<p>Interested in learning more, speaking to other contributors, or finding answers?</p>
</div>
<div class="col-sm-12 col-md-4 col-lg-3 text-center">
<div class="mb-4 h1">
<i class="fab fa-github"></i>
</div>
<h4>Contributions welcome</h4>
<p><a href="./contributing/">
<button type="button" class="btn btn-secondary" style="width:150px; margin-top: 12px;">Contribute</button>
</a>
</p>
<p>Want to join the fun on Github? New users are always welcome!</p>
</div>
<div class="col-sm-12 col-md-4 col-lg-3 text-center">
<div class="mb-4 h1">
<i class="fab fa-twitter"></i>
</div>
<h4>Follow us on Twitter</h4>
<p><a href="https://twitter.com/KnativeProject">
<button type="button" class="btn btn-secondary" style="width:150px; margin-top: 12px;">Follow</button>
</a>
</p>
<p>For features announcements, interesting Knative news, and other great things.</p>
</div>
</div>
</div>
</section>

View File

@ -1,10 +1,3 @@
---
title: "Hello World - Clojure"
linkTitle: "Clojure"
weight: 1
type: "docs"
---
A simple web app written in Clojure that you can use for testing. It reads in an
env variable `TARGET` and prints "Hello \${TARGET}!". If TARGET is not
specified, it will use "World" as the TARGET.

View File

@ -0,0 +1,8 @@
---
title: "Hello World - Clojure"
linkTitle: "Clojure"
weight: 1
type: "docs"
---
{{% readfile file="README.md" %}}

View File

@ -1,10 +1,3 @@
---
title: "Hello World - Dart"
linkTitle: "Dart"
weight: 1
type: "docs"
---
A simple web app written in the [Dart](https://www.dart.dev) programming language
that you can use for testing. It reads in the env variable `TARGET` and prints
`"Hello $TARGET"`. If `TARGET` is not specified, it will use `"World"` as

View File

@ -0,0 +1,8 @@
---
title: "Hello World - Dart"
linkTitle: "Dart"
weight: 1
type: "docs"
---
{{% readfile file="README.md" %}}

View File

@ -1,10 +1,3 @@
---
title: "Hello World - Deno"
linkTitle: "Deno"
weight: 1
type: "docs"
---
A simple web app written in Deno.
Follow the steps below to create the sample code and then deploy the app to your

View File

@ -0,0 +1,8 @@
---
title: "Hello World - Deno"
linkTitle: "Deno"
weight: 1
type: "docs"
---
{{% readfile file="README.md" %}}

View File

@ -1,10 +1,3 @@
---
title: "Hello World - Elixir"
linkTitle: "Elixir"
weight: 1
type: "docs"
---
A simple web application written in [Elixir](https://elixir-lang.org/) using the
[Phoenix Framework](https://phoenixframework.org/). The application prints all
environment variables to the main page.

View File

@ -0,0 +1,8 @@
---
title: "Hello World - Elixir"
linkTitle: "Elixir"
weight: 1
type: "docs"
---
{{% readfile file="README.md" %}}

View File

@ -1,10 +1,3 @@
---
title: "Hello World - Haskell"
linkTitle: "Haskell"
weight: 1
type: "docs"
---
A simple web app written in Haskell that you can use for testing. It reads in an
env variable `TARGET` and prints "Hello \${TARGET}!". If TARGET is not
specified, it will use "World" as the TARGET.

View File

@ -0,0 +1,8 @@
---
title: "Hello World - Haskell"
linkTitle: "Haskell"
weight: 1
type: "docs"
---
{{% readfile file="README.md" %}}

View File

@ -1,10 +1,3 @@
---
title: "Hello World - Java (Micronaut)"
linkTitle: "Java (Micronaut)"
weight: 1
type: "docs"
---
Learn how to deploy a simple web app that is written in Java and uses Micronaut.
This samples uses Docker to build locally. The app reads in a `TARGET` env

View File

@ -0,0 +1,8 @@
---
title: "Hello World - Java (Micronaut)"
linkTitle: "Java (Micronaut)"
weight: 1
type: "docs"
---
{{% readfile file="README.md" %}}

View File

@ -1,10 +1,3 @@
---
title: "Hello World - Java (Quarkus)"
linkTitle: "Java (Quarkus)"
weight: 1
type: "docs"
---
A simple [JAX-RS REST API](https://github.com/jax-rs) application that is
written in Java and uses [Quarkus](https://quarkus.io/).

View File

@ -0,0 +1,8 @@
---
title: "Hello World - Java (Quarkus)"
linkTitle: "Java (Quarkus)"
weight: 1
type: "docs"
---
{{% readfile file="README.md" %}}

View File

@ -1,10 +1,3 @@
---
title: "Hello World - R"
linkTitle: "R"
weight: 1
type: "docs"
---
A simple web app that executes an R script. The R script reads an env
variable `TARGET` and prints `Hello ${TARGET}!`. If the `TARGET` environment
variable is not specified, the script uses `World`.

View File

@ -0,0 +1,8 @@
---
title: "Hello World - R"
linkTitle: "R"
weight: 1
type: "docs"
---
{{% readfile file="README.md" %}}

View File

@ -1,10 +1,3 @@
---
title: "Hello World - R server"
linkTitle: "R server"
weight: 1
type: "docs"
---
A simple web app created with R package, [plumber](https://www.rplumber.io).
plumber creates a REST API by adding annotations to your R code. The R script
reads an environment variable `TARGET` and prints `Hello ${TARGET}!`. If the

View File

@ -0,0 +1,8 @@
---
title: "Hello World - R server"
linkTitle: "R server"
weight: 1
type: "docs"
---
{{% readfile file="README.md" %}}

View File

@ -1,10 +1,3 @@
---
title: "Hello World - Rust"
linkTitle: "Rust"
weight: 1
type: "docs"
---
A simple web app written in Rust that you can use for testing. It reads in an
env variable `TARGET` and prints "Hello \${TARGET}!". If

View File

@ -0,0 +1,8 @@
---
title: "Hello World - Rust"
linkTitle: "Rust"
weight: 1
type: "docs"
---
{{% readfile file="README.md" %}}

View File

@ -1,10 +1,3 @@
---
title: "Hello World - Swift"
linkTitle: "Swift"
weight: 1
type: "docs"
---
A simple web app written in Swift that you can use for testing. The app reads in
an env variable `TARGET` and prints "Hello \${TARGET}!". If TARGET is not
specified, the app uses "World" as the TARGET.

View File

@ -0,0 +1,8 @@
---
title: "Hello World - Swift"
linkTitle: "Swift"
weight: 1
type: "docs"
---
{{% readfile file="README.md" %}}

View File

@ -1,10 +1,3 @@
---
title: "Hello World - Eclipse Vert.x"
linkTitle: "Eclipse Vert.x"
weight: 1
type: "docs"
---
Learn how to deploy a simple web app that is written in Java and uses Eclipse
Vert.x. This samples uses Docker to build locally. The app reads in a `TARGET`
env variable and then prints "Hello World: \${TARGET}!". If a value for `TARGET`

View File

@ -0,0 +1,8 @@
---
title: "Hello World - Eclipse Vert.x"
linkTitle: "Eclipse Vert.x"
weight: 1
type: "docs"
---
{{% readfile file="README.md" %}}

View File

@ -1,10 +1,3 @@
---
title: "Hello World - Python BentoML"
linkTitle: "Python Bentoml"
weight: 1
type: "docs"
---
A simple machine learning model with API serving that is written in python and
using [BentoML](https://github.com/bentoml/BentoML). BentoML is an open source
framework for high performance ML model serving, which supports all major machine

View File

@ -0,0 +1,8 @@
---
title: "Hello World - Python BentoML"
linkTitle: "Python Bentoml"
weight: 1
type: "docs"
---
{{% readfile file="README.md" %}}

View File

@ -1,10 +1,3 @@
---
title: "Debugging Knative Eventing"
linkTitle: "Debugging"
weight: 80
type: "docs"
---
This is an evolving document on how to debug a non-working Knative Eventing
setup.

View File

@ -0,0 +1,8 @@
---
title: "Debugging Knative Eventing"
linkTitle: "Debugging"
weight: 80
type: "docs"
---
{{% readfile file="README.md" %}}

View File

@ -1,10 +1,3 @@
---
title: "Apache Camel source"
linkTitle: "Camel source"
weight: 5
type: "docs"
---
These samples show how to configure Camel Sources. These event sources are highly dynamic and allow you to
generate events from a variety of systems (cloud platforms, social networks, datastores, message brokers, legacy systems, etc.),
leveraging all the [300+ components provided by Apache Camel](https://camel.apache.org/components/latest/).

View File

@ -0,0 +1,8 @@
---
title: "Apache Camel source"
linkTitle: "Camel source"
weight: 5
type: "docs"
---
{{% readfile file="README.md" %}}

View File

@ -1,8 +1 @@
---
title: "CloudAuditLogsSource"
linkTitle: "CloudAuditLogsSource"
weight: 20
type: "docs"
---
Please refer to the [example](https://github.com/google/knative-gcp/blob/master/docs/examples/cloudauditlogssource/README.md) in knative-gcp.

View File

@ -0,0 +1,8 @@
---
title: "CloudAuditLogsSource"
linkTitle: "CloudAuditLogsSource"
weight: 20
type: "docs"
---
{{% readfile file="README.md" %}}

View File

@ -1,10 +1 @@
---
title: "CloudPubSubSource"
linkTitle: "CloudPubSubSource"
weight: 20
type: "docs"
aliases:
- /docs/eventing/samples/gcp-pubsub-source/README.md
---
Please refer to the [example](https://github.com/google/knative-gcp/blob/master/docs/examples/cloudpubsubsource/README.md) in knative-gcp.

View File

@ -0,0 +1,10 @@
---
title: "CloudPubSubSource"
linkTitle: "CloudPubSubSource"
weight: 20
type: "docs"
aliases:
- /docs/eventing/samples/gcp-pubsub-source/README.md
---
{{% readfile file="README.md" %}}

View File

@ -1,8 +1 @@
---
title: "CloudSchedulerSource"
linkTitle: "CloudSchedulerSource"
weight: 20
type: "docs"
---
Please refer to the [example](https://github.com/google/knative-gcp/blob/master/docs/examples/cloudschedulersource/README.md) in knative-gcp.

View File

@ -0,0 +1,8 @@
---
title: "CloudSchedulerSource"
linkTitle: "CloudSchedulerSource"
weight: 20
type: "docs"
---
{{% readfile file="README.md" %}}

View File

@ -1,8 +1 @@
---
title: "CloudStorageSource"
linkTitle: "CloudStorageSource"
weight: 20
type: "docs"
---
Please refer to the [example](https://github.com/google/knative-gcp/blob/master/docs/examples/cloudstoragesource/README.md) in knative-gcp.

View File

@ -0,0 +1,8 @@
---
title: "CloudStorageSource"
linkTitle: "CloudStorageSource"
weight: 20
type: "docs"
---
{{% readfile file="README.md" %}}

View File

@ -1,10 +1,3 @@
---
title: "Container Source Example"
linkTitle: "Container source"
weight: 10
type: "docs"
---
ContainerSource will start a container image which will generate events under
certain situations and send messages to a sink URI. It also can be an easy way
to support your own event sources in Knative. This guide shows how to configure

View File

@ -0,0 +1,8 @@
---
title: "Container Source Example"
linkTitle: "Container source"
weight: 10
type: "docs"
---
{{% readfile file="README.md" %}}

View File

@ -1,10 +1,3 @@
---
title: "GitHub source"
linkTitle: "GitHub source"
weight: 30
type: "docs"
---
GitHub Source example shows how to wire GitHub events for consumption
by a Knative Service.

View File

@ -0,0 +1,8 @@
---
title: "GitHub source"
linkTitle: "GitHub source"
weight: 30
type: "docs"
---
{{% readfile file="README.md" %}}

View File

@ -1,10 +1,3 @@
---
title: "GitLab source"
linkTitle: "GitLab source"
weight: 30
type: "docs"
---
GitLab Source example shows how to wire GitLab events for consumption by a
Knative Service.

View File

@ -0,0 +1,8 @@
---
title: "GitLab source"
linkTitle: "GitLab source"
weight: 30
type: "docs"
---
{{% readfile file="README.md" %}}

View File

@ -1,10 +1,3 @@
---
title: "Binding running services to an IoT core"
linkTitle: "IoT core"
weight: 40
type: "docs"
---
This sample shows how to bind a running service to an
[IoT core](https://cloud.google.com/iot-core/) using
[GCP PubSub](https://cloud.google.com/pubsub/) as the event source. With minor

View File

@ -0,0 +1,8 @@
---
title: "Binding running services to an IoT core"
linkTitle: "IoT core"
weight: 40
type: "docs"
---
{{% readfile file="README.md" %}}

View File

@ -1,10 +1,3 @@
---
title: "Apache Kafka Channel Example"
linkTitle: "Channel Example"
weight: 20
type: "docs"
---
You can install and configure the Apache Kafka CRD (`KafkaChannel`) as the default channel configuration in Knative Eventing.
## Prerequisites

View File

@ -0,0 +1,8 @@
---
title: "Apache Kafka Channel Example"
linkTitle: "Channel Example"
weight: 20
type: "docs"
---
{{% readfile file="README.md" %}}

View File

@ -1,10 +1,3 @@
---
title: "Apache Kafka Source Example"
linkTitle: "Source Example"
weight: 20
type: "docs"
---
Tutorial on how to build and deploy a `KafkaSource` [Eventing source](../../../sources/README.md) using a Knative Serving `Service`.
## Prerequisites

View File

@ -0,0 +1,8 @@
---
title: "Apache Kafka Source Example"
linkTitle: "Source Example"
weight: 20
type: "docs"
---
{{% readfile file="README.md" %}}

View File

@ -1,10 +1,3 @@
---
title: "Kubernetes event using the API Server Source"
linkTitle: "Kubernetes event"
weight: 50
type: "docs"
---
This example shows how to wire [Kubernetes cluster events](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.17/#event-v1-core),
using the API Server Source, for consumption by a function that has been implemented as a Knative Service.

View File

@ -0,0 +1,8 @@
---
title: "Kubernetes event using the API Server Source"
linkTitle: "Kubernetes event"
weight: 50
type: "docs"
---
{{% readfile file="README.md" %}}

View File

@ -1,12 +1,3 @@
---
title: "PingSource example"
linkTitle: "PingSource"
weight: 10
type: "docs"
aliases:
- ../cronjob-source
---
This example shows how to configure PingSource as an event source for
functions.

View File

@ -0,0 +1,10 @@
---
title: "PingSource example"
linkTitle: "PingSource"
weight: 10
type: "docs"
aliases:
- ../cronjob-source
---
{{% readfile file="README.md" %}}

View File

@ -1,10 +1,3 @@
---
title: "Sequence wired to event-display"
linkTitle: "Displaying sequence output"
weight: 20
type: "docs"
---
We are going to create the following logical configuration. We create a
PingSource, feeding events to a [`Sequence`](../../../flows/sequence.md), then
taking the output of that `Sequence` and displaying the resulting output.

View File

@ -0,0 +1,8 @@
---
title: "Sequence wired to event-display"
linkTitle: "Displaying sequence output"
weight: 20
type: "docs"
---
{{% readfile file="README.md" %}}

View File

@ -1,10 +1,3 @@
---
title: "Sequence wired to another Sequence"
linkTitle: "Using Sequences in series"
weight: 20
type: "docs"
---
We are going to create the following logical configuration. We create a
PingSource, feeding events to a [`Sequence`](../../../flows/sequence.md), then
taking the output of that `Sequence` and sending it to a second `Sequence` and

View File

@ -0,0 +1,8 @@
---
title: "Sequence wired to another Sequence"
linkTitle: "Using Sequences in series"
weight: 20
type: "docs"
---
{{% readfile file="README.md" %}}

View File

@ -1,10 +1,3 @@
---
title: "Sequence terminal"
linkTitle: "Create additional events"
weight: 20
type: "docs"
---
We are going to create the following logical configuration. We create a
CronJobSource, feeding events to a [`Sequence`](../../../flows/sequence.md). Sequence
can then do either external work, or out of band create additional events.

View File

@ -0,0 +1,8 @@
---
title: "Sequence terminal"
linkTitle: "Create additional events"
weight: 20
type: "docs"
---
{{% readfile file="README.md" %}}

View File

@ -1,10 +1,3 @@
---
title: "Using Sequence with Broker and Trigger"
linkTitle: "Using with Broker and Trigger"
weight: 20
type: "docs"
---
We are going to create the following logical configuration. We create a
PingSource, feeding events into the Broker, then we create a `Filter` that
wires those events into a [`Sequence`](../../../flows/sequence.md) consisting of 3

View File

@ -0,0 +1,8 @@
---
title: "Using Sequence with Broker and Trigger"
linkTitle: "Using with Broker and Trigger"
weight: 20
type: "docs"
---
{{% readfile file="README.md" %}}

View File

@ -1,10 +1,3 @@
---
title: "Sink Binding Example"
linkTitle: "Sink Binding"
weight: 10
type: "docs"
---
A SinkBinding is responsible for linking together "addressable" Kubernetes
resources that may receive events (aka the event "sink") with Kubernetes
resources that embed a PodSpec (as `spec.template.spec`) and want to produce

View File

@ -0,0 +1,8 @@
---
title: "Sink Binding Example"
linkTitle: "Sink Binding"
weight: 10
type: "docs"
---
{{% readfile file="README.md" %}}

View File

@ -1,10 +1,3 @@
---
title: "Knative Eventing sources"
linkTitle: "Eventing sources"
weight: 20
type: "docs"
---
<!--
This is a generated file and should not be changed manually. All changes should follow the
procedure:
@ -13,7 +6,7 @@ procedure:
2. Run the generator tool:
```shell
go run eventing/sources/generator/main.go
go run docs/eventing/sources/generator/main.go
```
-->

View File

@ -1,10 +1,3 @@
---
title: "Knative Eventing sources"
linkTitle: "Eventing sources"
weight: 20
type: "docs"
---
{{ "" }}
{{- /* This will be interpreted given a yamlSources object. */ -}}
@ -18,7 +11,7 @@ procedure:
2. Run the generator tool:
```shell
go run eventing/sources/generator/main.go
go run docs/eventing/sources/generator/main.go
```
-->

View File

@ -0,0 +1,8 @@
---
title: "Knative Eventing sources"
linkTitle: "Eventing sources"
weight: 20
type: "docs"
---
{{% readfile file="README.md" %}}

View File

@ -1,10 +1,3 @@
---
title: "Autoscale Sample App - Go"
linkTitle: "Autoscaling - Go"
weight: 1
type: "docs"
---
A demonstration of the autoscaling capabilities of a Knative Serving Revision.
## Prerequisites

View File

@ -0,0 +1,8 @@
---
title: "Autoscale Sample App - Go"
linkTitle: "Autoscaling - Go"
weight: 1
type: "docs"
---
{{% readfile file="README.md" %}}

View File

@ -1,10 +1,3 @@
---
title: "Cloud Events - Go"
linkTitle: "Go"
weight: 1
type: "docs"
---
A simple web app written in Go that can receive and send Cloud Events that you
can use for testing. It supports running in two modes:

View File

@ -0,0 +1,8 @@
---
title: "Cloud Events - Go"
linkTitle: "Go"
weight: 1
type: "docs"
---
{{% readfile file="README.md" %}}

View File

@ -1,10 +1,3 @@
---
title: "GitHub webhook sample - Go"
linkTitle: "GitHub Webhook - Go"
weight: 1
type: "docs"
---
A handler written in Go that demonstrates interacting with GitHub through a
webhook.

View File

@ -0,0 +1,8 @@
---
title: "GitHub webhook sample - Go"
linkTitle: "GitHub Webhook - Go"
weight: 1
type: "docs"
---
{{% readfile file="README.md" %}}

View File

@ -1,10 +1,3 @@
---
title: "gRPC Server - Go"
#linkTitle: ""
weight: 1
type: "docs"
---
A [gRPC](https://grpc.io) server written in Go.
This sample can be used to try out gRPC, HTTP/2, and custom port configuration

View File

@ -0,0 +1,8 @@
---
title: "gRPC Server - Go"
#linkTitle: ""
weight: 1
type: "docs"
---
{{% readfile file="README.md" %}}

View File

@ -1,10 +1,3 @@
---
title: "Hello world - .NET Core"
linkTitle: ".NET"
weight: 1
type: "docs"
---
A simple web app written in C# using .NET Core 3.1 that you can use for testing.
It reads in an env variable `TARGET` and prints "Hello \${TARGET}!". If TARGET
is not specified, it will use "World" as the TARGET.
@ -192,4 +185,4 @@ To remove the sample app from your cluster, delete the service record:
```shell
kubectl delete --filename service.yaml
```
```

View File

@ -0,0 +1,8 @@
---
title: "Hello world - .NET Core"
linkTitle: ".NET"
weight: 1
type: "docs"
---
{{% readfile file="README.md" %}}

View File

@ -1,10 +1,3 @@
---
title: "Hello World - Go"
linkTitle: "Go"
weight: 1
type: "docs"
---
A simple web app written in Go that you can use for testing. It reads in an env
variable `TARGET` and prints `Hello ${TARGET}!`. If `TARGET` is not specified,
it will use `World` as the `TARGET`.

View File

@ -0,0 +1,8 @@
---
title: "Hello World - Go"
linkTitle: "Go"
weight: 1
type: "docs"
---
{{% readfile file="README.md" %}}

View File

@ -1,10 +1,3 @@
---
title: "Hello World - Spark Java Framework"
linkTitle: "Java (Spark)"
weight: 1
type: "docs"
---
A simple web app written in Java using Spark Java Framework that you can use for
testing.

View File

@ -0,0 +1,8 @@
---
title: "Hello World - Spark Java Framework"
linkTitle: "Java (Spark)"
weight: 1
type: "docs"
---
{{% readfile file="README.md" %}}

View File

@ -1,10 +1,3 @@
---
title: "Hello World - Spring Boot Java"
linkTitle: "Java (Spring)"
weight: 1
type: "docs"
---
A simple web app written in Java using Spring Boot 2.0 that you can use for
testing. It reads in an env variable `TARGET` and prints "Hello \${TARGET}!". If
TARGET is not specified, it will use "World" as the TARGET.

View File

@ -0,0 +1,8 @@
---
title: "Hello World - Spring Boot Java"
linkTitle: "Java (Spring)"
weight: 1
type: "docs"
---
{{% readfile file="README.md" %}}

View File

@ -1,10 +1,3 @@
---
title: "Hello World - Kotlin"
linkTitle: "Kotlin"
weight: 1
type: "docs"
---
A simple web app written in Kotlin using [Ktor](https://ktor.io/) that you can
use for testing. It reads in an env variable `TARGET` and prints "Hello
\${TARGET}". If TARGET is not specified, it will use "World" as the TARGET.

View File

@ -0,0 +1,8 @@
---
title: "Hello World - Kotlin"
linkTitle: "Kotlin"
weight: 1
type: "docs"
---
{{% readfile file="README.md" %}}

View File

@ -1,10 +1,3 @@
---
title: "Hello World - Node.js"
linkTitle: "Node.js"
weight: 1
type: "docs"
---
A simple web app written in Node.js that you can use for testing. It reads in an
env variable `TARGET` and prints "Hello \${TARGET}!". If TARGET is not
specified, it will use "World" as the TARGET.

View File

@ -0,0 +1,8 @@
---
title: "Hello World - Node.js"
linkTitle: "Node.js"
weight: 1
type: "docs"
---
{{% readfile file="README.md" %}}

View File

@ -1,10 +1,3 @@
---
title: "Hello World - PHP"
linkTitle: "PHP"
weight: 1
type: "docs"
---
A simple web app written in PHP that you can use for testing. It reads in an env
variable `TARGET` and prints `Hello ${TARGET}!`. If `TARGET` is not specified,
it will use `World` as the `TARGET`.

View File

@ -0,0 +1,8 @@
---
title: "Hello World - PHP"
linkTitle: "PHP"
weight: 1
type: "docs"
---
{{% readfile file="README.md" %}}

View File

@ -1,10 +1,3 @@
---
title: "Hello World - Python"
linkTitle: "Python"
weight: 1
type: "docs"
---
A simple web app written in Python that you can use for testing. It reads in an
env variable `TARGET` and prints "Hello \${TARGET}!". If TARGET is not
specified, it will use "World" as the TARGET.

View File

@ -0,0 +1,8 @@
---
title: "Hello World - Python"
linkTitle: "Python"
weight: 1
type: "docs"
---
{{% readfile file="README.md" %}}

View File

@ -1,10 +1,3 @@
---
title: "Hello World - Ruby"
linkTitle: "Ruby"
weight: 1
type: "docs"
---
A simple web app written in Ruby that you can use for testing. It reads in an
env variable `TARGET` and prints "Hello \${TARGET}!". If TARGET is not
specified, it will use "World" as the TARGET.

View File

@ -0,0 +1,8 @@
---
title: "Hello World - Ruby"
linkTitle: "Ruby"
weight: 1
type: "docs"
---
{{% readfile file="README.md" %}}

View File

@ -1,10 +1,3 @@
---
title: "Hello World - Scala using Akka HTTP"
linkTitle: "Scala"
weight: 1
type: "docs"
---
A microservice which demonstrates how to get set up and running with Knative
Serving when using [Scala](https://scala-lang.org/) and [Akka](https://akka.io/)
[HTTP](https://doc.akka.io/docs/akka-http/current/). It will respond to a HTTP

View File

@ -0,0 +1,8 @@
---
title: "Hello World - Scala using Akka HTTP"
linkTitle: "Scala"
weight: 1
type: "docs"
---
{{% readfile file="README.md" %}}

View File

@ -1,10 +1,3 @@
---
title: "Hello World - Shell"
linkTitle: "Shell"
weight: 1
type: "docs"
---
A simple web app that executes a shell script. The shell script reads an env
variable `TARGET` and prints `Hello ${TARGET}!`. If the `TARGET` environment
variable is not specified, the script uses `World`.

View File

@ -0,0 +1,8 @@
---
title: "Hello World - Shell"
linkTitle: "Shell"
weight: 1
type: "docs"
---
{{% readfile file="README.md" %}}

View File

@ -1,10 +1,3 @@
---
title: "Routing across multiple Knative services - Go"
linkTitle: "Routing services - Go"
weight: 1
type: "docs"
---
This example shows how to map multiple Knative services to different paths under
a single domain name using the Istio VirtualService concept. Istio is a
general-purpose reverse proxy, therefore these directions can also be used to

View File

@ -0,0 +1,8 @@
---
title: "Routing across multiple Knative services - Go"
linkTitle: "Routing services - Go"
weight: 1
type: "docs"
---
{{% readfile file="README.md" %}}

Some files were not shown because too many files have changed in this diff Show More