echoapi

package
v0.22.0 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

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.EchoAPISpec
	Traffic bool
}

Generator configures the generators for EchoAPI

func NewGenerator

func NewGenerator(instance, namespace string, spec saasv1alpha1.EchoAPISpec) Generator

NewGenerator returns a new Options struct

func (*Generator) Deployment

func (gen *Generator) Deployment() *resource.Template[*appsv1.Deployment]

func (*Generator) EnvoyDynamicConfigurations

func (gen *Generator) EnvoyDynamicConfigurations() []descriptor.EnvoyDynamicConfigDescriptor

func (*Generator) HPASpec

func (*Generator) MonitoredEndpoints

func (gen *Generator) MonitoredEndpoints() []monitoringv1.PodMetricsEndpoint

func (*Generator) PDBSpec

func (*Generator) Resources

func (gen *Generator) Resources() ([]resource.TemplateInterface, error)

Resources returns the list of resource templates

func (*Generator) SendTraffic

func (gen *Generator) SendTraffic() bool

func (*Generator) Services

func (gen *Generator) Services() []*resource.Template[*corev1.Service]

func (*Generator) TrafficSelector

func (gen *Generator) TrafficSelector() map[string]string

Jump to

Keyboard shortcuts

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