cloud-dep-check

command
v1.20.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 29, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

cilium-cloud-dep-check verifies that each operator binary variant only contains the cloud-provider SDKs that match its build tags.

It enforces independence across the cilium-operator-* binaries:

  • cilium-operator-generic : must not contain AWS, Azure, or AlibabaCloud SDKs
  • cilium-operator-aws : must not contain Azure or AlibabaCloud SDKs
  • cilium-operator-azure : must not contain AWS or AlibabaCloud SDKs
  • cilium-operator-alibabacloud: must not contain AWS or Azure SDKs

The check is implemented by invoking `go list -deps -tags <tags> ./operator` from the cilium repository root and matching the resulting import paths against the forbidden module prefixes for that binary.

Usage:

cilium-cloud-dep-check [-root <repo-root>] [-target <pkg>]

Exit code is non-zero if any forbidden dependency is found.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL