Skip to content

Commit

Permalink
fix: native client mock should be generated with go gen
Browse files Browse the repository at this point in the history
Signed-off-by: pashakostohrys <[email protected]>
  • Loading branch information
pasha-codefresh committed Apr 16, 2024
1 parent e12fae8 commit 9ef6404
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 21 deletions.
2 changes: 2 additions & 0 deletions util/helm/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ var (
OCINotEnabledErr = errors.New("could not perform the action when oci is not enabled")
)

//go:generate go run github.com/vektra/mockery/[email protected] --name=Client

type Creds struct {
Username string
Password string
Expand Down
69 changes: 48 additions & 21 deletions util/helm/mocks/Client.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 9ef6404

Please sign in to comment.