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."`
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) PersistentPre ¶
func (g *GitOperator) PersistentPre(_ *cobra.Command, _ []string) error
Click to show internal directories.
Click to hide internal directories.