Documentation
¶
Overview ¶
SPDX-License-Identifier: Apache-2.0
Index ¶
Constants ¶
View Source
const ( // PluginDir is the subdirectory name for ampel artifacts within the workspace. PluginDir = "ampel" // DefaultGranularPolicyDir is the default directory name for granular AMPEL policy source files. DefaultGranularPolicyDir = "granular-policies" // GeneratedPolicyDir is the workspace subdirectory for generated policy artifacts. GeneratedPolicyDir = "policy" // DefaultResultsDir is the default directory name for per-repository result files. DefaultResultsDir = "results" )
Variables ¶
This section is empty.
Functions ¶
func EnsureDirectories ¶
func EnsureDirectories() error
EnsureDirectories creates the workspace directory structure required by the plugin.
func GeneratedPolicyDirPath ¶
func GeneratedPolicyDirPath() string
GeneratedPolicyDirPath returns the workspace path for generated policy output.
func GranularPolicyDirPath ¶
func GranularPolicyDirPath() string
GranularPolicyDirPath returns the default path for granular policy source files.
func ResultsDirPath ¶
func ResultsDirPath() string
ResultsDirPath returns the path for the per-repository result files.
func SpecDirPath ¶
func SpecDirPath() string
SpecDirPath returns the path for the embedded spec files directory.
Types ¶
Click to show internal directories.
Click to hide internal directories.