Documentation
¶
Overview ¶
Package features provides sample features for the statefulset primitive.
Index ¶
- func CustomConvergeStatus() ...
- func CustomGraceStatus() func(*appsv1.StatefulSet) (concepts.GraceStatusWithReason, error)
- func CustomSuspendMutation() func(*statefulset.Mutator) error
- func MetricsFeature(enabled bool, port int) statefulset.Mutation
- func TracingFeature(enabled bool) statefulset.Mutation
- func VersionFeature(version string) statefulset.Mutation
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CustomConvergeStatus ¶
func CustomConvergeStatus() func(concepts.ConvergingOperation, *appsv1.StatefulSet) (concepts.AliveStatusWithReason, error)
CustomConvergeStatus demonstrates a custom handler for statefulset readiness.
func CustomGraceStatus ¶
func CustomGraceStatus() func(*appsv1.StatefulSet) (concepts.GraceStatusWithReason, error)
CustomGraceStatus demonstrates a custom handler for health when not ready.
func CustomSuspendMutation ¶
func CustomSuspendMutation() func(*statefulset.Mutator) error
CustomSuspendMutation demonstrates a custom mutation when suspended.
func MetricsFeature ¶
func MetricsFeature(enabled bool, port int) statefulset.Mutation
MetricsFeature adds an exporter sidecar and some annotations.
func TracingFeature ¶
func TracingFeature(enabled bool) statefulset.Mutation
TracingFeature adds a Jaeger sidecar to the statefulset.
func VersionFeature ¶
func VersionFeature(version string) statefulset.Mutation
VersionFeature sets the image version and a label.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.