summaryrefslogtreecommitdiff
path: root/generator/testdata
diff options
context:
space:
mode:
authorChristoph Blecker <admin@toph.ca>2017-07-14 10:13:35 -0700
committerGitHub <noreply@github.com>2017-07-14 10:13:35 -0700
commit789f252a71e18ad9e853bf34748d4bb53f279ba8 (patch)
treed8fe056170126288ac6679e6702e19b02e229903 /generator/testdata
parente16360fa7ac98a37db448f02c01dd2293cacae56 (diff)
parent2cb3b0f005d67869340158fde337dd8745058fa1 (diff)
Merge pull request #726 from jamiehannaford/add-tests
Add generator tests
Diffstat (limited to 'generator/testdata')
-rw-r--r--generator/testdata/custom_content.md29
-rw-r--r--generator/testdata/example.md7
-rw-r--r--generator/testdata/example.tmpl1
-rw-r--r--generator/testdata/no_custom_content.md29
-rw-r--r--generator/testdata/sigs.yaml5
5 files changed, 71 insertions, 0 deletions
diff --git a/generator/testdata/custom_content.md b/generator/testdata/custom_content.md
new file mode 100644
index 00000000..592088e3
--- /dev/null
+++ b/generator/testdata/custom_content.md
@@ -0,0 +1,29 @@
+<!---
+This is an autogenerated file!
+
+Please do not edit this file directly, but instead make changes to the
+sigs.yaml file in the project root.
+
+To understand how this file is generated, see generator/README.md.
+-->
+# Auth SIG
+
+Covers improvements to Kubernetes authorization, authentication, and cluster security policy.
+
+## Meetings
+* [Wednesdays at 18:00 UTC](https://zoom.us/my/k8s.sig.auth) (biweekly). [Convert to your timezone](http://www.thetimezoneconverter.com/?t=18:00&tz=UTC).
+
+Meeting notes and Agenda can be found [here](https://docs.google.com/document/d/1woLGRoONE3EBVx-wTb4pvp4CI7tmLZ6lS26VTbosLKM/edit#).
+
+## Leads
+* [Eric Chiang](https://github.com/ericchiang), CoreOS
+* [Jordan Liggitt](https://github.com/liggitt), Red Hat
+* [David Eads](https://github.com/deads2k), Red Hat
+
+## Contact
+* [Slack](https://kubernetes.slack.com/messages/sig-auth)
+* [Mailing list](https://groups.google.com/forum/#!forum/kubernetes-sig-auth)
+
+<!-- BEGIN CUSTOM CONTENT -->
+FOO BAR BAZ
+<!-- END CUSTOM CONTENT -->
diff --git a/generator/testdata/example.md b/generator/testdata/example.md
new file mode 100644
index 00000000..9016ae83
--- /dev/null
+++ b/generator/testdata/example.md
@@ -0,0 +1,7 @@
+Hello!
+<!-- BEGIN CUSTOM CONTENT -->
+Example
+custom
+content!
+
+<!-- END CUSTOM CONTENT -->
diff --git a/generator/testdata/example.tmpl b/generator/testdata/example.tmpl
new file mode 100644
index 00000000..287ff191
--- /dev/null
+++ b/generator/testdata/example.tmpl
@@ -0,0 +1 @@
+{{.Message}}
diff --git a/generator/testdata/no_custom_content.md b/generator/testdata/no_custom_content.md
new file mode 100644
index 00000000..34299789
--- /dev/null
+++ b/generator/testdata/no_custom_content.md
@@ -0,0 +1,29 @@
+<!---
+This is an autogenerated file!
+
+Please do not edit this file directly, but instead make changes to the
+sigs.yaml file in the project root.
+
+To understand how this file is generated, see generator/README.md.
+-->
+# Auth SIG
+
+Covers improvements to Kubernetes authorization, authentication, and cluster security policy.
+
+## Meetings
+* [Wednesdays at 18:00 UTC](https://zoom.us/my/k8s.sig.auth) (biweekly). [Convert to your timezone](http://www.thetimezoneconverter.com/?t=18:00&tz=UTC).
+
+Meeting notes and Agenda can be found [here](https://docs.google.com/document/d/1woLGRoONE3EBVx-wTb4pvp4CI7tmLZ6lS26VTbosLKM/edit#).
+
+## Leads
+* [Eric Chiang](https://github.com/ericchiang), CoreOS
+* [Jordan Liggitt](https://github.com/liggitt), Red Hat
+* [David Eads](https://github.com/deads2k), Red Hat
+
+## Contact
+* [Slack](https://kubernetes.slack.com/messages/sig-auth)
+* [Mailing list](https://groups.google.com/forum/#!forum/kubernetes-sig-auth)
+
+<!-- BEGIN CUSTOM CONTENT -->
+
+<!-- END CUSTOM CONTENT -->
diff --git a/generator/testdata/sigs.yaml b/generator/testdata/sigs.yaml
new file mode 100644
index 00000000..a4fe858c
--- /dev/null
+++ b/generator/testdata/sigs.yaml
@@ -0,0 +1,5 @@
+sigs:
+ - name: Foo
+ - name: Bar
+workinggroups:
+ - name: Baz