Based on https://github.com/goharbor/harbor/blob/main/src/controller/event/topic.go
- TopicCreateProject
- TopicDeleteProject
- TopicPushArtifact
- TopicPullArtifact
- TopicDeleteArtifact
- TopicDeleteRepository
Based on https://github.com/goharbor/harbor/blob/main/src/controller/event/topic.go
apiVersion: helm.cattle.io/v1 | |
kind: HelmChart | |
metadata: | |
name: prometheus-operator | |
namespace: kube-system | |
spec: | |
chart: stable/prometheus-operator | |
targetNamespace: prometheus | |
valuesContent: |- | |
alertmanager: |
Tue Oct 16 12:45:29 UTC 2018 |
➜ kvt git:(kvt) ✗ bash gergely@gdell:~/go/src/github.com/origoss/ebpf/kvt$ vagrant -v Vagrant 2.1.2 gergely@gdell:~/go/src/github.com/origoss/ebpf/kvt$ vagrant up Bringing machine 'ubuntu-1604-lts' up with 'google' provider... Bringing machine 'centos-7' up with 'google' provider... Bringing machine 'debian-9' up with 'google' provider... ==> centos-7: Checking if box 'google/gce' is up to date... ==> ubuntu-1604-lts: Checking if box 'google/gce' is up to date...
(ns bigobj.core | |
(:require-macros [bigobj.macros :as m])) | |
(def o1 (m/bigobj 10 3)) ;; Compiles successfully | |
(def o2 (m/bigobj 1 100)) ;; Compiles successfully | |
(def o3 (m/bigobj 100 100)) ;; Compiles successfully | |
(def o4 (m/bigobj 10000 1)) ;; Does not compile |
(ns why-is-that.core) | |
(def test-1 (list (fn [arg] | |
arg) 1)) | |
;; (eval test-1) -> 1 | |
(def test-2 (list ((fn [] | |
(fn [arg] | |
['hello arg]))) 1)) |
(ns simpleq.core) | |
(defn- start-simpleq-thread-loop [q thread-active exception] | |
(.start (Thread. | |
#((comment println "Thread started") | |
(loop [expr (first @q)] | |
(comment println "Sleeping for 2 sec") | |
(comment Thread/sleep 2000) | |
(comment println (str "Executing " expr)) |
$ cd $GOPATH | |
$ git clone http://github.com/szamuboy/mingo.git | |
Cloning into 'mingo'... | |
remote: Counting objects: 7, done. | |
remote: Compressing objects: 100% (5/5), done. | |
remote: Total 7 (delta 0), reused 4 (delta 0), pack-reused 0 | |
Unpacking objects: 100% (7/7), done. | |
Checking connectivity... done. | |
$ cd mingo | |
$ apc app create |
2015-02-11_13:03:44.34806 [INFO 2015-02-11 13:03:44.347804524 +0000 UTC hostname='vm' category='instance_manager' context='a703f82b-a0ed-46b6-93d5-e5d665b0a7bd'] container.(*StateMachine).changeState: Switching state: NEW -> SETUP | |
2015-02-11_13:03:44.63240 [INFO 2015-02-11 13:03:44.630017368 +0000 UTC hostname='vm' category='instance_manager' context='9aaa0301-a688-4ec0-88ca-b8d1ab0b196a'] container.(*StateMachine).changeState: Switching state: TEARDOWN -> REMOVED | |
2015-02-11_13:03:47.78046 [ERROR 2015-02-11 13:03:47.778316545 +0000 UTC hostname='vm' category='instance_manager' context='default'] netfilter.deleteQdiscSfq: /sbin/tc error: exit status 2 "RTNETLINK answers: No such file or directory\n" | |
2015-02-11_13:03:47.78050 apcera/continuum/common/log/log.go:63 log.Errorf | |
2015-02-11_13:03:47.78052 apcera/continuum/instance_manager/container/netfilter/netlimit.go:155 netfilter.deleteQdiscSfq | |
2015-02-11_13:03:47.78053 apcera/continuum/instance_manager/container/netfilter/netlimit.go:323 netfil |
$ apc version | |
0.14.1 (release-403c-0-g859acc1) | |
$ apc capsule create cap2 --allow-egress -i linux | |
╭─────────────────────────────────────────────╮ | |
│ Capsule Settings │ | |
├─────────────┬───────────────────────────────┤ | |
│ FQN: │ job::/sandbox/developer::cap2 │ | |
│ Image: │ linux │ | |
│ CPU: │ 0ms/s (uncapped) │ |