Documentation
¶
Overview ¶
Package flags provides helper functions for registering and reading commonly used CLI flags across occ subcommands.
Index ¶
- Constants
- func AddAll(cmd *cobra.Command)
- func AddComponent(cmd *cobra.Command)
- func AddComponentRelease(cmd *cobra.Command)
- func AddControlPlane(cmd *cobra.Command)
- func AddCredentials(cmd *cobra.Command)
- func AddDryRun(cmd *cobra.Command)
- func AddEnvironment(cmd *cobra.Command)
- func AddFollow(cmd *cobra.Command)
- func AddMode(cmd *cobra.Command)
- func AddNamespace(cmd *cobra.Command)
- func AddOutputFile(cmd *cobra.Command)
- func AddOutputPath(cmd *cobra.Command)
- func AddProject(cmd *cobra.Command)
- func AddRelease(cmd *cobra.Command)
- func AddResource(cmd *cobra.Command)
- func AddRootDir(cmd *cobra.Command)
- func AddSet(cmd *cobra.Command)
- func AddSince(cmd *cobra.Command)
- func AddTail(cmd *cobra.Command)
- func AddTargetEnv(cmd *cobra.Command)
- func AddTo(cmd *cobra.Command)
- func AddURL(cmd *cobra.Command)
- func AddUsePipeline(cmd *cobra.Command)
- func AddWorkflowRun(cmd *cobra.Command)
- func GetAll(cmd *cobra.Command) bool
- func GetComponent(cmd *cobra.Command) string
- func GetComponentRelease(cmd *cobra.Command) string
- func GetControlPlane(cmd *cobra.Command) string
- func GetCredentials(cmd *cobra.Command) string
- func GetDryRun(cmd *cobra.Command) bool
- func GetEnvironment(cmd *cobra.Command) string
- func GetFollow(cmd *cobra.Command) bool
- func GetMode(cmd *cobra.Command) string
- func GetNamespace(cmd *cobra.Command) string
- func GetOutputFile(cmd *cobra.Command) string
- func GetOutputPath(cmd *cobra.Command) string
- func GetProject(cmd *cobra.Command) string
- func GetRelease(cmd *cobra.Command) string
- func GetResource(cmd *cobra.Command) string
- func GetRootDir(cmd *cobra.Command) string
- func GetSet(cmd *cobra.Command) []string
- func GetSince(cmd *cobra.Command) string
- func GetTail(cmd *cobra.Command) int
- func GetTargetEnv(cmd *cobra.Command) string
- func GetTo(cmd *cobra.Command) string
- func GetURL(cmd *cobra.Command) string
- func GetUsePipeline(cmd *cobra.Command) string
- func GetWorkflowRun(cmd *cobra.Command) string
Constants ¶
View Source
const ( ModeAPIServer = "api-server" ModeFileSystem = "file-system" )
Mode constants for the --mode flag.
Variables ¶
This section is empty.
Functions ¶
func AddComponent ¶
func AddComponentRelease ¶
func AddControlPlane ¶
func AddCredentials ¶
func AddEnvironment ¶
func AddNamespace ¶
func AddOutputFile ¶
func AddOutputPath ¶
func AddProject ¶
func AddRelease ¶
func AddResource ¶
func AddRootDir ¶
func AddTargetEnv ¶
func AddUsePipeline ¶
func AddWorkflowRun ¶
func GetComponent ¶
func GetComponentRelease ¶
func GetControlPlane ¶
func GetCredentials ¶
func GetEnvironment ¶
func GetNamespace ¶
func GetOutputFile ¶
func GetOutputPath ¶
func GetProject ¶
func GetRelease ¶
func GetResource ¶
func GetRootDir ¶
func GetTargetEnv ¶
func GetUsePipeline ¶
func GetWorkflowRun ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.