Skip to content

Commit

Permalink
prepare example method names for daggerverse
Browse files Browse the repository at this point in the history
  • Loading branch information
chrira committed Jul 24, 2024
1 parent 66b3e64 commit 60d051c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
TEST_HELM_REGISTRY_HELM_PASSWORD: ${{ secrets.TEST_HELM_REGISTRY_HELM_PASSWORD }}
run: |
dagger -m examples/go/ \
call package-push \
call helm-packagepush \
--registry ${TEST_HELM_REGISTRY_URL} \
--repository ${TEST_HELM_REGISTRY_REPOSITORY} \
--username ${TEST_HELM_REGISTRY_HELM_USER} \
Expand Down
10 changes: 5 additions & 5 deletions examples/go/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ type Go struct{}
func (m *Go) All(ctx context.Context) error {
p := pool.New().WithErrors().WithContext(ctx)

p.Go(m.Version)
p.Go(m.Test)
p.Go(m.HelmVersion)
p.Go(m.HelmTest)

return p.Wait()
}

func (m *Go) Version(
func (m *Go) HelmVersion(
// method call context
ctx context.Context,
) error {
Expand All @@ -42,7 +42,7 @@ func (m *Go) Version(
return nil
}

func (h *Go) PackagePush(
func (h *Go) HelmPackagepush(
// method call context
ctx context.Context,
// URL of the registry
Expand Down Expand Up @@ -72,7 +72,7 @@ func (h *Go) PackagePush(
return nil
}

func (m *Go) Test(
func (m *Go) HelmTest(
// method call context
ctx context.Context,
) error {
Expand Down

0 comments on commit 60d051c

Please sign in to comment.