Skip to content
This repository has been archived by the owner on Oct 10, 2023. It is now read-only.

Commit

Permalink
Removing tkrtypes directory by moving in required code to tkg/registr…
Browse files Browse the repository at this point in the history
…y directory (#3430)

Signed-off-by: Sathyanarayanan Saravanamuthu <sathyanarays@.vmware.com>
  • Loading branch information
sathyanarays authored Sep 20, 2022
1 parent e6acf05 commit 6ab1811
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 25 deletions.
4 changes: 1 addition & 3 deletions tkg/registry/client_integ_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ import (
"testing"

ctlimg "github.com/k14s/imgpkg/pkg/imgpkg/registry"

"github.com/vmware-tanzu/tanzu-framework/tkg/tkrtypes"
)

func TestRegistryPullBOM(t *testing.T) {
Expand Down Expand Up @@ -51,7 +49,7 @@ func TestRegistryPullBOM(t *testing.T) {
t.Fatalf("error getting image content should not occurs %s", err.Error())
}

bom, err := tkrtypes.NewBom(content)
bom, err := NewBom(content)
if err != nil {
t.Fatalf("error parsing bom content should not occurs %s", err.Error())
}
Expand Down
2 changes: 1 addition & 1 deletion tkg/tkrtypes/bom.go → tkg/registry/util_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright 2021 VMware, Inc. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0

package tkrtypes
package registry

import (
"fmt"
Expand Down
15 changes: 0 additions & 15 deletions tkg/tkrtypes/bommetadata.go

This file was deleted.

6 changes: 0 additions & 6 deletions tkg/tkrtypes/doc.go

This file was deleted.

0 comments on commit 6ab1811

Please # to comment.