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.
Click to show internal directories.
Click to hide internal directories.