Documentation ¶
Index ¶
- type AppGenerator
- func (gen *AppGenerator) Deployment() *resource.Template[*appsv1.Deployment]
- func (gen *AppGenerator) HPASpec() *saasv1alpha1.HorizontalPodAutoscalerSpec
- func (gen *AppGenerator) MonitoredEndpoints() []monitoringv1.PodMetricsEndpoint
- func (gen *AppGenerator) PDBSpec() *saasv1alpha1.PodDisruptionBudgetSpec
- func (gen *AppGenerator) PublishingStrategies() ([]service.ServiceDescriptor, error)
- func (gen *AppGenerator) SendTraffic() bool
- func (gen *AppGenerator) TrafficSelector() map[string]string
- type ConsoleGenerator
- type Generator
- type SearchdGenerator
- type SidekiqGenerator
- func (gen *SidekiqGenerator) Deployment() *resource.Template[*appsv1.Deployment]
- func (gen *SidekiqGenerator) HPASpec() *saasv1alpha1.HorizontalPodAutoscalerSpec
- func (gen *SidekiqGenerator) MonitoredEndpoints() []monitoringv1.PodMetricsEndpoint
- func (gen *SidekiqGenerator) PDBSpec() *saasv1alpha1.PodDisruptionBudgetSpec
- type SystemTektonGenerator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppGenerator ¶
type AppGenerator struct { generators.BaseOptionsV2 Spec saasv1alpha1.SystemAppSpec Options pod.Options Image saasv1alpha1.ImageSpec ConfigFilesSecret string Traffic bool TwemproxySpec *saasv1alpha1.TwemproxySpec }
AppGenerator has methods to generate resources for system-app
func (*AppGenerator) Deployment ¶
func (gen *AppGenerator) Deployment() *resource.Template[*appsv1.Deployment]
func (*AppGenerator) HPASpec ¶
func (gen *AppGenerator) HPASpec() *saasv1alpha1.HorizontalPodAutoscalerSpec
func (*AppGenerator) MonitoredEndpoints ¶
func (gen *AppGenerator) MonitoredEndpoints() []monitoringv1.PodMetricsEndpoint
func (*AppGenerator) PDBSpec ¶
func (gen *AppGenerator) PDBSpec() *saasv1alpha1.PodDisruptionBudgetSpec
func (*AppGenerator) PublishingStrategies ¶ added in v0.25.0
func (gen *AppGenerator) PublishingStrategies() ([]service.ServiceDescriptor, error)
func (*AppGenerator) SendTraffic ¶
func (gen *AppGenerator) SendTraffic() bool
func (*AppGenerator) TrafficSelector ¶
func (gen *AppGenerator) TrafficSelector() map[string]string
type ConsoleGenerator ¶
type ConsoleGenerator struct { generators.BaseOptionsV2 Spec saasv1alpha1.SystemRailsConsoleSpec Options pod.Options Image saasv1alpha1.ImageSpec ConfigFilesSecret string Enabled bool TwemproxySpec *saasv1alpha1.TwemproxySpec }
ConsoleGenerator has methods to generate resources for system-console
func (*ConsoleGenerator) StatefulSet ¶
func (gen *ConsoleGenerator) StatefulSet() []resource.TemplateInterface
type Generator ¶
type Generator struct { generators.BaseOptionsV2 App AppGenerator CanaryApp *AppGenerator SidekiqDefault SidekiqGenerator CanarySidekiqDefault *SidekiqGenerator SidekiqBilling SidekiqGenerator CanarySidekiqBilling *SidekiqGenerator SidekiqLow SidekiqGenerator CanarySidekiqLow *SidekiqGenerator Searchd SearchdGenerator Console ConsoleGenerator Config saasv1alpha1.SystemConfig GrafanaDashboardSpec saasv1alpha1.GrafanaDashboardSpec ConfigFilesSecret string Options pod.Options Tekton []SystemTektonGenerator }
Generator configures the generators for System
func NewGenerator ¶
func NewGenerator(instance, namespace string, spec saasv1alpha1.SystemSpec) (Generator, error)
NewGenerator returns a new Options struct
type SearchdGenerator ¶
type SearchdGenerator struct { generators.BaseOptionsV2 Spec saasv1alpha1.SystemSearchdSpec Image saasv1alpha1.ImageSpec DatabasePort int32 DatabasePath string DatabaseStorageSize res.Quantity DatabaseStorageClass *string Enabled bool }
SearchdGenerator has methods to generate resources for system-Searchd
func (*SearchdGenerator) StatefulSetWithTraffic ¶
func (gen *SearchdGenerator) StatefulSetWithTraffic() []resource.TemplateInterface
type SidekiqGenerator ¶
type SidekiqGenerator struct { generators.BaseOptionsV2 Spec saasv1alpha1.SystemSidekiqSpec Options pod.Options Image saasv1alpha1.ImageSpec ConfigFilesSecret string TwemproxySpec *saasv1alpha1.TwemproxySpec }
SidekiqGenerator has methods to generate resources for system-sidekiq
func (*SidekiqGenerator) Deployment ¶
func (gen *SidekiqGenerator) Deployment() *resource.Template[*appsv1.Deployment]
func (*SidekiqGenerator) HPASpec ¶
func (gen *SidekiqGenerator) HPASpec() *saasv1alpha1.HorizontalPodAutoscalerSpec
func (*SidekiqGenerator) MonitoredEndpoints ¶
func (gen *SidekiqGenerator) MonitoredEndpoints() []monitoringv1.PodMetricsEndpoint
func (*SidekiqGenerator) PDBSpec ¶
func (gen *SidekiqGenerator) PDBSpec() *saasv1alpha1.PodDisruptionBudgetSpec
type SystemTektonGenerator ¶
type SystemTektonGenerator struct { generators.BaseOptionsV2 Spec saasv1alpha1.SystemTektonTaskSpec Options pod.Options Image saasv1alpha1.ImageSpec ConfigFilesSecret string TwemproxySpec *saasv1alpha1.TwemproxySpec Enabled bool }
SystemTektonGenerator has methods to generate resources for system tekton tasks
Source Files ¶
Click to show internal directories.
Click to hide internal directories.