Kubernetes release 1.6 resource reference docs

This commit is contained in:
Phillip Wittrock
2017-03-16 18:28:44 -07:00
parent 495e9f22b6
commit 21773e77fa
769 changed files with 119198 additions and 0 deletions
@@ -0,0 +1 @@
\foo
@@ -0,0 +1 @@
\foo
@@ -0,0 +1,7 @@
<li><a href="foo"><% // double-slash comment %>foo</li>
<li><a href="bar"><% /* C-style comment */ %>bar</li>
<li><a href="baz"><% // double-slash comment with newline
%>baz</li>
<li><a href="qux"><% var x = 'qux'; // double-slash comment @ end of line %><%= x %></li>
<li><a href="fee"><%# ERB style comment %>fee</li>
<li><a href="bah"><%= 'not a ' + '//' + ' comment' %></a></li>
@@ -0,0 +1,6 @@
<li><a href="foo">foo</li>
<li><a href="bar">bar</li>
<li><a href="baz">baz</li>
<li><a href="qux">qux</li>
<li><a href="fee">fee</li>
<li><a href="bah">not a // comment</a></li>
@@ -0,0 +1 @@
<% var a = 'foo' %><% var b = 'bar' %><%= a %>
@@ -0,0 +1 @@
foo
@@ -0,0 +1 @@
<p><%= "lo" + 'ki' %>'s "wheelchair"</p>
@@ -0,0 +1 @@
<p>loki's "wheelchair"</p>
@@ -0,0 +1,5 @@
<ul>
<% if (users) { %>
<p>Has users</p>
<% } %>
</ul>
@@ -0,0 +1,8 @@
ReferenceError: error.ejs:2
1| <ul>
>> 2| <% if (users) { %>
3| <p>Has users</p>
4| <% } %>
5| </ul>
users is not defined
@@ -0,0 +1 @@
<% function foo() return 'foo'; %>
@@ -0,0 +1 @@
<p>Hello world!</p>
@@ -0,0 +1,5 @@
<ul>
<@ pets.forEach(function(pet){ @>
<@- include(path.join(dir, 'pet'), {pet: pet}); @>
<@ }); @>
</ul>
@@ -0,0 +1 @@
<@- include('/include'); @>
@@ -0,0 +1,3 @@
<ul>
<%- include('hello-world'); %>
</ul>
@@ -0,0 +1,4 @@
<ul>
<p>Hello world!</p>
</ul>
@@ -0,0 +1 @@
<style><%- include('style.css', {value: 'bar'}); %></style>
@@ -0,0 +1,4 @@
<style>body {
foo: 'bar';
}
</style>
@@ -0,0 +1,5 @@
<ul>
<@ pets.forEach(function(pet){ @>
<@- include('pet', {pet: pet}); @>
<@ }); @>
</ul>
@@ -0,0 +1,12 @@
<ul>
<li>geddy</li>
<li>neil</li>
<li>alex</li>
</ul>
@@ -0,0 +1 @@
<%- include('../tmp/include') %>
@@ -0,0 +1 @@
<p>Old</p>
@@ -0,0 +1 @@
<style><% var value = 'bar' %><% include style.css %></style>
@@ -0,0 +1,4 @@
<style>body {
foo: 'bar';
}
</style>
@@ -0,0 +1,5 @@
<ul>
<@ pets.forEach(function(pet){ @>
<@ include pet @>
<@ }) @>
</ul>
@@ -0,0 +1,12 @@
<ul>
<li>geddy</li>
<li>neil</li>
<li>alex</li>
</ul>
@@ -0,0 +1 @@
<%- include ../tmp/include_preprocessor %>
@@ -0,0 +1 @@
<p>Old</p>
@@ -0,0 +1 @@
<% include include_preprocessor_line_slurp_child %>
@@ -0,0 +1,5 @@
<div>
12
3
45
</div>
@@ -0,0 +1,5 @@
<div>
1 <%_ if (true) { _%> 2
3
4 <%_ } _%> 5
</div>
@@ -0,0 +1 @@
<p>This is a file with BOM.</p>
@@ -0,0 +1 @@
<li><% include menu/item %></li>
@@ -0,0 +1 @@
<a href="/<%= url %>"><%= title %></a>
@@ -0,0 +1,3 @@
<pre>There should be a space followed by a less-than sign and then two more
spaces in the next line:
< .</pre>
@@ -0,0 +1,3 @@
<pre>There should be a space followed by a less-than sign and then two more
spaces in the next line:
< .</pre>
+15
View File
@@ -0,0 +1,15 @@
<%- include('includes/menu-item', {
url: '/foo'
, title: 'Foo'
}); -%>
<%- include('includes/menu-item', {
url: '/bar'
, title: 'Bar'
}); -%>
<%- include('includes/menu-item', {
url: '/baz'
, title: 'Baz'
}); -%>
@@ -0,0 +1,9 @@
<li><a href="//foo">Foo</a>
</li>
<li><a href="//bar">Bar</a>
</li>
<li><a href="//baz">Baz</a>
</li>
@@ -0,0 +1,11 @@
<% var url = '/foo' -%>
<% var title = 'Foo' -%>
<% include includes/menu-item -%>
<% var url = '/bar' -%>
<% var title = 'Bar' -%>
<% include includes/menu-item -%>
<% var url = '/baz' -%>
<% var title = 'Baz' -%>
<% include includes/menu-item -%>
@@ -0,0 +1,8 @@
<li><a href="//foo">Foo</a>
</li>
<li><a href="//bar">Bar</a>
</li>
<li><a href="//baz">Baz</a>
</li>
@@ -0,0 +1,15 @@
<%- include(varPath, {
url: '/foo'
, title: 'Foo'
}); -%>
<%- include(varPath, {
url: '/bar'
, title: 'Bar'
}); -%>
<%- include(varPath, {
url: '/baz'
, title: 'Baz'
}); -%>
@@ -0,0 +1 @@
<ul><%users.forEach(function(user){%><li><%=user.name%></li><%})%></ul>
@@ -0,0 +1 @@
<ul><li>geddy</li><li>neil</li><li>alex</li></ul>
@@ -0,0 +1,5 @@
<ul>
<% users.forEach(function(user){ %>
<li><%= user.name %></li>
<% }) %>
</ul>
@@ -0,0 +1,9 @@
<ul>
<li>geddy</li>
<li>neil</li>
<li>alex</li>
</ul>
@@ -0,0 +1,6 @@
<ul>
<% var unused1 = 'blah' -%>
<% var unused2 = 'bleh' %>
<% var unused3 = 'bloh' -%>
<% var unused4 = 'bluh' %>
</ul>
@@ -0,0 +1,4 @@
<ul>
</ul>
@@ -0,0 +1,5 @@
<ul>
<% users.forEach(function(user){ -%>
<li><%= user.name %></li>
<% }) -%>
</ul>
@@ -0,0 +1,5 @@
AAA
<% var data = "test"; -%>
BBB
<%= qdata %>
CCC
@@ -0,0 +1,5 @@
<ul>
<li>geddy</li>
<li>neil</li>
<li>alex</li>
</ul>
@@ -0,0 +1,8 @@
This document does not use semicolons in scriptlets.
<%
var a = 'b'
var b = 'c'
var c
c = b
%>
The value of c is: <%= c %>
@@ -0,0 +1,3 @@
This document does not use semicolons in scriptlets.
The value of c is: c
@@ -0,0 +1 @@
<p>hey</p>
+1
View File
@@ -0,0 +1 @@
<li><@= pet.name @></li>
@@ -0,0 +1,14 @@
<tag1>
<tag2>
A very long piece of text very long piece of text very long piece of
text very long piece <% var f = 'f' %>of text very long piece of
tex
t very long piece of<% %>text very long
adsffadsfadsfad<%= f %>
piece of text.
<% var a = 'a' %>
Text again.
<% var b = 'b' %>
<% var c = 'c'
var d = 'd' %>
@@ -0,0 +1,8 @@
<tag1>
<tag2>
A very long piece of text very long piece of text very long piece of
text very long piece of text very long piece of
text very long piece oftext very long
adsffadsfadsfadfpiece of text.
Text again.
Another text. c
@@ -0,0 +1 @@
<p><%= 'loki' %>'s wheelchair</p>
@@ -0,0 +1 @@
<p>loki's wheelchair</p>
@@ -0,0 +1,5 @@
<ul>
<%_ users.forEach(function(user){ _%>
<li><%= user.name %></li>
<%_ }) _%>
</ul>
@@ -0,0 +1,5 @@
<ul>
<li>geddy</li>
<li>neil</li>
<li>alex</li>
</ul>
@@ -0,0 +1,5 @@
<%
// Unspecified execution context should be `undefined` in strict mode
var isReallyStrict = !((function () { return this; })())
-%>
<%= isReallyStrict -%>
@@ -0,0 +1,3 @@
body {
foo: '<%= value %>';
}
@@ -0,0 +1 @@
<h1><$= locals.name $></h1>
@@ -0,0 +1 @@
<h1><$= name $></h1>
@@ -0,0 +1 @@
<%= this.foo %>