Documentation ¶
Index ¶
- type CronGenerator
- type Generator
- func (gen *Generator) ErrorMonitoringSecretDefinition() basereconciler.GeneratorFunction
- func (gen *Generator) GrafanaDashboard() basereconciler.GeneratorFunction
- func (gen *Generator) InternalAPISecretDefinition() basereconciler.GeneratorFunction
- func (gen *Generator) SystemEventsHookSecretDefinition() basereconciler.GeneratorFunction
- type ListenerGenerator
- func (gen *ListenerGenerator) Deployment() basereconciler.GeneratorFunction
- func (gen *ListenerGenerator) HPA() basereconciler.GeneratorFunction
- func (gen *ListenerGenerator) InternalService() basereconciler.GeneratorFunction
- func (gen *ListenerGenerator) PDB() basereconciler.GeneratorFunction
- func (gen *ListenerGenerator) PodMonitor() basereconciler.GeneratorFunction
- func (gen *ListenerGenerator) Service() basereconciler.GeneratorFunction
- type WorkerGenerator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CronGenerator ¶
type CronGenerator struct { generators.BaseOptions Image saasv1alpha1.ImageSpec CronSpec saasv1alpha1.CronSpec Options config.CronOptions }
CronGenerator has methods to generate resources for a Backend environment
func (*CronGenerator) Deployment ¶
func (gen *CronGenerator) Deployment() basereconciler.GeneratorFunction
Deployment returns a basereconciler.GeneratorFunction funtion that will return a Deployment resource when called
type Generator ¶
type Generator struct { generators.BaseOptions Listener ListenerGenerator Worker WorkerGenerator Cron CronGenerator GrafanaDashboardSpec saasv1alpha1.GrafanaDashboardSpec Config saasv1alpha1.BackendConfig }
Generator configures the generators for Backend
func NewGenerator ¶
func NewGenerator(instance, namespace string, spec saasv1alpha1.BackendSpec) Generator
NewGenerator returns a new Options struct
func (*Generator) ErrorMonitoringSecretDefinition ¶
func (gen *Generator) ErrorMonitoringSecretDefinition() basereconciler.GeneratorFunction
ErrorMonitoringSecretDefinition returns a basereconciler.GeneratorFunction
func (*Generator) GrafanaDashboard ¶
func (gen *Generator) GrafanaDashboard() basereconciler.GeneratorFunction
GrafanaDashboard returns a basereconciler.GeneratorFunction
func (*Generator) InternalAPISecretDefinition ¶
func (gen *Generator) InternalAPISecretDefinition() basereconciler.GeneratorFunction
InternalAPISecretDefinition returns a basereconciler.GeneratorFunction
func (*Generator) SystemEventsHookSecretDefinition ¶
func (gen *Generator) SystemEventsHookSecretDefinition() basereconciler.GeneratorFunction
SystemEventsHookSecretDefinition returns a basereconciler.GeneratorFunction
type ListenerGenerator ¶
type ListenerGenerator struct { generators.BaseOptions Image saasv1alpha1.ImageSpec ListenerSpec saasv1alpha1.ListenerSpec Options config.ListenerOptions }
ListenerGenerator has methods to generate resources for a Backend environment
func (*ListenerGenerator) Deployment ¶
func (gen *ListenerGenerator) Deployment() basereconciler.GeneratorFunction
Deployment returns a basereconciler.GeneratorFunction funtion that will return a Deployment resource when called
func (*ListenerGenerator) HPA ¶
func (gen *ListenerGenerator) HPA() basereconciler.GeneratorFunction
HPA returns a basereconciler.GeneratorFunction
func (*ListenerGenerator) InternalService ¶
func (gen *ListenerGenerator) InternalService() basereconciler.GeneratorFunction
InternalService returns a basereconciler.GeneratorFunction function that will return the management Service resource when called
func (*ListenerGenerator) PDB ¶
func (gen *ListenerGenerator) PDB() basereconciler.GeneratorFunction
PDB returns a basereconciler.GeneratorFunction
func (*ListenerGenerator) PodMonitor ¶
func (gen *ListenerGenerator) PodMonitor() basereconciler.GeneratorFunction
PodMonitor returns a basereconciler.GeneratorFunction
func (*ListenerGenerator) Service ¶
func (gen *ListenerGenerator) Service() basereconciler.GeneratorFunction
Service returns a basereconciler.GeneratorFunction function that will return the gateway Service resource when called
type WorkerGenerator ¶
type WorkerGenerator struct { generators.BaseOptions Image saasv1alpha1.ImageSpec WorkerSpec saasv1alpha1.WorkerSpec Options config.WorkerOptions }
WorkerGenerator has methods to generate resources for a Backend environment
func (*WorkerGenerator) Deployment ¶
func (gen *WorkerGenerator) Deployment() basereconciler.GeneratorFunction
Deployment returns a basereconciler.GeneratorFunction funtion that will return a Deployment resource when called
func (*WorkerGenerator) HPA ¶
func (gen *WorkerGenerator) HPA() basereconciler.GeneratorFunction
HPA returns a basereconciler.GeneratorFunction
func (*WorkerGenerator) PDB ¶
func (gen *WorkerGenerator) PDB() basereconciler.GeneratorFunction
PDB returns a basereconciler.GeneratorFunction
func (*WorkerGenerator) PodMonitor ¶
func (gen *WorkerGenerator) PodMonitor() basereconciler.GeneratorFunction
PodMonitor returns a basereconciler.GeneratorFunction