Documentation ¶
Overview ¶
Copyright © 2022 Alexander Block <ablock84@gmail.com>
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
- func Execute(ctx context.Context, args []string, ...) error
- func Main()
- func RegisterFlagCompletionFuncs(cmdStruct interface{}, ccmd *cobra.Command) error
- func WithStdStreams(ctx context.Context, stdout io.Writer, stderr io.Writer) context.Context
- type DeployExtraFlags
- type GitopsSuspendCmd
- type GlobalFlags
- type VersionCheckState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterFlagCompletionFuncs ¶ added in v2.9.0
Types ¶
type DeployExtraFlags ¶ added in v2.22.0
type GitopsSuspendCmd ¶ added in v2.22.0
type GitopsSuspendCmd struct { args.GitOpsArgs args.OutputFormatFlags args.GitOpsLogArgs All bool `group:"misc" help:"If enabled, suspend all deployments."` // contains filtered or unexported fields }
func (*GitopsSuspendCmd) Help ¶ added in v2.22.0
func (cmd *GitopsSuspendCmd) Help() string
type GlobalFlags ¶ added in v2.18.0
type GlobalFlags struct { Debug bool `group:"global" help:"Enable debug logging"` NoUpdateCheck bool `group:"global" help:"Disable update check on startup"` NoColor bool `group:"global" help:"Disable colored output"` CpuProfile string `group:"global" help:"Enable CPU profiling and write the result to the given path"` GopsAgent bool `group:"global" help:"Start gops agent in the background"` GopsAgentAddr string `group:"global" help:"Specify the address:port to use for the gops agent" default:"127.0.0.1:0"` }
type VersionCheckState ¶
Source Files ¶
- cmd_controller.go
- cmd_controller_install.go
- cmd_controller_run.go
- cmd_delete.go
- cmd_deploy.go
- cmd_diff.go
- cmd_gitops.go
- cmd_gitops_deploy.go
- cmd_gitops_diff.go
- cmd_gitops_logs.go
- cmd_gitops_prune.go
- cmd_gitops_reconcile.go
- cmd_gitops_suspend_resume.go
- cmd_gitops_validate.go
- cmd_helm_pull.go
- cmd_helm_update.go
- cmd_list_images.go
- cmd_list_targets.go
- cmd_oci.go
- cmd_oci_push.go
- cmd_poke_images.go
- cmd_prune.go
- cmd_render.go
- cmd_seal.go
- cmd_validate.go
- cmd_version.go
- cmd_webui.go
- cmd_webui_build.go
- cmd_webui_run.go
- cobra_utils.go
- command_result.go
- completion.go
- override_std_streams.go
- root.go
- utils.go
Click to show internal directories.
Click to hide internal directories.