Documentation
¶
Overview ¶
Package config reads the initial global configuration.
Index ¶
- Variables
- func Load(ctx context.Context, c client.Reader, namespace string) error
- type BundleDeploymentReconciler
- type BundleQuery
- type BundleReconciler
- type ClusterGroupReconciler
- type ClusterReconciler
- type ConfigReconciler
- type GitRepoReconciler
- type ImageScanReconciler
- type Store
- type TargetBuilder
Constants ¶
This section is empty.
Variables ¶
var LongRetry = wait.Backoff{ Steps: 5, Duration: 5 * time.Second, Factor: 1.0, Jitter: 0.1, }
Functions ¶
Types ¶
type BundleDeploymentReconciler ¶
BundleDeploymentReconciler reconciles a BundleDeployment object
func (*BundleDeploymentReconciler) Reconcile ¶
func (r *BundleDeploymentReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.
func (*BundleDeploymentReconciler) SetupWithManager ¶
func (r *BundleDeploymentReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type BundleQuery ¶
type BundleReconciler ¶
type BundleReconciler struct {
client.Client
Scheme *runtime.Scheme
Builder TargetBuilder
Store Store
Query BundleQuery
ShardID string
}
BundleReconciler reconciles a Bundle object
func (*BundleReconciler) SetupWithManager ¶
func (r *BundleReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type ClusterGroupReconciler ¶
ClusterGroupReconciler reconciles a ClusterGroup object
func (*ClusterGroupReconciler) Reconcile ¶
func (r *ClusterGroupReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.
func (*ClusterGroupReconciler) SetupWithManager ¶
func (r *ClusterGroupReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type ClusterReconciler ¶
type ClusterReconciler struct {
client.Client
Scheme *runtime.Scheme
Query BundleQuery
ShardID string
}
ClusterReconciler reconciles a Cluster object
func (*ClusterReconciler) Reconcile ¶
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.
func (*ClusterReconciler) SetupWithManager ¶
func (r *ClusterReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type ConfigReconciler ¶
type ConfigReconciler struct {
client.Client
Scheme *runtime.Scheme
SystemNamespace string
ShardID string
}
ConfigReconciler reconciles the Fleet config object, by reloading the config on change.
func (*ConfigReconciler) Reconcile ¶
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.
func (*ConfigReconciler) SetupWithManager ¶
func (r *ConfigReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type GitRepoReconciler ¶
type GitRepoReconciler struct {
client.Client
Scheme *runtime.Scheme
Scheduler quartz.Scheduler
ShardID string
}
GitRepoReconciler reconciles a GitRepo object
func (*GitRepoReconciler) Reconcile ¶
Reconcile creates resources for a GitRepo nolint:gocyclo // creates multiple owned resources
func (*GitRepoReconciler) SetupWithManager ¶
func (r *GitRepoReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type ImageScanReconciler ¶
type ImageScanReconciler struct {
client.Client
Scheme *runtime.Scheme
Scheduler quartz.Scheduler
ShardID string
}
ImageScanReconciler reconciles a ImageScan object
func (*ImageScanReconciler) Reconcile ¶
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.
func (*ImageScanReconciler) SetupWithManager ¶
func (r *ImageScanReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.