Versions in this module Expand all Collapse all v0 v0.0.10 Jun 24, 2024 Changes in this version + func NewService(name string, tweaks ...ServiceTweak) *corev1.Service + type ServiceTweak func(s *corev1.Service) + func TweakAddAppProtocol(appProtocol string) ServiceTweak + func TweakAddDeletionTimestamp(time time.Time) ServiceTweak + func TweakAddETP(etpType corev1.ServiceExternalTrafficPolicyType) ServiceTweak + func TweakAddFinalizers(finalizers ...string) ServiceTweak + func TweakAddLBClass(loadBalancerClass *string) ServiceTweak + func TweakAddLBIngress(ip string) ServiceTweak + func TweakAddPorts(protocol corev1.Protocol, sourcePort, targetPort int) ServiceTweak + func TweakDualStack() ServiceTweak + func TweakNamespace(ns string) ServiceTweak + func TweakSetIPFamilies(families ...corev1.IPFamily) ServiceTweak + func TweakSetLoadbalancerIP(ip string) ServiceTweak