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

..03-May-2022-

.github/H07-Jul-2021-

buffer/H07-Jul-2021-

clock/H07-Jul-2021-

diff/H07-Jul-2021-

env/H07-Jul-2021-

exec/H07-Jul-2021-

field/H07-Jul-2021-

hack/H07-Jul-2021-

inotify/H07-Jul-2021-

integer/H07-Jul-2021-

internal/third_party/forked/golang/H07-Jul-2021-

io/H07-Jul-2021-

keymutex/H07-Jul-2021-

lru/H07-Jul-2021-

mount/H07-Jul-2021-

net/H07-Jul-2021-

nsenter/H07-Jul-2021-

path/H07-Jul-2021-

pointer/H07-Jul-2021-

semantic/H07-Jul-2021-

strings/H07-Jul-2021-

temp/H07-Jul-2021-

third_party/forked/golang/H07-Jul-2021-

trace/H07-Jul-2021-

.gitignoreH A D07-Jul-2021215

CONTRIBUTING.mdH A D07-Jul-2021496

HOWTOMOVE.mdH A D07-Jul-20211.5 KiB

LICENSEH A D07-Jul-202111.1 KiB

MakefileH A D07-Jul-20211 KiB

OWNERSH A D07-Jul-2021247

README.mdH A D07-Jul-20211.7 KiB

SECURITY_CONTACTSH A D07-Jul-2021526

code-of-conduct.mdH A D07-Jul-2021148

go.modH A D07-Jul-2021167

go.sumH A D07-Jul-20211.3 KiB

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