Displaying 9 results from an estimated 9 matches for "godoc".
Did you mean:
odoc
2020 Jun 28
2
get contents of a storage volume in bytes
Hi, i have two machines with libvirt installed. I want to move a storage
volume from the 1st machine to 2nd machine with code.
I'm thinking of reading a storage volume into a byte array/stream then
uploading through my own/custom handler (written in go) to the 2nd
machine's custom handler which will then be writing the byte stream to
libvirt storage volume.
Is there a libvirt function to
2014 Jul 11
2
golang binding help
Hello. I'm very happy with libguestfs, but now i'm try to write packer
plugin to strip images:
1) resize filesystem to minimum
2) resize partitions to minimum
3) create/resize file with needed size
But golang binding have not docs. Is that possible to generate
something suitable to godoc.org to determine api methods and
input,output variables for functions?
--
Vasiliy Tolstov,
e-mail: v.tolstov@selfip.ru
jabber: vase@selfip.ru
2018 Aug 25
1
Download image to libvirt storage pool
Is there any function in libvirt (golang SDK) to download image to libvirt
storage pool from path?
2015 Apr 23
3
double length prefix in ssh-keygen certificates (values of critical options)
...2 00
|.78.72.0/29.....|
highlighted is the double-prefix in question: 00 00 00 11 00 00 00 0d
The same happens with the force-command value.
This apparent deviation (unless I misread the spec, of course!) creates
problems in terms of interoperability with other tools. Go ssh library (
https://godoc.org/golang.org/x/crypto/ssh), for example, does not do the
"double-wrapping", and as a result, you cannot read the certificates
generated with Go using ssh-keygen -L -f <filename>. ssh-keygen tries to
read the first 4 bytes of the string value as the second length offset and
of cou...
2019 Jan 03
1
Golang libvirt bindings problem
...ry to compile the source dynamically (running the same go <command>
commands) the app works/checks out as expected and works without any
problem.
I tried this on:
- CentOS 7.6 (go version 1.11.2)
- Ubuntu 18.04 LTS (go version 1.10.4)
Both systems - as advised on project's github pages/godoc.org - have
libvirt-dev package installed. Also, the libvirt module is imported as
advised:
libvirt "github.com/libvirt/libvirt-go"
GOPATH is set to /home/$USER/go
I downloaded the package via go get; go get -v -u
github.com/libvirt/libvirt-go. Please if somebody encountered this before...
2018 Sep 17
7
add keys and certificate to forwarded agent on remote host
Apologies if this post is inappropriate to this list; please redirect me
if so.
Our team uses ssh extensively for server access and maintenance
(Debian). An issue is acting as root when operating, for example, over
ansible and keeping a record of who performed the actions, something ssh
certificates solves well.
The problem is then to automate certificate issuance since it would be
pretty
2016 Jun 30
1
Noob: need help with go bindings
That did it, thanks for the help! For the future is there a set of
documentation for these bindings, or their equivalent c functions? I tried
looking but was having trouble finding anything that seemed to match.
On Wed, Jun 29, 2016 at 1:35 AM Andrew Wilkins <axwalk at gmail.com> wrote:
> On Wed, 29 Jun 2016 at 00:32 Brian Picciano via llvm-dev <
> llvm-dev at lists.llvm.org>
2014 Jul 13
2
Re: golang binding help
2014-07-12 14:00 GMT+04:00 Richard W.M. Jones <rjones@redhat.com>:
> It depends entirely on what the Linux kernel and tools can do. If
> there are properly maintained Linux tools for resizing BSD slices,
> then it should be no problem to add this.
>
> Compare with 'ntfsresize', where ntfs-3g exists and is well-maintained
> and available in the majority of Linux
2014 Jul 11
2
Re: golang binding help
...possible to add
ability to resize freebsd slices ?
>
>> 1) resize filesystem to minimum
>> 2) resize partitions to minimum
>> 3) create/resize file with needed size
>>
>> But golang binding have not docs. Is that possible to generate
>> something suitable to godoc.org to determine api methods and
>> input,output variables for functions?
>
> So a few different things here:
>
> (a) Yes, we should add golang docs. However I don't know how to do
> that. If you can point me to some documentation about writing
> documentation for gola...