Skip to content

btf: unexport decoder.TypesByName#2055

Draft
ti-mo wants to merge 1 commit into
cilium:mainfrom
ti-mo:tb/unexport-decoder-typesbyname
Draft

btf: unexport decoder.TypesByName#2055
ti-mo wants to merge 1 commit into
cilium:mainfrom
ti-mo:tb/unexport-decoder-typesbyname

Conversation

@ti-mo

@ti-mo ti-mo commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

It looks like this had been exported by mistake in v0.19.0 and nobody noticed. The same happened to decoder.TypeByID and decoder.TypeID, but those were shadowed by their Spec equivalents.

@dylandreimerink WDYT? This is still inconsistent, not sure about committing to making it a named field instead.

It looks like this had been exported by mistake in v0.19.0 and nobody noticed.
The same happened to decoder.TypeByID and decoder.TypeID, but those were
shadowed by their Spec equivalents.

Signed-off-by: Timo Beckers <timo@isovalent.com>
@github-actions github-actions Bot added the breaking-change Changes exported API label Jul 8, 2026

@dylandreimerink dylandreimerink left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I don't imagine unexporting is going to be an issue, I don't expect anyone to use these since the decoder itself is also unexported.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking-change Changes exported API

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants