Skip to content
forked from kubernetes/utils

Non-Kubernetes-specific utility libraries which are consumed by multiple projects.

License

Notifications You must be signed in to change notification settings

danwinship/utils

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Utils

Build Status

Utils is a set of golang libraries that are not specific to Kubernetes. They should be available and useful to any other Go project out there.

Purpose

The Kubernetes project uses a lot of Golang patterns that are re-used in many difference places, and as the project is further split into different repositories, this repository is the perfect place to hold this common code.

Goals

Go libraries in this repository must be:

  • Generic enough that they are useful for external/non-kubernetes projects,
  • Well factored, well tested and reliable,
  • Be completely go compliant (go get/build/test/etc)
  • Have enough complexity to be shared,
  • Have stable APIs, or backward compatible.

The goal is to keep libraries organized in logical entities.

Libraries

  • Exec provides an interface for os/exec. It makes it easier to mock and replace in tests, especially with the FakeExec struct.

How to move a pkg from other repo

Please look at HOWTOMOVE.md.

About

Non-Kubernetes-specific utility libraries which are consumed by multiple projects.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%