backend

package
v0.10.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 9, 2021 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

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

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

Deployment returns a basereconciler.GeneratorFunction funtion that will return a Deployment resource when called

func (*ListenerGenerator) HPA

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

PDB returns a basereconciler.GeneratorFunction

func (*ListenerGenerator) PodMonitor

PodMonitor returns a basereconciler.GeneratorFunction

func (*ListenerGenerator) Service

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

Deployment returns a basereconciler.GeneratorFunction funtion that will return a Deployment resource when called

func (*WorkerGenerator) HPA

HPA returns a basereconciler.GeneratorFunction

func (*WorkerGenerator) PDB

PDB returns a basereconciler.GeneratorFunction

func (*WorkerGenerator) PodMonitor

PodMonitor returns a basereconciler.GeneratorFunction

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL