Documentation
¶
Overview ¶
Package styra holds controllers for the styra API group.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LibraryReconciler ¶ added in v0.10.0
type LibraryReconciler struct {
client.Client
Scheme *runtime.Scheme
Styra styra.ClientInterface
OCP ocp.ClientInterface
Config *configv2alpha2.ProjectConfig
WebhookClient webhook.Client
}
LibraryReconciler reconciles a Library object
func (*LibraryReconciler) Reconcile ¶ added in v0.10.0
Reconcile implements renconcile.Renconciler and has responsibility of ensuring that the current state of the Library resource renconciled towards the desired state.
func (*LibraryReconciler) SetupWithManager ¶ added in v0.10.0
func (r *LibraryReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type SystemReconciler ¶
type SystemReconciler struct {
client.Client
APIReader client.Reader
Scheme *runtime.Scheme
Styra styra.ClientInterface
OCP ocp.ClientInterface
S3 s3.Client
WebhookClient webhook.Client
Recorder record.EventRecorder
Metrics *SystemReconcilerMetrics
Config *configv2alpha2.ProjectConfig
}
SystemReconciler reconciles a System object
func (*SystemReconciler) CreateDefaultRequirements ¶ added in v0.29.0
CreateDefaultRequirements creates all the configured default sources in OCP
func (*SystemReconciler) Reconcile ¶
Reconcile implements renconcile.Renconciler and has responsibility of ensuring that the current state of the System resource renconciled towards the desired state.
func (*SystemReconciler) SetupWithManager ¶
func (r *SystemReconciler) SetupWithManager(mgr ctrl.Manager, name string) error
SetupWithManager registers the the System controller with the Manager.
type SystemReconcilerMetrics ¶ added in v0.20.1
type SystemReconcilerMetrics struct {
ControllerSystemStatusReady *prometheus.GaugeVec
ReconcileSegmentTime *prometheus.HistogramVec
ReconcileTime *prometheus.HistogramVec
}
SystemReconcilerMetrics holds the metrics for the SystemReconciller