Documentation ¶
Index ¶
- type Generator
- func (gen *Generator) Deployment() *resource.Template[*appsv1.Deployment]
- func (gen *Generator) HPASpec() *saasv1alpha1.HorizontalPodAutoscalerSpec
- func (gen *Generator) MonitoredEndpoints() []monitoringv1.PodMetricsEndpoint
- func (gen *Generator) PDBSpec() *saasv1alpha1.PodDisruptionBudgetSpec
- func (gen *Generator) PublishingStrategies() ([]service.ServiceDescriptor, error)
- func (gen *Generator) Resources() ([]resource.TemplateInterface, error)
- func (gen *Generator) SendTraffic() bool
- func (gen *Generator) TrafficSelector() map[string]string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Generator ¶
type Generator struct { generators.BaseOptionsV2 Spec saasv1alpha1.AutoSSLSpec Options pod.Options Canary *Generator Traffic bool }
Generator configures the generators for AutoSSL
func NewGenerator ¶
func NewGenerator(instance, namespace string, spec saasv1alpha1.AutoSSLSpec) (Generator, error)
NewGenerator returns a new Options struct
func (*Generator) Deployment ¶
func (gen *Generator) Deployment() *resource.Template[*appsv1.Deployment]
func (*Generator) HPASpec ¶
func (gen *Generator) HPASpec() *saasv1alpha1.HorizontalPodAutoscalerSpec
func (*Generator) MonitoredEndpoints ¶
func (gen *Generator) MonitoredEndpoints() []monitoringv1.PodMetricsEndpoint
func (*Generator) PDBSpec ¶
func (gen *Generator) PDBSpec() *saasv1alpha1.PodDisruptionBudgetSpec
func (*Generator) PublishingStrategies ¶ added in v0.25.0
func (gen *Generator) PublishingStrategies() ([]service.ServiceDescriptor, error)
func (*Generator) Resources ¶
func (gen *Generator) Resources() ([]resource.TemplateInterface, error)
Resources returns the list of resource templates
func (*Generator) SendTraffic ¶
func (*Generator) TrafficSelector ¶
Click to show internal directories.
Click to hide internal directories.