generators

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2021 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 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() lockedresources.GeneratorFunction

func (*GeneratorOptions) Deployment

func (cfg *GeneratorOptions) Deployment(replicas *int32) lockedresources.GeneratorFunction

func (*GeneratorOptions) HPA

func (*GeneratorOptions) OwnedResourceKey

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

func (*GeneratorOptions) PDB

Jump to

Keyboard shortcuts

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