autossl

package
v0.25.1 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2024 License: Apache-2.0 Imports: 18 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.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 (*Generator) MonitoredEndpoints

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

func (*Generator) PDBSpec

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 (gen *Generator) SendTraffic() bool

func (*Generator) TrafficSelector

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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