delpoyment_workload

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: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	EmptyKey      types.NamespacedName = types.NamespacedName{}
	EmptyLabel    map[string]string    = map[string]string{}
	EmptySelector map[string]string    = map[string]string{}
)

Functions

Types

type WithEnvoySidecar

type WithEnvoySidecar interface {
	WithWorkloadMeta
	EnvoyDynamicConfigurations() []descriptor.EnvoyDynamicConfigDescriptor
}

type WithHorizontalPodAutoscaler

type WithHorizontalPodAutoscaler interface {
	HPASpec() *saasv1alpha1.HorizontalPodAutoscalerSpec
}

type WithKey

type WithKey interface {
	GetKey() types.NamespacedName
}

type WithLabels

type WithLabels interface {
	GetLabels() map[string]string
}

type WithMonitoring

type WithMonitoring interface {
	MonitoredEndpoints() []monitoringv1.PodMetricsEndpoint
}

type WithPodDisruptionBadget

type WithPodDisruptionBadget interface {
	PDBSpec() *saasv1alpha1.PodDisruptionBudgetSpec
}

type WithSelector

type WithSelector interface {
	GetSelector() map[string]string
}

type WithTraffic

type WithTraffic interface {
	WithWorkloadMeta
	WithSelector
	SendTraffic() bool
	TrafficSelector() map[string]string
	Services() []*resource.Template[*corev1.Service]
}

type WithWorkloadMeta

type WithWorkloadMeta interface {
	WithKey
	WithLabels
	WithSelector
}

Jump to

Keyboard shortcuts

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