Documentation ¶
Index ¶
- Constants
- func ConfigMapOrSecretTrigger(ctx context.Context, cli client.Client) handler.EventHandler
- func ParseListValues(annotations string) []string
- func PluginUnhealthyTrigger(ctx context.Context, cli client.Client) handler.EventHandler
- func Run(ctx context.Context, options *Options, cachedir string) error
- func Setup(ctx context.Context, mgr ctrl.Manager, options *bundle.Options) error
- type DependencyError
- type Options
- type Reconciler
Constants ¶
View Source
const ( PluginsControllerConcurrency = 3 FinalizerName = "plugins.kubegems.io/finalizer" )
Variables ¶
This section is empty.
Functions ¶
func ParseListValues ¶ added in v1.24.6
func PluginUnhealthyTrigger ¶
Types ¶
type DependencyError ¶
type DependencyError struct { Reason string Object corev1.ObjectReference }
func (DependencyError) Error ¶
func (e DependencyError) Error() string
type Options ¶
type Options struct { MetricsAddr string `json:"metricsAddr,omitempty" description:"The address the metric endpoint binds to."` EnableLeaderElection bool `json:"enableLeaderElection,omitempty" description:"Enable leader election for controller manager."` ProbeAddr string `json:"probeAddr,omitempty" description:"The address the probe endpoint binds to."` }
func NewDefaultOptions ¶
func NewDefaultOptions() *Options
type Reconciler ¶
type Reconciler struct { client.Client Applier *bundle.BundleApplier }
func (*Reconciler) Sync ¶
func (r *Reconciler) Sync(ctx context.Context, bundle *pluginsv1beta1.Plugin) error
Sync
Click to show internal directories.
Click to hide internal directories.