Documentation ¶
Index ¶
- type EnvGenerator
- func (gen *EnvGenerator) Deployment() basereconciler.GeneratorFunction
- func (gen *EnvGenerator) GatewayService() basereconciler.GeneratorFunction
- func (gen *EnvGenerator) HPA() basereconciler.GeneratorFunction
- func (gen *EnvGenerator) MgmtService() basereconciler.GeneratorFunction
- func (gen *EnvGenerator) PDB() basereconciler.GeneratorFunction
- func (gen *EnvGenerator) PodMonitor() basereconciler.GeneratorFunction
- type Generator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EnvGenerator ¶
type EnvGenerator struct { generators.BaseOptions Spec saasv1alpha1.ApicastEnvironmentSpec Options config.EnvOptions }
EnvGenerator has methods to generate resources for an Apicast environment
func (*EnvGenerator) Deployment ¶
func (gen *EnvGenerator) Deployment() basereconciler.GeneratorFunction
Deployment returns a basereconciler.GeneratorFunction function that will return a Deployment resource when called
func (*EnvGenerator) GatewayService ¶
func (gen *EnvGenerator) GatewayService() basereconciler.GeneratorFunction
GatewayService returns a basereconciler.GeneratorFunction function that will return the gateway Service resource when called
func (*EnvGenerator) HPA ¶
func (gen *EnvGenerator) HPA() basereconciler.GeneratorFunction
HPA returns a basereconciler.GeneratorFunction
func (*EnvGenerator) MgmtService ¶
func (gen *EnvGenerator) MgmtService() basereconciler.GeneratorFunction
MgmtService returns a basereconciler.GeneratorFunction function that will return the management Service resource when called
func (*EnvGenerator) PDB ¶
func (gen *EnvGenerator) PDB() basereconciler.GeneratorFunction
PDB returns a basereconciler.GeneratorFunction
func (*EnvGenerator) PodMonitor ¶
func (gen *EnvGenerator) PodMonitor() basereconciler.GeneratorFunction
PodMonitor returns a basereconciler.GeneratorFunction
type Generator ¶
type Generator struct { generators.BaseOptions Staging EnvGenerator Production EnvGenerator LoadBalancerSpec saasv1alpha1.LoadBalancerSpec GrafanaDashboardSpec saasv1alpha1.GrafanaDashboardSpec }
Generator configures the generators for Apicast
func NewGenerator ¶
func NewGenerator(instance, namespace string, spec saasv1alpha1.ApicastSpec) Generator
NewGenerator returns a new Options struct
func (*Generator) ApicastDashboard ¶
func (gen *Generator) ApicastDashboard() basereconciler.GeneratorFunction
ApicastDashboard returns a basereconciler.GeneratorFunction
func (*Generator) ApicastServicesDashboard ¶
func (gen *Generator) ApicastServicesDashboard() basereconciler.GeneratorFunction
ApicastServicesDashboard returns a basereconciler.GeneratorFunction