Documentation
¶
Index ¶
- func NewInitCommand(so *SharedOptions) *cobra.Command
- func NewOpenMCPOperatorCommand(ctx context.Context) *cobra.Command
- func NewRunCommand(so *SharedOptions) *cobra.Command
- type Clusters
- type InitOptions
- func (o *InitOptions) AddFlags(cmd *cobra.Command)
- func (o *InitOptions) Complete(ctx context.Context) error
- func (o *InitOptions) PrintCompleted(cmd *cobra.Command)
- func (o *InitOptions) PrintCompletedOptions(cmd *cobra.Command)
- func (o *InitOptions) PrintRaw(cmd *cobra.Command)
- func (o *InitOptions) PrintRawOptions(cmd *cobra.Command)
- func (o *InitOptions) Run(ctx context.Context) error
- type RawInitOptions
- type RawRunOptions
- type RawSharedOptions
- type RunOptions
- func (o *RunOptions) AddFlags(cmd *cobra.Command)
- func (o *RunOptions) Complete(ctx context.Context) error
- func (o *RunOptions) PrintCompleted(cmd *cobra.Command)
- func (o *RunOptions) PrintCompletedOptions(cmd *cobra.Command)
- func (o *RunOptions) PrintRaw(cmd *cobra.Command)
- func (o *RunOptions) PrintRawOptions(cmd *cobra.Command)
- func (o *RunOptions) Run(ctx context.Context) error
- type SharedOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewInitCommand ¶
func NewInitCommand(so *SharedOptions) *cobra.Command
func NewRunCommand ¶
func NewRunCommand(so *SharedOptions) *cobra.Command
Types ¶
type InitOptions ¶
type InitOptions struct { RawInitOptions }
func (*InitOptions) AddFlags ¶
func (o *InitOptions) AddFlags(cmd *cobra.Command)
func (*InitOptions) PrintCompleted ¶
func (o *InitOptions) PrintCompleted(cmd *cobra.Command)
func (*InitOptions) PrintCompletedOptions ¶
func (o *InitOptions) PrintCompletedOptions(cmd *cobra.Command)
func (*InitOptions) PrintRaw ¶
func (o *InitOptions) PrintRaw(cmd *cobra.Command)
func (*InitOptions) PrintRawOptions ¶
func (o *InitOptions) PrintRawOptions(cmd *cobra.Command)
type RawInitOptions ¶
type RawRunOptions ¶
type RawRunOptions struct { // kubebuilder default flags MetricsAddr string `json:"metrics-bind-address"` MetricsCertPath string `json:"metrics-cert-path"` MetricsCertName string `json:"metrics-cert-name"` MetricsCertKey string `json:"metrics-cert-key"` WebhookCertPath string `json:"webhook-cert-path"` WebhookCertName string `json:"webhook-cert-name"` WebhookCertKey string `json:"webhook-cert-key"` EnableLeaderElection bool `json:"leader-elect"` ProbeAddr string `json:"health-probe-bind-address"` PprofAddr string `json:"pprof-bind-address"` SecureMetrics bool `json:"metrics-secure"` EnableHTTP2 bool `json:"enable-http2"` // custom raw options Controllers []string `json:"controllers"` }
type RawSharedOptions ¶
type RawSharedOptions struct {}
type RunOptions ¶
type RunOptions struct { RawRunOptions // fields filled in Complete() ProviderGVKList []schema.GroupVersionKind TLSOpts []func(*tls.Config) WebhookTLSOpts []func(*tls.Config) MetricsServerOptions metricsserver.Options MetricsCertWatcher *certwatcher.CertWatcher WebhookCertWatcher *certwatcher.CertWatcher }
func (*RunOptions) AddFlags ¶
func (o *RunOptions) AddFlags(cmd *cobra.Command)
func (*RunOptions) PrintCompleted ¶
func (o *RunOptions) PrintCompleted(cmd *cobra.Command)
func (*RunOptions) PrintCompletedOptions ¶
func (o *RunOptions) PrintCompletedOptions(cmd *cobra.Command)
func (*RunOptions) PrintRaw ¶
func (o *RunOptions) PrintRaw(cmd *cobra.Command)
func (*RunOptions) PrintRawOptions ¶
func (o *RunOptions) PrintRawOptions(cmd *cobra.Command)
type SharedOptions ¶
type SharedOptions struct { // fields filled in Complete() }
func (*SharedOptions) AddPersistentFlags ¶
func (o *SharedOptions) AddPersistentFlags(cmd *cobra.Command)
func (*SharedOptions) Complete ¶
func (o *SharedOptions) Complete() error
func (*SharedOptions) PrintCompleted ¶
func (o *SharedOptions) PrintCompleted(cmd *cobra.Command)
func (*SharedOptions) PrintRaw ¶
func (o *SharedOptions) PrintRaw(cmd *cobra.Command)
Click to show internal directories.
Click to hide internal directories.