diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b5eda5b..e22b1b1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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} \ diff --git a/examples/go/main.go b/examples/go/main.go index 3ed83d2..5c3e81c 100644 --- a/examples/go/main.go +++ b/examples/go/main.go @@ -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 { @@ -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 @@ -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 {