gitops

package
v0.10.0-rc.15 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 13, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func App

func App(zo *zap.Options) *cobra.Command

Types

type GitOperator

type GitOperator struct {
	command.DebugConfig
	Kubeconfig           string `usage:"Kubeconfig file"`
	Namespace            string `usage:"namespace to watch" default:"cattle-fleet-system" env:"NAMESPACE"`
	MetricsAddr          string `name:"metrics-bind-address" default:":8081" usage:"The address the metric endpoint binds to."`
	EnableLeaderElection bool   `` /* 160-byte string literal not displayed */
	Image                string `name:"gitjob-image" default:"rancher/fleet:dev" usage:"The gitjob image that will be used in the generated job."`
	Listen               string `default:":8080" usage:"The port the webhook listens."`
}

func (*GitOperator) HelpFunc

func (c *GitOperator) HelpFunc(cmd *cobra.Command, strings []string)

HelpFunc hides the global flag from the help output

func (*GitOperator) PersistentPre

func (g *GitOperator) PersistentPre(_ *cobra.Command, _ []string) error

func (*GitOperator) Run

func (g *GitOperator) Run(cmd *cobra.Command, args []string) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL