Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ModuleRootDir is the filesystem path to the root of the repository. ModuleRootDir = filepath.Join(filepath.Dir(b), "../../..") // BinDir is the filesystem path of the bin directory which is populated using // Makefile commands BinDir = filepath.Join(ModuleRootDir, "bin") // BinToolsDir is the filesystem path of the bin/tools directory which can for // example be populated by `make -f make/Makefile integration-test-tools`. BinToolsDir = filepath.Join(BinDir, "tools") // BinCRDDir is the filesystem path of templated CRDs created by Makefile commands BinCRDDir = filepath.Join(BinDir, "yaml", "templated-crds") // BazelBinDir is the filesystem path to the bazel-bin directory within the // root of the repository. // This will not be accessible when running within the bazel sandbox, but // is useful for reading bazel files when running commands with `go test`. BazelBinDir = filepath.Join(ModuleRootDir, "bazel-bin") )
Functions ¶
func CRDDirectory ¶
CRDDirectory returns the directory containing CRDs, if it can be found.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.