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 render interface to deployers which is not implemented #2834

Merged
merged 3 commits into from
Sep 16, 2019

Conversation

tejal29
Copy link
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

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%) ⬆️

@@ -170,6 +170,10 @@ func (t *TestBench) Deploy(_ context.Context, _ io.Writer, artifacts []build.Art
return deploy.NewDeploySuccessResult(t.namespaces)
}

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