zot-wo-auth/pkg/cli/client
Andrei Aaron ba6f347d8d
refactor(pkg/test): split logic in pkg/test/common.go into multiple packages (#1861)
Which could be imported independently. See more details:
1. "zotregistry.io/zot/pkg/test/common" - currently used as
   tcommon "zotregistry.io/zot/pkg/test/common" - inside pkg/test
   test "zotregistry.io/zot/pkg/test/common" - in tests
   . "zotregistry.io/zot/pkg/test/common" - in tests
Decouple zb from code in test/pkg in order to keep the size small.

2. "zotregistry.io/zot/pkg/test/image-utils" - curently used as
   . "zotregistry.io/zot/pkg/test/image-utils"

3. "zotregistry.io/zot/pkg/test/deprecated" -  curently used as
   "zotregistry.io/zot/pkg/test/deprecated"
This one will bre replaced gradually by image-utils in the future.

4. "zotregistry.io/zot/pkg/test/signature" - (cosign + notation) use as
   "zotregistry.io/zot/pkg/test/signature"

5. "zotregistry.io/zot/pkg/test/auth" - (bearer + oidc)  curently used as
   authutils "zotregistry.io/zot/pkg/test/auth"

 6. "zotregistry.io/zot/pkg/test/oci-utils" -  curently used as
   ociutils "zotregistry.io/zot/pkg/test/oci-utils"

Some unused functions were removed, some were replaced, and in
a few cases specific funtions were moved to the files they were used in.

Added an interface for the StoreController, this reduces the number of imports
of the entire image store, decreasing binary size for tests.
If the zb code was still coupled with pkg/test, this would have reflected in zb size.

Signed-off-by: Andrei Aaron <aaaron@luxoft.com>
2023-09-27 11:34:48 -07:00
..
cli.go refactor: Reduce zli binary size (#1805) 2023-09-15 15:17:01 -07:00
client.go refactor: Reduce zli binary size (#1805) 2023-09-15 15:17:01 -07:00
config_cmd_internal_test.go refactor: Reduce zli binary size (#1805) 2023-09-15 15:17:01 -07:00
config_cmd.go refactor: Reduce zli binary size (#1805) 2023-09-15 15:17:01 -07:00
cve_cmd_internal_test.go refactor(pkg/test): split logic in pkg/test/common.go into multiple packages (#1861) 2023-09-27 11:34:48 -07:00
cves_cmd.go refactor(cli): Move cmdflags package under pkg/cli/client (#1840) 2023-09-22 16:33:18 +03:00
cves_sub_cmd.go refactor(cli): Move cmdflags package under pkg/cli/client (#1840) 2023-09-22 16:33:18 +03:00
discover.go refactor: Reduce zli binary size (#1805) 2023-09-15 15:17:01 -07:00
elevated_internal_test.go refactor(pkg/test): split logic in pkg/test/common.go into multiple packages (#1861) 2023-09-27 11:34:48 -07:00
flags_test.go refactor(cli): Move cmdflags package under pkg/cli/client (#1840) 2023-09-22 16:33:18 +03:00
flags.go refactor(cli): Move cmdflags package under pkg/cli/client (#1840) 2023-09-22 16:33:18 +03:00
gql_queries_internal_test.go refactor(pkg/test): split logic in pkg/test/common.go into multiple packages (#1861) 2023-09-27 11:34:48 -07:00
gql_queries.go refactor: Reduce zli binary size (#1805) 2023-09-15 15:17:01 -07:00
image_cmd_internal_test.go refactor(pkg/test): split logic in pkg/test/common.go into multiple packages (#1861) 2023-09-27 11:34:48 -07:00
image_cmd.go refactor(cli): Move cmdflags package under pkg/cli/client (#1840) 2023-09-22 16:33:18 +03:00
image_sub_cmd.go refactor(cli): Move cmdflags package under pkg/cli/client (#1840) 2023-09-22 16:33:18 +03:00
internal_test.go refactor(pkg/test): split logic in pkg/test/common.go into multiple packages (#1861) 2023-09-27 11:34:48 -07:00
repo_cmd.go refactor(cli): Move cmdflags package under pkg/cli/client (#1840) 2023-09-22 16:33:18 +03:00
repo_internal_test.go refactor(pkg/test): split logic in pkg/test/common.go into multiple packages (#1861) 2023-09-27 11:34:48 -07:00
repo_sub_cmd.go refactor(cli): Move cmdflags package under pkg/cli/client (#1840) 2023-09-22 16:33:18 +03:00
root_test.go refactor: Reduce zli binary size (#1805) 2023-09-15 15:17:01 -07:00
root.go refactor(cli): Move cmdflags package under pkg/cli/client (#1840) 2023-09-22 16:33:18 +03:00
search_cmd_internal_test.go refactor(pkg/test): split logic in pkg/test/common.go into multiple packages (#1861) 2023-09-27 11:34:48 -07:00
search_cmd.go refactor(cli): Move cmdflags package under pkg/cli/client (#1840) 2023-09-22 16:33:18 +03:00
search_functions_internal_test.go refactor(cli): Move cmdflags package under pkg/cli/client (#1840) 2023-09-22 16:33:18 +03:00
search_functions.go refactor: Reduce zli binary size (#1805) 2023-09-15 15:17:01 -07:00
search_sub_cmd.go refactor(cli): Move cmdflags package under pkg/cli/client (#1840) 2023-09-22 16:33:18 +03:00
service.go refactor(cli): Move cmdflags package under pkg/cli/client (#1840) 2023-09-22 16:33:18 +03:00
utils_internal_test.go refactor(pkg/test): split logic in pkg/test/common.go into multiple packages (#1861) 2023-09-27 11:34:48 -07:00
utils.go refactor(cli): Move cmdflags package under pkg/cli/client (#1840) 2023-09-22 16:33:18 +03:00