Update vendor/

Signed-off-by: Ben Kochie <superq@gmail.com>
This commit is contained in:
Ben Kochie 2020-05-14 19:47:23 +02:00
commit cdb9e7d2b8
No known key found for this signature in database
GPG key ID: C646B23C9E3245F1
527 changed files with 113006 additions and 150362 deletions

27
vendor/github.com/siebenmann/go-kstat/LICENSE generated vendored Normal file
View file

@ -0,0 +1,27 @@
Copyright (c) 2020 Chris Siebenmann. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following disclaimer
in the documentation and/or other materials provided with the
distribution.
* Neither the name of Chris Siebenmann nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

View file

@ -4,9 +4,6 @@ general information on kstats, see the kstat(1) and kstat(3kstat)
manpages. For more documentation on the details of the package, see
doc.go, kstat_solaris.go, types_solaris_amd64.go, and raw_solaris.go.
This package is quite young, so the API may well change as I and
other people gain experience with using it.
The API supports access to 'named' kstat statistics, IO statistics,
and the most common and useful sorts of 'raw' kstat statistics
(unix:0:sysinfo, unix:0:vminfo, unix:0:var, and mnt:*:mntinfo).
@ -20,12 +17,25 @@ interacts with the Solaris kstat library and holds references to memory
that's been dynamically allocated in C.
See kstat-godoc.txt for a text dump of the full godoc for the package.
Unfortunately Go tool limitations appear to make it impossible to see
full package documentat on anything except a Solaris machine (including
https://godoc.org/, sadly).
Unfortunately Go tool limitations appear to make it impossible to
see full package documentation on anything except a Solaris machine
(including https://godoc.org/, sadly).
Bug reports and other contributions are highly welcome.
IMPORTANT NOTE (March 2020): We no longer use any Solaris or Illumos
based systems. This package worked fine for us while we had such systems
and I never found any bugs, but without Illumos systems I'm no longer
in a position to further update the package in any meaningful way. I
would be happy to pass this package to someone is still using Solaris
or Illumos based systems and so can actively develop it, if any further
development is necessary. I am happy to accept pull requests from people
with Illumos systems who can do the necessary testing and so on.
Given this, I don't currently expect to release an official version 1.0
of the package or update it to be a Go module. I would again be happy to
accept pull requests.
Author:
Chris Siebenmann
@ -34,4 +44,5 @@ https://utcc.utoronto.ca/~cks/space/blog/
(and elsewhere)
Copyright: standard Go copyright
Copyright: BSD-3-Clause, see LICENSE
(This is the copyright used by Go and projects copying its license.)