Skip to content

add render interface to deployers which is not implemented#2834

Merged
tejal29 merged 3 commits intoGoogleContainerTools:masterfrom
tejal29:add_render_method
Sep 16, 2019
Merged

add render interface to deployers which is not implemented#2834
tejal29 merged 3 commits intoGoogleContainerTools:masterfrom
tejal29:add_render_method

Conversation

@tejal29
Copy link
Copy Markdown
Contributor

@tejal29 tejal29 commented Sep 6, 2019

This is for #1187 and #1937

In this PR, we define an interface Render to Deployer and all the deployers have no implementation.

Next

  • Add implementation to kubectl deployer
  • Add a render command to skaffold.

@codecov
Copy link
Copy Markdown

codecov Bot commented Sep 6, 2019

Codecov Report

Merging #2834 into master will increase coverage by 0.01%.
The diff coverage is 100%.

Impacted Files Coverage Δ
pkg/skaffold/deploy/deploy.go 100% <ø> (ø) ⬆️
pkg/skaffold/deploy/kustomize.go 74.19% <100%> (+0.42%) ⬆️
pkg/skaffold/deploy/kubectl.go 65.54% <100%> (+0.58%) ⬆️
pkg/skaffold/deploy/helm.go 74.2% <100%> (+0.2%) ⬆️

Comment thread pkg/skaffold/runner/runner_test.go Outdated
}

func (t *TestBench) Render(_ context.Context, _ io.Writer, artifacts []build.Artifact, _ string) error {
return fmt.Errorf("not yet implemented")
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.

nit: return errors.New() , just to match the other ones? :)

@tejal29 tejal29 merged commit e1f77df into GoogleContainerTools:master Sep 16, 2019
@tejal29 tejal29 deleted the add_render_method branch April 15, 2021 07:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants