Documentation ¶
Index ¶
- type APIGenerator
- func (gen *APIGenerator) Deployment() *resource.Template[*appsv1.Deployment]
- func (gen *APIGenerator) HPASpec() *saasv1alpha1.HorizontalPodAutoscalerSpec
- func (gen *APIGenerator) Labels() map[string]string
- func (gen *APIGenerator) MonitoredEndpoints() []monitoringv1.PodMetricsEndpoint
- func (gen *APIGenerator) PDBSpec() *saasv1alpha1.PodDisruptionBudgetSpec
- func (gen *APIGenerator) PublishingStrategies() ([]service.ServiceDescriptor, error)
- func (gen *APIGenerator) SendTraffic() bool
- func (gen *APIGenerator) TrafficSelector() map[string]string
- type ConsoleGenerator
- type Generator
- type QueGenerator
- func (gen *QueGenerator) Deployment() *resource.Template[*appsv1.Deployment]
- func (gen *QueGenerator) HPASpec() *saasv1alpha1.HorizontalPodAutoscalerSpec
- func (gen *QueGenerator) MonitoredEndpoints() []monitoringv1.PodMetricsEndpoint
- func (gen *QueGenerator) PDBSpec() *saasv1alpha1.PodDisruptionBudgetSpec
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIGenerator ¶
type APIGenerator struct { generators.BaseOptionsV2 Image saasv1alpha1.ImageSpec APISpec saasv1alpha1.APISpec Options pod.Options Traffic bool }
APIGenerator has methods to generate resources for a Zync environment
func (*APIGenerator) Deployment ¶
func (gen *APIGenerator) Deployment() *resource.Template[*appsv1.Deployment]
func (*APIGenerator) HPASpec ¶
func (gen *APIGenerator) HPASpec() *saasv1alpha1.HorizontalPodAutoscalerSpec
func (*APIGenerator) Labels ¶
func (gen *APIGenerator) Labels() map[string]string
func (*APIGenerator) MonitoredEndpoints ¶
func (gen *APIGenerator) MonitoredEndpoints() []monitoringv1.PodMetricsEndpoint
func (*APIGenerator) PDBSpec ¶
func (gen *APIGenerator) PDBSpec() *saasv1alpha1.PodDisruptionBudgetSpec
func (*APIGenerator) PublishingStrategies ¶ added in v0.25.0
func (gen *APIGenerator) PublishingStrategies() ([]service.ServiceDescriptor, error)
func (*APIGenerator) SendTraffic ¶
func (gen *APIGenerator) SendTraffic() bool
func (*APIGenerator) TrafficSelector ¶
func (gen *APIGenerator) TrafficSelector() map[string]string
type ConsoleGenerator ¶
type ConsoleGenerator struct { generators.BaseOptionsV2 Image saasv1alpha1.ImageSpec Spec saasv1alpha1.ZyncRailsConsoleSpec Options pod.Options Enabled bool }
ConsoleGenerator has methods to generate resources for zync-console
func (*ConsoleGenerator) StatefulSet ¶
func (gen *ConsoleGenerator) StatefulSet() []resource.TemplateInterface
type Generator ¶
type Generator struct { generators.BaseOptionsV2 API APIGenerator Que QueGenerator Console ConsoleGenerator GrafanaDashboardSpec saasv1alpha1.GrafanaDashboardSpec Config saasv1alpha1.ZyncConfig }
Generator configures the generators for Zync
func NewGenerator ¶
func NewGenerator(instance, namespace string, spec saasv1alpha1.ZyncSpec) Generator
NewGenerator returns a new Options struct
type QueGenerator ¶
type QueGenerator struct { generators.BaseOptionsV2 Image saasv1alpha1.ImageSpec QueSpec saasv1alpha1.QueSpec Options pod.Options }
QueGenerator has methods to generate resources for a Que environment
func (*QueGenerator) Deployment ¶
func (gen *QueGenerator) Deployment() *resource.Template[*appsv1.Deployment]
func (*QueGenerator) HPASpec ¶
func (gen *QueGenerator) HPASpec() *saasv1alpha1.HorizontalPodAutoscalerSpec
func (*QueGenerator) MonitoredEndpoints ¶
func (gen *QueGenerator) MonitoredEndpoints() []monitoringv1.PodMetricsEndpoint
func (*QueGenerator) PDBSpec ¶
func (gen *QueGenerator) PDBSpec() *saasv1alpha1.PodDisruptionBudgetSpec
Source Files ¶
Click to show internal directories.
Click to hide internal directories.