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

..03-May-2022-

.github/H10-Nov-2020-196144

buffer/H10-Nov-2020-12475

clock/H10-Nov-2020-712509

diff/H10-Nov-2020-464383

env/H10-Nov-2020-201115

exec/H10-Nov-2020-993632

field/H10-Nov-2020-216155

hack/H10-Nov-2020-354207

inotify/H10-Nov-2020-577361

integer/H10-Nov-2020-319256

io/H10-Nov-2020-204130

keymutex/H10-Nov-2020-193103

mount/H10-Nov-2020-3,8512,863

net/H10-Nov-2020-2,1851,735

nsenter/H10-Nov-2020-667458

path/H10-Nov-2020-227143

pointer/H10-Nov-2020-386278

semantic/H10-Nov-2020-6320

strings/H10-Nov-2020-307158

temp/H10-Nov-2020-510266

third_party/forked/golang/H10-Nov-2020-595489

trace/H10-Nov-2020-1,008842

.gitignoreH A D10-Nov-2020215 1813

CONTRIBUTING.mdH A D10-Nov-2020496 106

HOWTOMOVE.mdH A D10-Nov-20201.5 KiB3221

LICENSEH A D10-Nov-202011.1 KiB203169

MakefileH A D10-Nov-20201 KiB4120

OWNERSH A D10-Nov-2020247 2220

README.mdH A D10-Nov-20201.7 KiB5032

SECURITY_CONTACTSH A D10-Nov-2020526 1412

code-of-conduct.mdH A D10-Nov-2020148 42

go.modH A D10-Nov-2020167 118

go.sumH A D10-Nov-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