generators

package
v0.12.3 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GeneratorOptions

type GeneratorOptions struct {
	InstanceName              string
	Namespace                 string
	DiscoveryServiceName      string
	XdssAdress                string
	XdssPort                  int
	EnvoyAPIVersion           envoy.APIVersion
	EnvoyNodeID               string
	EnvoyClusterID            string
	ClientCertificateName     string
	ClientCertificateDuration time.Duration
	SigningCertificateName    string
	DeploymentImage           string
	DeploymentResources       corev1.ResourceRequirements
	ExposedPorts              []operatorv1alpha1.ContainerPort
	ExtraArgs                 []string
	AdminPort                 int32
	AdminAccessLogPath        string
	Replicas                  operatorv1alpha1.ReplicasSpec
	LivenessProbe             operatorv1alpha1.ProbeSpec
	ReadinessProbe            operatorv1alpha1.ProbeSpec
	Affinity                  *corev1.Affinity
	PodDisruptionBudget       operatorv1alpha1.PodDisruptionBudgetSpec
	ShutdownManager           *operatorv1alpha1.ShutdownManager
	InitManager               *operatorv1alpha1.InitManager
}

func (*GeneratorOptions) ClientCertificate

func (cfg *GeneratorOptions) ClientCertificate() func() *operatorv1alpha1.DiscoveryServiceCertificate

func (*GeneratorOptions) Deployment

func (cfg *GeneratorOptions) Deployment() func() *appsv1.Deployment

func (*GeneratorOptions) HPA

func (*GeneratorOptions) OwnedResourceKey

func (cfg *GeneratorOptions) OwnedResourceKey() types.NamespacedName

func (*GeneratorOptions) PDB

func (cfg *GeneratorOptions) PDB() func() *policyv1.PodDisruptionBudget

Jump to

Keyboard shortcuts

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