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

Add additional types to kubernetes metadata #7457

Merged
merged 1 commit into from
Jun 29, 2018

Conversation

vjsamuel
Copy link
Contributor

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.

@elasticmachine
Copy link
Collaborator

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?


// Container data
type Container = v1.Container
type ContainerPort = v1.ContainerPort

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

// Pod data
type Pod = v1.Pod
type PodSpec = v1.PodSpec
type PodStatus = v1.PodStatus

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

// Pod data
type Pod = v1.Pod
type PodSpec = v1.PodSpec

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

@@ -34,11 +34,16 @@ func init() {
// Resource data
type Resource = k8s.Resource

type ObjectMeta = metav1.ObjectMeta

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

@vjsamuel vjsamuel force-pushed the add_types_kubernetes_metadata branch 2 times, most recently from a755aa6 to b1784e4 Compare June 28, 2018 04:28
@ruflin ruflin requested a review from exekias June 28, 2018 06:54
@ruflin ruflin added review libbeat containers Related to containers use case labels Jun 28, 2018
Copy link
Contributor

@exekias exekias left a 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?

@vjsamuel vjsamuel force-pushed the add_types_kubernetes_metadata branch from b1784e4 to c94880e Compare June 28, 2018 16:35
@vjsamuel
Copy link
Contributor Author

@exekias done.

@exekias
Copy link
Contributor

exekias commented Jun 28, 2018

ok to test

@exekias exekias merged commit aec7f10 into elastic:master Jun 29, 2018
@vjsamuel vjsamuel deleted the add_types_kubernetes_metadata branch July 25, 2018 06:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
containers Related to containers use case libbeat review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants