This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"log" | |
"net" | |
"sync" | |
"time" | |
pb "github.com/pramonow/go-grpc-server-streaming-example/src/proto" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"context" | |
"io" | |
"log" | |
pb "github.com/pramonow/go-grpc-server-streaming-example/src/proto" | |
"google.golang.org/grpc" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
```bash | |
[harshal@oc1472752102 cri-o]$ make testunit | |
rm -rf /home/harshal/go/src/github.com/cri-o/cri-o/build/coverage && mkdir -p /home/harshal/go/src/github.com/cri-o/cri-o/build/coverage | |
rm -rf /home/harshal/go/src/github.com/cri-o/cri-o/build/junit && mkdir -p /home/harshal/go/src/github.com/cri-o/cri-o/build/junit | |
/home/harshal/go/src/github.com/cri-o/cri-o/build/bin/ginkgo \ | |
\ | |
-r \ | |
--trace \ | |
--cover \ | |
--covermode atomic \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# The "plugins.cri" table contains all of the server options. | |
[plugins.cri] | |
# stream_server_address is the ip address streaming server is listening on. | |
stream_server_address = "" | |
# stream_server_port is the port streaming server is listening on. | |
stream_server_port = "10010" | |
# enable_selinux indicates to enable the selinux support. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// To regenerate api.pb.go run hack/update-generated-runtime.sh | |
syntax = 'proto2'; | |
package runtime; | |
// Runtime service defines the public APIs for remote container runtimes | |
service RuntimeService { | |
// Version returns the runtime name, runtime version, and runtime API version. | |
rpc Version(VersionRequest) returns (VersionResponse) {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
service --status-all | |
[ + ] acpid | |
[ + ] agnLogd | |
[ + ] agnclientd | |
[ - ] anacron | |
[ + ] apparmor | |
[ ? ] apport | |
[ + ] autoprotect | |
[ + ] autoprotect.real | |
[ + ] avahi-daemon |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[pid 20294] <... open resumed> ) = 4 | |
[pid 19907] <... close resumed> ) = 0 | |
[pid 20294] fstat(4, <unfinished ...> | |
[pid 19905] select(0, NULL, NULL, NULL, {0, 20} <unfinished ...> | |
[pid 20294] <... fstat resumed> {st_dev=makedev(0, 3), st_ino=3892578, st_mode=S_IFREG|0444, st_nlink=1, st_uid=0, st_gid=0, st_blksize=1024, st_blocks=0, st_size=0, st_atime=2015/07/27-22:15:20, st_mtime=2015/07/27-22:15:20, st_ctime=2015/07/27-22:15:20}) = 0 | |
[pid 19907] close(13 <unfinished ...> | |
[pid 20294] mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 <unfinished ...> | |
[pid 19907] <... close resumed> ) = 0 | |
[pid 20294] <... mmap resumed> ) = 0x7f60970e6000 | |
[pid 19907] close(14 <unfinished ...> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"schemaVersion": 2, | |
"target": { | |
"mediaType": "application/vnd.docker.container.image.v2", | |
"length": 7023, | |
"digest": "sha256:b5b2b2c507a0944348e0303114d8d93aaaa081732b86451d9bce1f432a537bc7" | |
}, | |
"dependencies": [{ | |
"mediaType": "application/vnd.docker.container.image.rootfs.diff+x-tar", | |
"length": 16724, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"dependencies": [{ | |
"mediaType": "application/vnd.docker.container.image.rootfs.diff+x-tar", | |
"length": 16724, | |
"digest": "sha256:3c3a4604a545cdc127456d94e421cd355bca5b528f4a9c1905b15da2eb4a4c6b" | |
}, | |
{ | |
"mediaType": "application/vnd.docker.container.image.rootfs.diff+x-tar", | |
"length": 16724, | |
"digest": "sha256:3c3a4604a545cdc127456d94e421cd355bca5b528f4a9c1905b15da2eb4a4c6b" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"schemaVersion": 2, | |
"target": { | |
"mediaType": "application/vnd.docker.container.image.v1+json", | |
"length": 7023, | |
"digest": "sha256:b5b2b2c507a0944348e0303114d8d93aaaa081732b86451d9bce1f432a537bc7" | |
}, | |
"dependencies": [ | |
{ |