General utility functions
Branch: master
Clone or download
jujubot Merge pull request #303 from howbazaar/use-juju-clock
Merge pull request #303 from howbazaar/use-juju-clock


Remove the clock interface and type from utils.

These are now available in "github.com/juju/clock".

Drive by fix for some licences.
Latest commit bf9cc5b Aug 21, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
arch Change licence from AGPLv3 to LGPLv3 Sep 5, 2016
bzr Change licence from AGPLv3 to LGPLv3 Sep 5, 2016
cache cache: single-flight fetch requests Sep 23, 2016
cert
debugstatus debugstatus: add context to checker Dec 20, 2017
deque deque: allow a maximum length to be specified. Jun 16, 2015
du Add dusk usage functionality Dec 8, 2015
exec Use clock from juju/clock. Aug 20, 2018
featureflag gofmt fixes Mar 17, 2017
filepath The LICENCE is LGPLv3. Jul 9, 2015
filestorage Corrected licence AGPL3->LGPL3 Feb 5, 2015
fs
hash raw -> hash. Jan 20, 2016
jsonhttp Added missing copyright. Jul 9, 2015
keyvalues
mgokv
os Support OpenSUSE series Apr 24, 2017
parallel update tomb dependency Aug 9, 2016
proxy Add a note to generated systemd proxy files May 2, 2017
readpass use golang.org/x/crypto Dec 15, 2014
registry Fixed outdated import Sep 15, 2014
series adding support for osx mojave Aug 8, 2018
set Use names.v2 and update dependencies May 26, 2016
shell govet fixes Mar 17, 2017
ssh Use clock from juju/clock. Aug 20, 2018
symlink Added missing copyright headers. Sep 5, 2016
tailer update tomb dependency Aug 9, 2016
tar some more consistency fixes May 16, 2017
uptime Added missing copyright headers. Sep 5, 2016
voyeur Fixed outdated import Sep 15, 2014
winrm govet fixes Mar 17, 2017
zip some more consistency fixes May 16, 2017
ISSUE_TEMPLATE.md Create ISSUE_TEMPLATE.md Mar 10, 2017
LICENSE LGPL v3 License Mar 30, 2015
LICENSE.golang
Makefile Move gofmt to inside check-go target Mar 21, 2017
README.md copydir: new package Jun 9, 2014
attempt.go Update licence info to LPGLv3 Jul 16, 2014
attempt_test.go Fixed outdated import Sep 15, 2014
command.go Update licence info to LPGLv3 Jul 16, 2014
command_test.go Merge pull request #27 from gabriel-samfira/testing Sep 29, 2014
context.go Fix licence header. Aug 20, 2018
context_test.go Fix licence header. Aug 20, 2018
dependencies.tsv Update dependencies.tsv. Aug 20, 2018
export_test.go make outgoing address checker work under Go 1.7 Aug 15, 2016
file.go Simplify ExpandPath. Feb 7, 2018
file_test.go Add ExpandPath w/ tests. Returns abs path for supplied path. Feb 5, 2018
file_unix.go PR comments Jun 19, 2018
file_unix_test.go PR comments Jun 19, 2018
file_windows.go IsFileOwner is file owned by user Jun 14, 2018
file_windows_test.go
gomaxprocs.go Update licence info to LPGLv3 Jul 16, 2014
gomaxprocs_test.go Fixed outdated import Sep 15, 2014
home_unix.go Update licence info to LPGLv3 Jul 16, 2014
home_unix_test.go
home_windows.go Used filepath.Join() to filepath.Join() in Home() Jul 28, 2014
home_windows_test.go Fixed outdated import Sep 15, 2014
http-1_4.go
http-1_7.go Added missing copyright headers. Sep 5, 2016
http.go allow connection reuse on HTTP connections Sep 22, 2016
http_test.go
isubuntu.go
isubuntu_test.go Merge pull request #27 from gabriel-samfira/testing Sep 29, 2014
limiter.go Use clock from juju/clock. Aug 20, 2018
limiter_test.go Use clock from juju/clock. Aug 20, 2018
multireader.go Added missing copyright headers. Sep 5, 2016
multireader_test.go Added missing copyright headers. Sep 5, 2016
naturalsort.go Change licence from AGPLv3 to LGPLv3 Sep 5, 2016
naturalsort_test.go Change licence from AGPLv3 to LGPLv3 Sep 5, 2016
network.go Add GetIPv6Address function Oct 8, 2017
network_test.go
os.go
os_test.go
package_test.go Fixed outdated import Sep 15, 2014
password.go use golang.org/x/crypto Dec 15, 2014
password_test.go Fixed outdated import Sep 15, 2014
randomstring.go Change licence from AGPLv3 to LGPLv3 Sep 5, 2016
randomstring_test.go Change licence from AGPLv3 to LGPLv3 Sep 5, 2016
relativeurl.go utils: add RelativeURL function Jan 21, 2016
relativeurl_test.go utils: add RelativeURL function Jan 21, 2016
setenv.go make Setenv ignore malformed entries rather than panic Apr 20, 2017
setenv_test.go make Setenv ignore malformed entries rather than panic Apr 20, 2017
size.go Drop SizeTracker.Reset(). Jan 20, 2016
size_test.go Eliminate SizingReader and SizingWriter. Jan 20, 2016
systemerrmessages_unix.go Some tidying up and making code paths more obvious. Nov 12, 2015
systemerrmessages_windows.go Re-worked locking to be based entirely on cross-platform code: Nov 12, 2015
timeit.go Update licence info to LPGLv3 Jul 16, 2014
timer.go Use clock from juju/clock. Aug 20, 2018
timer_test.go Use clock from juju/clock. Aug 20, 2018
tls.go allow a cipher suite in common with standard gnutls Jan 6, 2017
tls_test.go fixes http://pad.lv/1604474 - userdata execution fails on Windows Jul 27, 2016
trivial.go Backport {Read,Write}Yaml improvements from juju/juju/utils Nov 9, 2015
trivial_test.go
username.go The LICENCE is LGPLv3. Jul 9, 2015
username_test.go The LICENCE is LGPLv3. Jul 9, 2015
uuid.go return new HTTP clients rather than aliasing http.DefaultClient Sep 2, 2015
uuid_test.go utils: make uuid parsing more lenient Jun 4, 2015
yaml.go call Sync() before Close() May 5, 2017
yaml_test.go Add ConformYAML method from core. Jun 23, 2016
zfile_windows.go Added missing copyright headers. Sep 5, 2016

README.md

juju/utils

This package provides general utility packages and functions.