Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

backend: fixed go deps #966

Merged
merged 1 commit into from
Feb 11, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
39 changes: 19 additions & 20 deletions backend/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/cilium/hubble-ui/backend
go 1.23.5

require (
github.com/cilium/cilium v1.16.6
github.com/cilium/cilium v1.17.0
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Replace directives need to be updated.

github.com/google/gops v0.3.28
github.com/grpc-ecosystem/grpc-gateway v1.16.0
github.com/julienschmidt/httprouter v1.3.0
Expand All @@ -24,9 +24,11 @@ require (
github.com/beorn7/perks v1.0.1 // indirect
github.com/blang/semver/v4 v4.0.0 // indirect
github.com/cespare/xxhash/v2 v2.3.0 // indirect
github.com/cilium/ebpf v0.17.2 // indirect
github.com/cilium/hive v0.0.0-20250123101719-ef9b68363b0c // indirect
github.com/cilium/proxy v0.0.0-20250130165955-f0d28a4d0751 // indirect
github.com/cilium/ebpf v0.17.1 // indirect
github.com/cilium/hive v0.0.0-20250206110837-3a9e5694e24a // indirect
github.com/cilium/proxy v0.0.0-20250211021819-e85e926b0fa4 // indirect
github.com/cilium/statedb v0.3.5 // indirect
github.com/cilium/stream v0.0.0-20241203114243-53c3e5d79744 // indirect
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
github.com/emicklei/go-restful/v3 v3.12.1 // indirect
github.com/fsnotify/fsnotify v1.8.0 // indirect
Expand All @@ -50,18 +52,17 @@ require (
github.com/google/gnostic-models v0.6.9 // indirect
github.com/google/go-cmp v0.6.0 // indirect
github.com/google/gofuzz v1.2.0 // indirect
github.com/google/gopacket v1.1.19 // indirect
github.com/google/uuid v1.6.0 // indirect
github.com/gopacket/gopacket v1.3.1 // indirect
github.com/hashicorp/hcl v1.0.1-vault-7 // indirect
github.com/inconshreveable/mousetrap v1.1.0 // indirect
github.com/josharian/intern v1.0.0 // indirect
github.com/json-iterator/go v1.1.12 // indirect
github.com/klauspost/compress v1.17.11 // indirect
github.com/kr/pretty v0.3.1 // indirect
github.com/kr/text v0.2.0 // indirect
github.com/mackerelio/go-osstat v0.2.5 // indirect
github.com/magiconair/properties v1.8.9 // indirect
github.com/mailru/easyjson v0.9.0 // indirect
github.com/mitchellh/go-wordwrap v1.0.1 // indirect
github.com/mitchellh/mapstructure v1.5.0 // indirect
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/reflect2 v1.0.2 // indirect
Expand All @@ -70,12 +71,10 @@ require (
github.com/opentracing/opentracing-go v1.2.1-0.20220228012449-10b1cf09e00b // indirect
github.com/pelletier/go-toml/v2 v2.2.3 // indirect
github.com/petermattis/goid v0.0.0-20250121172306-05bcfb9a85dc // indirect
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
github.com/prometheus/client_golang v1.20.5 // indirect
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.62.0 // indirect
github.com/prometheus/procfs v0.15.1 // indirect
github.com/rogpeppe/go-internal v1.13.1 // indirect
github.com/sagikazarmark/locafero v0.7.0 // indirect
github.com/sagikazarmark/slog-shim v0.1.0 // indirect
github.com/sasha-s/go-deadlock v0.3.5 // indirect
Expand All @@ -98,17 +97,17 @@ require (
go.uber.org/dig v1.18.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
go4.org/netipx v0.0.0-20231129151722-fdeea329fbba // indirect
golang.org/x/exp v0.0.0-20250128182459-e0ece0dbea4c // indirect
golang.org/x/net v0.34.0 // indirect
golang.org/x/oauth2 v0.25.0 // indirect
golang.org/x/sync v0.10.0 // indirect
golang.org/x/term v0.28.0 // indirect
golang.org/x/text v0.21.0 // indirect
golang.org/x/time v0.9.0 // indirect
golang.org/x/tools v0.29.0 // indirect
google.golang.org/genproto v0.0.0-20250127172529-29210b9bc287 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20250127172529-29210b9bc287 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20250127172529-29210b9bc287 // indirect
golang.org/x/exp v0.0.0-20250210185358-939b2ce775ac // indirect
golang.org/x/net v0.35.0 // indirect
golang.org/x/oauth2 v0.26.0 // indirect
golang.org/x/sync v0.11.0 // indirect
golang.org/x/term v0.29.0 // indirect
golang.org/x/text v0.22.0 // indirect
golang.org/x/time v0.10.0 // indirect
golang.org/x/tools v0.30.0 // indirect
google.golang.org/genproto v0.0.0-20250207221924-e9438ea467c6 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20250207221924-e9438ea467c6 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20250207221924-e9438ea467c6 // indirect
gopkg.in/evanphx/json-patch.v4 v4.12.0 // indirect
gopkg.in/inf.v0 v0.9.1 // indirect
gopkg.in/ini.v1 v1.67.0 // indirect
Expand Down
84 changes: 44 additions & 40 deletions backend/go.sum

Large diffs are not rendered by default.

22 changes: 18 additions & 4 deletions backend/proto/flow/flow.proto
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,9 @@ message Flow {
TraceObservationPoint trace_observation_point = 24;
// Cilium datapath trace reason info.
TraceReason trace_reason = 36;
// Cilium datapath filename and line number. Currently only applicable when
// Verdict = DROPPED.
FileInfo file = 38;

// only applicable to Verdict = DROPPED.
DropReason drop_reason_desc = 25;
Expand Down Expand Up @@ -204,6 +207,11 @@ enum TraceReason {
ENCRYPT_OVERLAY = 8;
}

message FileInfo {
string name = 1;
uint32 line = 2;
}

message Layer4 {
oneof protocol {
TCP TCP = 1;
Expand Down Expand Up @@ -275,8 +283,9 @@ message TCP {

message IP {
string source = 1;
// source_xlated is the post translation source IP when the flow was SNATed
// (and in that case source is the the original source IP).
// source_xlated is the post-translation source IP when the flow was
// SNATed. When "source_xlated" is set, the "source" field is populated
// with the pre-translation source IP address.
string source_xlated = 5;
string destination = 2;
IPVersion ipVersion = 3;
Expand Down Expand Up @@ -434,8 +443,8 @@ enum DropReason {
// A BPF program wants to tail call into bpf_host, but the host datapath
// hasn't been loaded yet.
DROP_HOST_NOT_READY = 202;
// A BPF program wants to tail call some endpoint's policy program in the
// POLICY_CALL_MAP, but the program is not available.
// A BPF program wants to tail call some endpoint's policy program in
// cilium_call_policy, but the program is not available.
DROP_EP_NOT_READY = 203;
// An Egress Gateway node matched a packet against an Egress Gateway policy
// that didn't select a valid Egress IP.
Expand Down Expand Up @@ -467,6 +476,7 @@ message Policy {
string namespace = 2;
repeated string labels = 3;
uint64 revision = 4;
string kind = 5;
}

// EventTypeFilter is a filter describing a particular event type.
Expand Down Expand Up @@ -525,6 +535,8 @@ message FlowFilter {
repeated string source_service = 16;
// source_workload filters by a list of source workload.
repeated Workload source_workload = 26;
// source_cluster_name filters by a list of source cluster names.
repeated string source_cluster_name = 37;

// destination_ip filters by a list of destination ips. Each of the
// destination ips can be specified as an exact match (e.g. "1.1.1.1") or
Expand All @@ -540,6 +552,8 @@ message FlowFilter {
repeated string destination_service = 17;
// destination_workload filters by a list of destination workload.
repeated Workload destination_workload = 27;
// destination_cluster_name filters by a list of destination cluster names.
repeated string destination_cluster_name = 38;

// traffic_direction filters flow by direction of the connection, e.g.
// ingress or egress.
Expand Down
Loading
Loading