Commit Graph

9 Commits

Author SHA1 Message Date
mattmoor-sockpuppet 1864f499dc golang format tools (#497)
Produced via:
  `gofmt -s -w $(find -path './vendor' -prune -o -type f -name '*.go' -print))`
  `goimports -w $(find -name '*.go' | grep -v vendor)`
/assign @mattmoor
2019-06-27 07:37:08 -07:00
Matt Moore 222dd25986 Migrate pkg to use the knative.dev/pkg import path (#489)
* Manual changes.

* scripted changes.
2019-06-26 13:02:06 -07:00
Scott Nichols fda62c696b Revert delete of cloudevents. (#356) 2019-03-29 16:01:54 -07:00
Scott Nichols 5e5f376ef5 Delete pkg/cloudevents, use cloudevents/sdk-go instead. (#330)
* Delete pkg/cloudevents, use cloudevents/sdk-go instead.

* update deps.
2019-03-19 17:55:46 -07:00
mattmoor-sockpuppet 4f143e6ce3 golang format tools (#263)
Produced via:
  `gofmt -s -w $(find -path './vendor' -prune -o -type f -name '*.go' -print))`
  `goimports -w $(find -name '*.go' | grep -v vendor)`
2019-02-07 08:17:41 -08:00
Victor Agababov 267197692a Use the k8s sets for the code that is actually set of strings (#261) 2019-02-04 14:35:41 -08:00
Evan Anderson a118428db1 Add support for v0.2 CloudEvents "context attributes". (#248)
* CloudEvents v0.2 support, step 1: interfaces and versioned types.

Signed-off-by: Evan Anderson <evan.k.anderson@gmail.com>

* Add support for v0.2 event types. (Breaking change in return types!)

Signed-off-by: Evan Anderson <evan.k.anderson@gmail.com>

* Move DataContentType() to be common across Senders and Receivers.

Signed-off-by: Evan Anderson <evan.k.anderson@gmail.com>

* Add comment on why test code is commented out.

Signed-off-by: Evan Anderson <evan.k.anderson@gmail.com>

* Address @vagababov review.

* Add another test case and better cover extensions in handler tests.
2019-02-01 22:23:38 -08:00
Scott Nichols b531944062 integrating exposed some minor issues. fixed. (#251) 2019-01-29 10:00:37 -08:00
Scott Nichols 61acd8a35b Add CloudEvents Client to sdk (#241)
* Add docs to help bootstrap cloud event sdk usage.

* add go markdown label.

* prettier markdown.

* well golang wants tabs but markdown does not i guess so... fight!

* adding me as an owner of this code.

* adding ville to the hook.

* Pushing new client and builder.

* good example of how to use the encoding settings int he builder.

* make it more clear,.

* prep for merge.

* adding tests.

* adding extenion tests.

* adding test for empty original extensions.

* Adding valid builder tests.

* adding client tests.

* Removing encoding from enum names.

* ran prettier.

* fix spacing.

* Update cloudevents/README.md

Co-Authored-By: n3wscott <32305648+n3wscott@users.noreply.github.com>

* Update based on feedback.

* adding builder to new client.

* update producer paragraph.

* trail space.

* trail space.
2019-01-28 20:09:15 -08:00