-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Add additional types to kubernetes metadata #7457
Add additional types to kubernetes metadata #7457
Conversation
Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually? |
libbeat/common/kubernetes/types.go
Outdated
|
||
// Container data | ||
type Container = v1.Container | ||
type ContainerPort = v1.ContainerPort |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
exported type ContainerPort should have comment or be unexported
libbeat/common/kubernetes/types.go
Outdated
// Pod data | ||
type Pod = v1.Pod | ||
type PodSpec = v1.PodSpec | ||
type PodStatus = v1.PodStatus |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
exported type PodStatus should have comment or be unexported
libbeat/common/kubernetes/types.go
Outdated
// Pod data | ||
type Pod = v1.Pod | ||
type PodSpec = v1.PodSpec |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
exported type PodSpec should have comment or be unexported
libbeat/common/kubernetes/types.go
Outdated
@@ -34,11 +34,16 @@ func init() { | |||
// Resource data | |||
type Resource = k8s.Resource | |||
|
|||
type ObjectMeta = metav1.ObjectMeta |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
exported type ObjectMeta should have comment or be unexported
a755aa6
to
b1784e4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, could you please add the comments requested by hound?
b1784e4
to
c94880e
Compare
@exekias done. |
ok to test |
The lack of the below type definitions is impacting testing custom indexers that are loaded in as go-plugins. It would be nice to have them defined as well.