apicast

package
v0.16.3 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2022 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EnvGenerator

type EnvGenerator struct {
	generators.BaseOptionsV2
	Spec    saasv1alpha1.ApicastEnvironmentSpec
	Options config.EnvOptions
	Traffic bool
}

EnvGenerator has methods to generate resources for an Apicast environment

func (*EnvGenerator) Deployment

func (*EnvGenerator) HPASpec added in v0.14.0

func (*EnvGenerator) Labels added in v0.14.0

func (gen *EnvGenerator) Labels() map[string]string

func (*EnvGenerator) MonitoredEndpoints added in v0.14.0

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

func (*EnvGenerator) PDBSpec added in v0.14.0

func (*EnvGenerator) SendTraffic added in v0.14.0

func (gen *EnvGenerator) SendTraffic() bool

func (*EnvGenerator) Services added in v0.14.0

func (*EnvGenerator) TrafficSelector added in v0.14.0

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

type Generator

type Generator struct {
	generators.BaseOptionsV2
	Staging              EnvGenerator
	CanaryStaging        *EnvGenerator
	Production           EnvGenerator
	CanaryProduction     *EnvGenerator
	LoadBalancerSpec     saasv1alpha1.LoadBalancerSpec
	GrafanaDashboardSpec saasv1alpha1.GrafanaDashboardSpec
}

Generator configures the generators for Apicast

func NewGenerator

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

NewGenerator returns a new Options struct

func (*Generator) Resources added in v0.14.0

func (gen *Generator) Resources() []basereconciler.Resource

Resources returns a list of basereconciler_v2.Resource

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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