Skip to content

Commit

Permalink
feat: Add S3 source
Browse files Browse the repository at this point in the history
  • Loading branch information
alexec committed Jul 26, 2021
1 parent 9e17d95 commit 3e9334c
Show file tree
Hide file tree
Showing 32 changed files with 2,461 additions and 302 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ pprof:
go tool pprof -web http://127.0.0.1:3569/debug/pprof/profile?seconds=10
curl -s http://127.0.0.1:3569/debug/pprof/trace\?seconds\=10 | go tool trace /dev/stdin

pre-commit: codegen test install runner lint start
pre-commit: codegen test install runner testapi lint start

codegen: generate manifests proto config/ci.yaml config/default.yaml config/dev.yaml config/kafka-dev.yaml config/metrics-server.yaml config/quick-start.yaml config/stan-dev.yaml examples CHANGELOG.md
go generate ./...
Expand Down
8 changes: 8 additions & 0 deletions api/v1alpha1/aws_credentials.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
package v1alpha1

import corev1 "k8s.io/api/core/v1"

type AWSCredentials struct {
AccessKeyID corev1.SecretKeySelector `json:"accessKeyId" protobuf:"bytes,1,opt,name=accessKeyId"`
SecretAccessKey corev1.SecretKeySelector `json:"secretAccessKey" protobuf:"bytes,2,opt,name=secretAccessKey"`
}
5 changes: 5 additions & 0 deletions api/v1alpha1/aws_endpoint.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
package v1alpha1

type AWSEndpoint struct {
URL string `json:"url" protobuf:"bytes,1,opt,name=url"`
}
Loading

0 comments on commit 3e9334c

Please sign in to comment.