Skip to content

tilt: pull k8s fields out to K8SResourceInfo#917

Merged
landism merged 3 commits into
masterfrom
mlandis/ch1198/move-k8s-specific-resourceview-fields-to
Jan 4, 2019
Merged

tilt: pull k8s fields out to K8SResourceInfo#917
landism merged 3 commits into
masterfrom
mlandis/ch1198/move-k8s-specific-resourceview-fields-to

Conversation

@landism

@landism landism commented Jan 3, 2019

Copy link
Copy Markdown
Member

No description provided.

@landism
landism requested review from maiamcc and nicks January 3, 2019 21:19

@maiamcc maiamcc left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

amazing, thanks 👏

Comment thread internal/hud/renderer.go Outdated
len(res.LastBuild().Log) > 0 {
return string(res.LastBuild().Log) + "\n" + res.PodLog
}
// TODO(matt) figure out what to do with DC logs once we have DC timestamps

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

we've already got a type switch for DC further up in this function, put this todo up there

if it's NOT either DC or k8s, do we want to freak out?

@landism landism Jan 4, 2019

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

we've already got a type switch for DC further up in this function, put this todo up there

done

if it's NOT either DC or k8s, do we want to freak out?

nope, it might be yaml

Comment thread internal/hud/renderer.go
Comment thread internal/hud/renderer_test.go
Comment thread internal/hud/resourceview.go
Comment thread internal/hud/view/view.go Outdated
Comment thread internal/hud/view/view.go
@@ -9,22 +9,55 @@ import (

type ResourceInfoView interface {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

hmm should the resourceinfo stuff be its own file?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

maybe, but that's easy to do later, and we're about to have a few commits moving fields between these types, so might as well leave them together for now?

@landism
landism merged commit bdcfcd3 into master Jan 4, 2019
@landism
landism deleted the mlandis/ch1198/move-k8s-specific-resourceview-fields-to branch January 4, 2019 19:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants