• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

.github/workflows/H19-Jun-2020-7271

buffer/H19-Jun-2020-12475

clock/H19-Jun-2020-653463

diff/H19-Jun-2020-464383

exec/H19-Jun-2020-993632

field/H19-Jun-2020-216155

hack/H19-Jun-2020-354207

inotify/H19-Jun-2020-577361

integer/H19-Jun-2020-319256

io/H19-Jun-2020-204130

keymutex/H19-Jun-2020-193103

mount/H19-Jun-2020-3,7592,785

net/H19-Jun-2020-1,5891,270

nsenter/H19-Jun-2020-667458

path/H19-Jun-2020-227143

pointer/H19-Jun-2020-175112

semantic/H19-Jun-2020-6320

strings/H19-Jun-2020-307158

temp/H19-Jun-2020-510266

third_party/forked/golang/H19-Jun-2020-595489

trace/H19-Jun-2020-967805

CONTRIBUTING.mdH A D19-Jun-2020496 106

HOWTOMOVE.mdH A D19-Jun-20201.5 KiB3221

LICENSEH A D19-Jun-202011.1 KiB203169

MakefileH A D19-Jun-20201 KiB4120

OWNERSH A D19-Jun-2020247 2220

README.mdH A D19-Jun-20201.7 KiB5032

SECURITY_CONTACTSH A D19-Jun-2020526 1412

code-of-conduct.mdH A D19-Jun-2020148 42

go.modH A D19-Jun-2020167 118

go.sumH A D19-Jun-20201.3 KiB1716

README.md

1# Utils
2
3[![Build Status]](https://travis-ci.org/kubernetes/utils) [![GoDoc](https://godoc.org/k8s.io/utils?status.svg)](https://godoc.org/k8s.io/utils)
4
5A set of Go libraries that provide low-level, kubernetes-independent packages
6supplementing the [Go standard libs].
7
8## Purpose
9
10As Kubernetes grows and spins functionality out of its [core] and into
11cooperating repositories like [apiserver], [kubectl], [kubeadm], etc., the need
12arises for leaf repositories to house shared code and avoid cycles in repository
13relationships.
14
15This repository is intended to hold shared utilities with _no Kubernetes
16dependencies_ that may be of interest to any Go project.  See these [instructions
17for moving] an existing package to this repository.
18
19## Criteria for adding code here
20
21- Used by multiple Kubernetes repositories.
22
23- Complex enough to be worth vendoring, rather than copying (e.g. not 5 LOC).
24
25- Can be fully exercised by unit tests (e.g. no dependencies on kernels).
26
27- Has full unit test coverage.
28
29- Stable, or backward compatible, API, with complete godocs.
30
31- Go tools compliant (`go get`, `go test`, etc.).
32
33- Very few (ideally zero) external dependencies.
34
35- _No dependencies on any other Kubernetes repository_.
36
37[Build Status]: https://travis-ci.org/kubernetes/utils.svg?branch=master
38[Go standard libs]: https://golang.org/pkg/#stdlib
39[api]: https://github.com/kubernetes/api
40[apiserver]: https://github.com/kubernetes/apiserver
41[core]: https://github.com/kubernetes/kubernetes
42[ingress]: https://github.com/kubernetes/ingress
43[kubeadm]: https://github.com/kubernetes/kubeadm
44[kubectl]: https://github.com/kubernetes/kubectl
45[instructions for moving]: ./HOWTOMOVE.md
46
47## Contributing
48
49Please see [CONTRIBUTING.md](CONTRIBUTING.md) for instructions on how to contribute.
50