Thomas
f0d2c76ab3
Fix missing platform/architecture separation
2021-02-10 23:09:41 +00:00
Thomas
eb9d8c9346
Separate platform from architecture build constraints
2021-02-10 23:05:19 +00:00
Thomas Way
9d8277341f
Add build guards for all Windows imports
2021-01-21 23:24:01 +00:00
Danny Canter
d1ffc52c73
Merge pull request #179 from dcantah/virtdisk
...
Add new virtdisk calls/refactor vhd package
2020-11-30 08:25:21 -08:00
Daniel Canter
e9604c63ae
Add new virtdisk calls/refactor vhd package
...
This change adds bindings for AttachVirtualDisk and GetVirtualDiskPhysicalPath, some helper functions including
one to create a differencing vhd, exports the create and open parameters, exports the create flags and adds a couple
of missing flags. This will be used mainly to go hand in hand with the new computestorage calls added to hcsshim as all of the
vhd creation and setup needs to be done manually for these calls. https://github.com/microsoft/hcsshim/pull/881 .
Signed-off-by: Daniel Canter <dcanter@microsoft.com >
2020-11-30 08:23:06 -08:00
Kevin Parsons
f314918fc7
Merge pull request #181 from gbbr/spellfix
...
Correct spelling in PipeConfig {Input,Output}BufferSize doc.
2020-11-23 13:18:15 -08:00
Gabriel Aszalos
68390cf0c2
Correct spelling in PipeConfig {Input,Output}BufferSize doc.
...
Signed-off-by: Gabriel Aszalos <gabriel.aszalos@gmail.com >
2020-11-23 23:01:29 +02:00
Kevin Parsons
a6ab492b63
Merge pull request #182 from thaJeztah/bump_pkg_errors
...
go.mod: github.com/pkg/errors v0.9.1
2020-11-23 12:59:39 -08:00
Sebastiaan van Stijn
00446faf93
go.mod: github.com/pkg/errors v0.9.1
...
update to pkg/errors v0.9.1 for compatibility with Go 1.13
error (un)wrapping.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2020-11-23 21:09:12 +01:00
Kevin Parsons
5b44b70ab3
Merge pull request #175 from TBBle/defork_achive_tar
...
Replace archive/tar fork with use of archive/tar
2020-09-08 11:26:39 -07:00
Paul "TBBle" Hampson
cb5cf8987b
Replace archive/tar fork with use of archive/tar
...
Since Go 1.6, archive/tar has gained public support for custom PAX
Records, so there's no need to maintain a fork of this library anymore.
We do end up with a fork of the PAX timestamp parsing/formatting
functions, but they are much less likely to change.
Signed-off-by: Paul "TBBle" Hampson <Paul.Hampson@Pobox.com >
2020-07-17 00:45:58 +10:00
Justin
3fe6c52628
Merge pull request #168 from maxifom/duration_inconsistency
...
Duration order consistency when multiplying number by time unit
2020-01-13 09:10:25 -08:00
Maxim Fominykh
06bcafdc24
Duration order consistency when multiplying number by time unit
2020-01-11 05:26:35 +05:00
Justin
1f03480c53
Merge pull request #166 from paruizfi/master
...
Expose pipe access level to caller
2019-12-19 07:30:15 -08:00
Pablo Ruiz Fischer Bennetts
3886dbb163
Expanded dial to allow to provide access level
...
Enable anonymous access
Remove non-context overload
Remove error being rethrown
2019-12-04 10:15:56 -08:00
Kevin Parsons
fc70bd9a86
Merge pull request #160 from kevpar/pkg-process
...
Add new process package
2019-09-18 19:51:22 -07:00
Kevin Parsons
f272bf30b3
Add new process package
...
Signed-off-by: Kevin Parsons <kevpar@microsoft.com >
2019-09-18 18:03:14 -07:00
Justin
6c72808b55
Merge pull request #157 from jterry75/fix_detachvhd
...
Fix regression in DetachVhd
2019-08-06 12:59:04 -07:00
Justin Terry (VM)
5adf6781fa
Fix regression in DetachVhd
...
When opening a disk it for deatch using 'Version == 2' parameters it is
required that the'accessMask == VirtualDiskAccessNone'. Also updates the
virtual disk 'flag' parameter to match the set specified by the product when
activating the layer.
Signed-off-by: Justin Terry (VM) <juterry@microsoft.com >
2019-08-06 11:28:36 -07:00
Justin
a969fb018b
Merge pull request #153 from microsoft/guid
...
guid package improvements
2019-07-19 05:48:51 -07:00
Kevin Parsons
c20fb68775
etw: Add test for provider name to GUID conversion
...
Also simplified the name to GUID conversion code, and improved the
comments.
Signed-off-by: Kevin Parsons <kevpar@microsoft.com >
2019-07-10 15:12:20 -07:00
Kevin Parsons
177d2ec7ea
guid: Add V5 GUID support
...
Signed-off-by: Kevin Parsons <kevpar@microsoft.com >
2019-07-10 15:08:22 -07:00
Kevin Parsons
c5294c98c0
guid: Improve version and variant handling
...
Signed-off-by: Kevin Parsons <kevpar@microsoft.com >
2019-07-10 15:03:44 -07:00
Justin
881e3d4642
Merge pull request #152 from ehotinger/ehotinger/fs
...
Updates the error message in GetFileSystemType
2019-07-02 11:31:43 -07:00
Eric Hotinger
28396ed851
Updates the error message in GetFileSystemType to match the function's
...
casing and exports the error.
Signed-off-by: Eric Hotinger <ehotinger@gmail.com >
2019-07-01 14:25:30 -07:00
Justin
7cdfd71a95
Merge pull request #146 from microsoft/fix-makeopenfile
...
Fix interface-wrapped nil returned by MakeOpenFile
2019-06-28 11:17:19 -07:00
Justin
69f028c26d
Merge pull request #150 from ehotinger/ehotinger/fs
...
Adds a file system helper file for determining the file system type.
2019-06-25 13:50:08 -07:00
Eric Hotinger
9fe4f5c769
Adds a file system helper file for determining the file system type.
...
Signed-off-by: Eric Hotinger <ehotinger@gmail.com >
2019-06-25 13:42:09 -07:00
Justin
d2ef9cfdac
Merge pull request #149 from microsoft/etw-logrus-time
...
etwlogrus: Pass through entry time as ETW field
2019-06-25 10:40:15 -07:00
Kevin Parsons
09baa54393
etwlogrus: Pass through entry time as ETW field
...
Signed-off-by: Kevin Parsons <kevpar@microsoft.com >
2019-06-25 10:36:45 -07:00
Justin
c2fe1c3f36
Merge pull request #148 from microsoft/etw-logrus-levels
...
Replace ETW Logrus hook levels with AllLevels
2019-06-25 10:35:04 -07:00
Kevin Parsons
2ae559ad19
Replace ETW Logrus hook levels with AllLevels
...
Signed-off-by: Kevin Parsons <kevpar@microsoft.com >
2019-06-25 10:32:12 -07:00
Kevin Parsons
f208b3299c
Fix interface-wrapped nil returned by MakeOpenFile
...
Signed-off-by: Kevin Parsons <kevpar@microsoft.com >
2019-05-31 17:09:52 -07:00
John Starks
12afdbf8b8
Merge pull request #86 from azdagron/file-handle-access
...
provide access to underlying file handle
2019-05-16 09:56:58 -07:00
Kevin Parsons
72445fa384
Merge pull request #145 from microsoft/guid
...
pkg/guid: Various improvements
2019-05-14 11:46:02 -07:00
Kevin Parsons
3dac69f6ea
pkg/guid: Switch from json.Marshaler to encoding.TextMarshaler
...
Signed-off-by: Kevin Parsons <kevpar@microsoft.com >
2019-05-13 14:31:21 -07:00
Kevin Parsons
b940a6f7ae
pkg/guid: Improve error messages
...
Signed-off-by: Kevin Parsons <kevpar@microsoft.com >
2019-05-13 14:30:09 -07:00
Kevin Parsons
2dc6637e2c
pkg/guid: Support big-endian and Windows encodings
...
Signed-off-by: Kevin Parsons <kevpar@microsoft.com >
2019-05-13 14:28:49 -07:00
Kevin Parsons
6dd84a2574
pkg/guid: Add helper functions to tests
...
Signed-off-by: Kevin Parsons <kevpar@microsoft.com >
2019-05-13 14:25:53 -07:00
Kevin Parsons
1197d54849
pkg/guid: Add variant and version support
...
Signed-off-by: Kevin Parsons <kevpar@microsoft.com >
2019-05-13 14:22:42 -07:00
Kevin Parsons
01fe22a8b8
Merge pull request #142 from microsoft/fix-guid
...
Fix errors introduced with guid-by-value change
2019-05-09 11:20:14 -07:00
Kevin Parsons
a2a7cd6b7d
Fix errors introduced with guid-by-value change
...
Signed-off-by: Kevin Parsons <kevpar@microsoft.com >
2019-05-08 16:43:22 -07:00
Kevin Parsons
d918a0ad4e
Merge pull request #141 from microsoft/guid-by-value
...
pkg/guid: Prefer passing GUID by value
2019-05-08 16:11:02 -07:00
Kevin Parsons
7185c03f75
pkg/guid: Prefer passing GUID by value
...
Signed-off-by: Kevin Parsons <kevpar@microsoft.com >
2019-05-08 15:52:52 -07:00
John Starks
2be8053e58
Merge pull request #138 from microsoft/etw-write-error
...
etwlogrus: Ignore error from ETW WriteEvent
2019-05-08 08:21:23 -07:00
John Starks
1bcf844dd4
Merge pull request #140 from microsoft/etwlogrus-tests
...
etwlogrus: Improve tests to actually go through logrus hook
2019-05-08 08:20:37 -07:00
John Starks
b092048eb0
Merge pull request #139 from microsoft/fix-etw-logrus
...
etwlogrus: Fix event logging not including fields
2019-05-08 08:19:54 -07:00
Kevin Parsons
afa8dc2e8d
etwlogrus: Improve tests to actually go through logrus hook
...
Signed-off-by: Kevin Parsons <kevpar@microsoft.com >
2019-05-08 00:01:40 -07:00
Kevin Parsons
ed00d9afc1
etwlogrus: Fix event logging not including fields
...
Signed-off-by: Kevin Parsons <kevpar@microsoft.com >
2019-05-07 23:51:39 -07:00
Kevin Parsons
2093f10e12
etwlogrus: Ignore error from ETW WriteEvent
...
Signed-off-by: Kevin Parsons <kevpar@microsoft.com >
2019-05-07 23:41:01 -07:00