Merge pull request #3232 from BenTheElder/docs

docs updates
This commit is contained in:
Kubernetes Prow Robot
2023-05-16 23:04:33 -07:00
committed by GitHub
12 changed files with 1346 additions and 107 deletions

View File

@@ -5,9 +5,7 @@
kind is a tool for running local Kubernetes clusters using Docker container "nodes".
kind was primarily designed for testing Kubernetes itself, but may be used for local development or CI.
If you have [go] \([1.17+][go-supported]) and [docker] installed `go install sigs.k8s.io/kind@v0.19.0 && kind create cluster` is all you need!
For older versions use `GO111MODULE="on" go get sigs.k8s.io/kind@v0.19.0`.
If you have [go] 1.16+ and [docker] or [podman] installed `go install sigs.k8s.io/kind@v0.19.0 && kind create cluster` is all you need!
![](site/static/images/kind-create-cluster.png)
@@ -44,7 +42,10 @@ into your `$PATH`:
On Linux:
```console
curl -Lo ./kind "https://kind.sigs.k8s.io/dl/v0.19.0/kind-$(uname)-amd64"
# For AMD64 / x86_64
[ $(uname -m) = x86_64 ] && curl -Lo ./kind https://kind.sigs.k8s.io/dl/v0.19.0/kind-$(uname)-amd64
# Form ARM64
[ $(uname -m) = aarch64 ] && curl -Lo ./kind https://kind.sigs.k8s.io/dl/v0.19.0/kind-$(uname)-arm64
chmod +x ./kind
sudo mv ./kind /usr/local/bin/kind
```
@@ -64,9 +65,9 @@ sudo port selfupdate && sudo port install kind
On macOS via Bash:
```console
# for Intel Macs
[ $(uname -m) = x86_64 ]&& curl -Lo ./kind https://kind.sigs.k8s.io/dl/v0.19.0/kind-darwin-amd64
# for M1 / ARM Macs
# For Intel Macs
[ $(uname -m) = x86_64 ] && curl -Lo ./kind https://kind.sigs.k8s.io/dl/v0.19.0/kind-darwin-amd64
# For M1 / ARM Macs
[ $(uname -m) = arm64 ] && curl -Lo ./kind https://kind.sigs.k8s.io/dl/v0.19.0/kind-darwin-arm64
chmod +x ./kind
mv ./kind /some-dir-in-your-PATH/kind
@@ -143,6 +144,7 @@ Participation in the Kubernetes community is governed by the [Kubernetes Code of
[go]: https://golang.org/
[go-supported]: https://golang.org/doc/devel/release.html#policy
[docker]: https://www.docker.com/
[podman]: https://podman.io/
[community page]: https://kubernetes.io/community/
[Kubernetes Code of Conduct]: code-of-conduct.md
[Go Report Card Badge]: https://goreportcard.com/badge/sigs.k8s.io/kind

View File

@@ -5,7 +5,7 @@ publish = "site/public/"
command = "hugo"
[build.environment]
HUGO_VERSION = "0.60.0"
HUGO_VERSION = "0.111.3"
[context.production.environment]
# this controls our robots.txt

3
site/.gitignore vendored
View File

@@ -1,2 +1,3 @@
public/*
resources/*
resources/*
.hugo_build.lock

View File

@@ -1,14 +1,37 @@
REPO_ROOT:=${CURDIR}/..
# setup go for managing hugo
PATH:=$(shell cd $(REPO_ROOT) && . hack/build/setup-go.sh && echo "$${PATH}")
# go1.9+ can autodetect GOROOT, but if some other tool sets it ...
GOROOT:=
# enable modules
GO111MODULE=on
# disable CGO by default for static binaries
CGO_ENABLED=0
export PATH GOROOT GO111MODULE CGO_ENABLED
# work around broken PATH export
SPACE:=$(subst ,, )
SHELL:=env PATH=$(subst $(SPACE),\$(SPACE),$(PATH)) $(SHELL)
# from https://github.com/kubernetes/website/blob/master/Makefile
DOCKER = docker
HUGO_VERSION = 0.60.0
DOCKER_IMAGE = jojomi/hugo:$(HUGO_VERSION)
DOCKER_RUN = $(DOCKER) run --rm --interactive --tty --volume $(realpath $(CURDIR)/..):/src -p 1313:1313 --workdir /src/site --entrypoint=hugo --platform linux/amd64 $(DOCKER_IMAGE)
serve:
$(DOCKER_RUN) server --bind="0.0.0.0" \
HUGO_BIN:=$(REPO_ROOT)/bin/hugo
$(HUGO_BIN):
go build -o $(HUGO_BIN) github.com/gohugoio/hugo
hugo: $(HUGO_BIN)
serve: hugo
$(HUGO_BIN) server --bind="0.0.0.0" \
--ignoreCache \
--buildFuture \
--disableFastRender
build:
$(DOCKER_RUN)
build: hugo
$(HUGO_BIN)
.PHONY: build serve hugo

View File

@@ -11,12 +11,13 @@ html {
margin: 0;
padding: 0;
font-size: 100%;
background-color: white;
color: black;
background-color: #326ce5;
color: white;
font-family: -apple-system, BlinkMacSystemFont, Roboto, Droid Sans, Helvetica Neue, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
}
code, pre {
code,
pre {
font-family: SFMono-Regular, Consolas, Liberation Mono, Menlo, Roboto Mono, Courier, monospace;
}
@@ -30,6 +31,7 @@ body {
/* sticky footer */
display: flex;
flex-direction: column;
color: black;
background-color: white;
}
@@ -42,11 +44,13 @@ body {
margin: 0;
margin-left: 240px;
}
.sidebar-collapsed #wrapper {
margin-left: 0;
}
#content, #footer-content {
#content,
#footer-content {
margin: 0 auto;
padding: 0 1em;
width: calc(100% - 2em);
@@ -54,17 +58,22 @@ body {
}
#footer {
background: #44a2f1;
background: #326ce5;
color: white;
padding: 1em;
margin-top: 1em;
border-top: .1em solid rgba(0, 0, 0, 0.1);
}
#footer a {
color: white;
}
/* page footer*/
.footer { text-align: center; }
.footer {
text-align: center;
}
.footer>* {
font-size: .8em;
line-height: 1.4;
@@ -72,7 +81,7 @@ body {
#content {
/* clear navbar */
padding-top: 1em;
padding-top: 1.5em;
/* push down footer */
min-height: calc(100vh - 4em);
}
@@ -84,46 +93,61 @@ body {
padding: 2px 0;
margin-left: .1em;
/*background-color: #326ce5;*/
background-color: white;
background-color: #326ce5;
border-bottom: .1em solid rgba(0, 0, 0, 0.1);
display: flex;
justify-content: space-between;
z-index: 99999;
}
.sidebar-collapsed #navbar{
.sidebar-collapsed #navbar {
width: 100%;
margin-left: 0;
}
#navbar-title>a {
font-weight: bold;
font-size: 1.2em;
padding: 0 4px;
vertical-align: middle;
}
#navbar-title>a, #github>a{
#navbar-title>a,
#github>a {
text-decoration: none;
color: white;
}
#navbar>#github {
filter: invert(1);
}
#sidebar-toggle {
color: black;
color: white;
cursor: pointer;
padding: .1em .5em;
padding-bottom: 0;
user-select: none;
}
#github { padding: 0 .5em; }
#github {
padding: 0 .5em;
}
#github img {
height: 1.4em;
width: 1.4em;
vertical-align: middle;
}
#noticebar{
#noticebar {
padding: 1.5em;
padding-top: 2em;
padding-bottom: 1em;
margin-bottom: -1.5em;
border-bottom: .1em solid rgba(0, 0, 0, 0.1);
}
#noticebar>* {
max-width: 46rem;
margin-left: auto;
@@ -132,51 +156,6 @@ body {
margin-block-start: 0.25em;
}
#noticebar.black {
color: white;
background: black;
}
#navbar.black {
color: white;
background: black;
}
#noticebar.ua {
background: #ffd700;
color: black;
}
#noticebar.docker-blue {
background: #44a2f1;
color: white;
}
#navbar.ua {
background: #0057b8;
color: white;
}
#navbar.docker-blue {
background: #44a2f1;
color: white;
}
/* invert colors on different background */
.black a, .docker-blue a{
color: white;
}
#navbar.ua a {
color: #ffd700;
}
#noticebar.ua a {
color: blue;
}
#navbar.black>#sidebar-toggle,
#navbar.docker-blue>#sidebar-toggle,
#navbar.ua>#sidebar-toggle {
color: white;
}
#navbar.black>#github,
#navbar.docker-blue>#github,
#navbar.ua>#github {
filter: invert(1);
}
#sidebar {
height: 100%;
position: fixed;
@@ -188,13 +167,16 @@ body {
z-index: 99999;
overflow-y: auto;
}
.sidebar-collapsed #sidebar {
display: none;
}
#sidebar-logo {
padding: 16px 16px;
padding-bottom: 10px;
}
#sidebar-title {
display: none;
margin-top: -16px;
@@ -210,23 +192,33 @@ body {
#sidebar li.active :first-child {
font-weight: bold;
}
#sidebar li.active-entry :first-child {
color: black;
}
/* consistent link color */
a { color: #326be5; }
a {
color: #326be5;
}
p {
margin-block-start: .5em;
}
h1, h2, h3, h4, h5 {
h1,
h2,
h3,
h4,
h5 {
margin-block-start: 1rem;
margin-block-end: .25rem;
}
/* ensure images don't go off the page */
#content img { max-width: 100%; }
#content img {
max-width: 100%;
}
hr {
background: #333;
@@ -261,12 +253,12 @@ table.includecode {
max-width: 100%;
width: 100%;
table-layout: fixed;
border: 1px solid rgba(0,0,0,.125);
border: 1px solid rgba(0, 0, 0, .125);
border-spacing: 0;
}
table.includecode thead th {
border-bottom: 1px solid rgba(0,0,0,.125);
border-bottom: 1px solid rgba(0, 0, 0, .125);
font-weight: normal;
font-size: 85%;
}
@@ -296,12 +288,12 @@ table.includecode pre {
/* don't display this, these are textareas needed to copy to clipboard */
.hidden-copy-text {
background: transparent;
width: 2em;
height: 2em;
position: fixed;
top: 0;
left: 0;
background: transparent;
width: 2em;
height: 2em;
position: fixed;
top: 0;
left: 0;
}
/* heading anchors */
@@ -312,7 +304,11 @@ table.includecode pre {
vertical-align: middle;
text-decoration: none !important;
}
h1:hover a, h2:hover a, h3:hover a, h4:hover a {
h1:hover a,
h2:hover a,
h3:hover a,
h4:hover a {
visibility: visible;
}
@@ -320,18 +316,22 @@ h1:hover a, h2:hover a, h3:hover a, h4:hover a {
margin-block-start: 0;
margin-block-end: 0;
}
#content ul {
padding-left: 1.75em;
margin-block-start: .5em;
margin-block-end: .5em;
}
#content ul ul {
padding-left: 1em;
margin-block-start: 0;
}
#sidebar ul {
margin-bottom: 1em;
}
#sidebar ul ul {
padding-left: 1.25em;
}
@@ -345,9 +345,11 @@ h1:hover a, h2:hover a, h3:hover a, h4:hover a {
margin-block-start: 0;
margin-block-end: 0;
}
.page-description a {
color: #0bd8ec;
}
.page-description code {
color: black;
}
@@ -373,6 +375,7 @@ blockquote p {
height: 0;
padding-bottom: 56.25%;
}
.video-wrapper iframe {
position: absolute;
top: 0;
@@ -401,15 +404,19 @@ blockquote p {
#content {
font-size: 16px;
}
#wrapper {
margin-left: 0;
}
#wrapper #navbar {
margin-left: 241px;
}
.sidebar-collapsed #wrapper #navbar {
margin-left: 0;
}
#content ul {
padding-left: 1.5em;
}
@@ -420,4 +427,4 @@ blockquote p {
display: block;
height: 2em;
margin: -2em 0 0;
}
}

View File

@@ -6,9 +6,7 @@ title: kind
[kind] is a tool for running local Kubernetes clusters using Docker container "nodes".
kind was primarily designed for testing Kubernetes itself, but may be used for local development or CI.
If you have [go] \([1.17+][go-supported]) and [docker] installed `go install sigs.k8s.io/kind@{{< stableVersion >}} && kind create cluster` is all you need!
For older versions use `GO111MODULE="on" go get sigs.k8s.io/kind@{{< stableVersion >}}`.
If you have [go] 1.16+ and [docker] or [podman] installed `go install sigs.k8s.io/kind@{{< stableVersion >}} && kind create cluster` is all you need!
<img src="images/kind-create-cluster.png" />
@@ -96,6 +94,7 @@ Participation in the Kubernetes community is governed by the [Kubernetes Code of
[go]: https://golang.org/
[go-supported]: https://golang.org/doc/devel/release.html#policy
[docker]: https://www.docker.com/
[podman]: https://podman.io/
[community page]: https://kubernetes.io/community/
[Kubernetes Code of Conduct]: https://github.com/kubernetes/community/blob/master/code-of-conduct.md
[Go Report Card Badge]: https://goreportcard.com/badge/sigs.k8s.io/kind

View File

@@ -100,8 +100,10 @@ Lints include:
## Documentation
Our docs are built with [hugo] just like [kubernetes.io](https://kubernetes.io).
We provide a makefile for development that uses hugo in docker so you don't need
to install anything further, just [install docker](#install-docker).
We provide a Makefile for development that automatically manages a go toolchain
and uses that to build and run hugo. You only need `make`, `bash`,
and `curl` or `wget` installed.
Markdown content is under `site/content/` with a structure mirroring this site.
@@ -114,7 +116,7 @@ your pull request on GitHub.
These are also predictable as `https://deploy-preview-$PR_NUMBER--k8s-kind.netlify.app/`, just replace `$PR_NUMBER` with the number of your Pull Request.
For more involved site / documentation development, you can run `make -C site serve` from the kind repo to run a local instance of the documentation, browsable at [http://localhost:1313](http://localhost:1313). As mentioned previously, do this you'll need to [install docker](#install-docker).
For more involved site / documentation development, you can run `make -C site serve` from the kind repo to run a local instance of the documentation, browsable at [http://localhost:1313](http://localhost:1313).
This site has a custom hugo theme under `site/layouts` & `site/assets`. It's
mostly relatively simple but it has a few extra features:

View File

@@ -58,7 +58,10 @@ into your `$PATH` at your preferred binary installation directory.
On Linux:
{{< codeFromInline lang="bash" >}}
curl -Lo ./kind https://kind.sigs.k8s.io/dl/{{< stableVersion >}}/kind-linux-amd64
# For AMD64 / x86_64
[ $(uname -m) = x86_64 ] && curl -Lo ./kind https://kind.sigs.k8s.io/dl/{{< stableVersion >}}/kind-linux-amd64
# For ARM64
[ $(uname -m) = aarch64 ] && curl -Lo ./kind https://kind.sigs.k8s.io/dl/{{< stableVersion >}}/kind-linux-arm64
chmod +x ./kind
sudo mv ./kind /usr/local/bin/kind
{{< /codeFromInline >}}
@@ -66,9 +69,9 @@ sudo mv ./kind /usr/local/bin/kind
On macOS:
{{< codeFromInline lang="bash" >}}
# for Intel Macs
[ $(uname -m) = x86_64 ]&& curl -Lo ./kind https://kind.sigs.k8s.io/dl/{{< stableVersion >}}/kind-darwin-amd64
# for M1 / ARM Macs
# For Intel Macs
[ $(uname -m) = x86_64 ] && curl -Lo ./kind https://kind.sigs.k8s.io/dl/{{< stableVersion >}}/kind-darwin-amd64
# For M1 / ARM Macs
[ $(uname -m) = arm64 ] && curl -Lo ./kind https://kind.sigs.k8s.io/dl/{{< stableVersion >}}/kind-darwin-arm64
chmod +x ./kind
mv ./kind /some-dir-in-your-PATH/kind
@@ -100,20 +103,15 @@ use it as `kind` from the command line.
`make install` will attempt to mimic `go install` and has the same path requirements as `go install` below.
#### Installing with `go get` / `go install`
#### Installing with `go install`
When installing with [Go](https://golang.org/) please use the latest stable Go release, ideally go1.16 or greater.
When installing with [Go](https://golang.org/) please use the latest stable Go release. At least go1.16 or greater is required.
For Go versions go1.17 and higher, you should use to `go install sigs.k8s.io/kind@{{< stableVersion >}}` per https://tip.golang.org/doc/go1.17#go-get
To install use: `go install sigs.k8s.io/kind@{{< stableVersion >}}`.
For older versions use `GO111MODULE="on" go get sigs.k8s.io/kind@{{< stableVersion >}}`.
If you are building from a local source clone, use `go install .` from the top-level directory of the clone.
For either version if you are building from a local source clone, use `go install .` from the top-level directory of the clone.
> **NOTE**: `go get` should not be run from a Go [modules] enabled project directory,
> as go get inside a modules enabled project updates dependencies / behaves differently. Try for example `cd $HOME` first.
`go get` / `go install` will typically put the `kind` binary inside the `bin` directory under `go env GOPATH`, see
`go install` will typically put the `kind` binary inside the `bin` directory under `go env GOPATH`, see
Go's ["Compile and install packages and dependencies"](https://golang.org/cmd/go/#hdr-Compile_and_install_packages_and_dependencies)
for more on this.
You may need to add that directory to your `$PATH` if you encounter the error

127
site/go.mod Normal file
View File

@@ -0,0 +1,127 @@
module sigs.k8s.io/kind/site
go 1.18
require github.com/gohugoio/hugo v0.111.3
require (
cloud.google.com/go v0.101.0 // indirect
cloud.google.com/go/compute v1.6.1 // indirect
cloud.google.com/go/iam v0.3.0 // indirect
cloud.google.com/go/storage v1.22.0 // indirect
github.com/Azure/azure-pipeline-go v0.2.3 // indirect
github.com/Azure/azure-storage-blob-go v0.14.0 // indirect
github.com/Azure/go-autorest v14.2.0+incompatible // indirect
github.com/Azure/go-autorest/autorest v0.11.20 // indirect
github.com/Azure/go-autorest/autorest/adal v0.9.15 // indirect
github.com/Azure/go-autorest/autorest/date v0.3.0 // indirect
github.com/Azure/go-autorest/logger v0.2.1 // indirect
github.com/Azure/go-autorest/tracing v0.6.0 // indirect
github.com/BurntSushi/locker v0.0.0-20171006230638-a6e239ea1c69 // indirect
github.com/PuerkitoBio/purell v1.1.1 // indirect
github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578 // indirect
github.com/alecthomas/chroma/v2 v2.5.0 // indirect
github.com/armon/go-radix v1.0.0 // indirect
github.com/aws/aws-sdk-go v1.43.5 // indirect
github.com/aws/aws-sdk-go-v2 v1.9.0 // indirect
github.com/aws/aws-sdk-go-v2/config v1.7.0 // indirect
github.com/aws/aws-sdk-go-v2/credentials v1.4.0 // indirect
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.5.0 // indirect
github.com/aws/aws-sdk-go-v2/internal/ini v1.2.2 // indirect
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.3.0 // indirect
github.com/aws/aws-sdk-go-v2/service/sso v1.4.0 // indirect
github.com/aws/aws-sdk-go-v2/service/sts v1.7.0 // indirect
github.com/aws/smithy-go v1.8.0 // indirect
github.com/bep/clock v0.3.0 // indirect
github.com/bep/debounce v1.2.0 // indirect
github.com/bep/gitmap v1.1.2 // indirect
github.com/bep/goat v0.5.0 // indirect
github.com/bep/godartsass v0.16.0 // indirect
github.com/bep/golibsass v1.1.0 // indirect
github.com/bep/gowebp v0.2.0 // indirect
github.com/bep/lazycache v0.2.0 // indirect
github.com/bep/overlayfs v0.6.0 // indirect
github.com/bep/tmc v0.5.1 // indirect
github.com/clbanning/mxj/v2 v2.5.7 // indirect
github.com/cli/safeexec v1.0.0 // indirect
github.com/cpuguy83/go-md2man/v2 v2.0.2 // indirect
github.com/disintegration/gift v1.2.1 // indirect
github.com/dlclark/regexp2 v1.7.0 // indirect
github.com/dustin/go-humanize v1.0.0 // indirect
github.com/evanw/esbuild v0.17.0 // indirect
github.com/frankban/quicktest v1.14.4 // indirect
github.com/fsnotify/fsnotify v1.6.0 // indirect
github.com/getkin/kin-openapi v0.110.0 // indirect
github.com/ghodss/yaml v1.0.0 // indirect
github.com/go-openapi/jsonpointer v0.19.5 // indirect
github.com/go-openapi/swag v0.19.5 // indirect
github.com/gobuffalo/flect v0.3.0 // indirect
github.com/gobwas/glob v0.2.3 // indirect
github.com/gohugoio/go-i18n/v2 v2.1.3-0.20210430103248-4c28c89f8013 // indirect
github.com/gohugoio/locales v0.14.0 // indirect
github.com/gohugoio/localescompressed v1.0.1 // indirect
github.com/golang-jwt/jwt/v4 v4.0.0 // indirect
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
github.com/golang/protobuf v1.5.2 // indirect
github.com/google/go-cmp v0.5.9 // indirect
github.com/google/uuid v1.3.0 // indirect
github.com/google/wire v0.5.0 // indirect
github.com/googleapis/gax-go/v2 v2.3.0 // indirect
github.com/googleapis/go-type-adapters v1.0.0 // indirect
github.com/gorilla/websocket v1.5.0 // indirect
github.com/hairyhenderson/go-codeowners v0.2.3-0.20201026200250-cdc7c0759690 // indirect
github.com/hashicorp/golang-lru/v2 v2.0.1 // indirect
github.com/inconshreveable/mousetrap v1.0.1 // indirect
github.com/invopop/yaml v0.1.0 // indirect
github.com/jdkato/prose v1.2.1 // indirect
github.com/jmespath/go-jmespath v0.4.0 // indirect
github.com/kr/pretty v0.3.1 // indirect
github.com/kr/text v0.2.0 // indirect
github.com/kyokomi/emoji/v2 v2.2.11 // indirect
github.com/magefile/mage v1.14.0 // indirect
github.com/mailru/easyjson v0.0.0-20190626092158-b2ccc519800e // indirect
github.com/marekm4/color-extractor v1.2.0 // indirect
github.com/mattn/go-ieproxy v0.0.1 // indirect
github.com/mattn/go-isatty v0.0.17 // indirect
github.com/mattn/go-runewidth v0.0.9 // indirect
github.com/mitchellh/hashstructure v1.1.0 // indirect
github.com/mitchellh/mapstructure v1.5.0 // indirect
github.com/mohae/deepcopy v0.0.0-20170929034955-c48cc78d4826 // indirect
github.com/muesli/smartcrop v0.3.0 // indirect
github.com/niklasfasching/go-org v1.6.6 // indirect
github.com/olekukonko/tablewriter v0.0.5 // indirect
github.com/pelletier/go-toml/v2 v2.0.6 // indirect
github.com/rogpeppe/go-internal v1.9.0 // indirect
github.com/russross/blackfriday/v2 v2.1.0 // indirect
github.com/rwcarlsen/goexif v0.0.0-20190401172101-9e8deecbddbd // indirect
github.com/sanity-io/litter v1.5.5 // indirect
github.com/spf13/afero v1.9.3 // indirect
github.com/spf13/cast v1.5.0 // indirect
github.com/spf13/cobra v1.6.1 // indirect
github.com/spf13/fsync v0.9.0 // indirect
github.com/spf13/jwalterweatherman v1.1.0 // indirect
github.com/spf13/pflag v1.0.5 // indirect
github.com/tdewolff/minify/v2 v2.12.4 // indirect
github.com/tdewolff/parse/v2 v2.6.5 // indirect
github.com/yuin/goldmark v1.5.4 // indirect
go.opencensus.io v0.24.0 // indirect
go.uber.org/atomic v1.10.0 // indirect
gocloud.dev v0.24.0 // indirect
golang.org/x/crypto v0.3.0 // indirect
golang.org/x/exp v0.0.0-20221031165847-c99f073a8326 // indirect
golang.org/x/image v0.5.0 // indirect
golang.org/x/net v0.7.0 // indirect
golang.org/x/oauth2 v0.2.0 // indirect
golang.org/x/sync v0.1.0 // indirect
golang.org/x/sys v0.5.0 // indirect
golang.org/x/text v0.7.0 // indirect
golang.org/x/tools v0.4.0 // indirect
golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect
google.golang.org/api v0.76.0 // indirect
google.golang.org/appengine v1.6.7 // indirect
google.golang.org/genproto v0.0.0-20220426171045-31bebdecfb46 // indirect
google.golang.org/grpc v1.46.0 // indirect
google.golang.org/protobuf v1.28.1 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)

1070
site/go.sum Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -1,6 +1,3 @@
<div id="navbar" class="ua">
<span id="sidebar-toggle" onclick="toggleSidebar()">&#9776;</span><span id="navbar-title"><a href="{{.Site.BaseURL}}">kind</a> </span><span id="github"><a href="https://github.com/kubernetes-sigs/kind/"><img alt="github" title="github" src="{{ "third_party/GitHub-Mark-120px-plus.png" | relURL }}"></a></span>
</div>
<div id="noticebar" class="ua">
<h3 style="text-align: center; margin-bottom:-0.5em;">Please <a href="http://novaukraine.org/donate">Help Provide Humanitarian Aid for Ukraine</a></h3>
</div>

13
site/tools.go Normal file
View File

@@ -0,0 +1,13 @@
//go:build tools
// +build tools
/*
Package site is used to track binary dependencies with go modules
https://github.com/golang/go/wiki/Modules#how-can-i-track-tool-dependencies-for-a-module
Namely: hugo
*/
package site
import (
_ "github.com/gohugoio/hugo"
)