 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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."`
	DisableMetrics       bool   `name:"disable-metrics" usage:"Disable the metrics server."`
	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."`
	ShardID              string `usage:"only manage resources labeled with a specific shard ID" name:"shard-id"`
	ShardNodeSelector    string `usage:"node selector to apply to jobs based on the shard ID, if any" name:"shard-node-selector"`
	SkipHostKeyChecks    bool   `` /* 192-byte string literal not displayed */
}
    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
 Click to show internal directories. 
   Click to hide internal directories.