Documentation ¶
Index ¶
- Constants
- func DeploymentEnvoyCreator(data nodePortProxyData) reconciling.NamedDeploymentCreatorGetter
- func DeploymentLBUpdaterCreator(data nodePortProxyData) reconciling.NamedDeploymentCreatorGetter
- func FrontLoadBalancerServiceCreator(data *resources.TemplateData) reconciling.NamedServiceCreatorGetter
- func PodDisruptionBudgetCreator() reconciling.NamedPodDisruptionBudgetCreatorGetter
- func RoleBindingCreator() (string, reconciling.RoleBindingCreator)
- func RoleCreator() (string, reconciling.RoleCreator)
- func ServiceAccountCreator() (string, reconciling.ServiceAccountCreator)
- type ExposeType
- type ExposeTypes
Constants ¶
View Source
const ( // NodePortProxyExposeNamespacedAnnotationKey is the annotation key used to indicate that // a service should be exposed by the namespaced NodeportProxy instance. // We use it when clusters get exposed via a LoadBalancer, to allow re-using that LoadBalancer // for both the kube-apiserver and the openVPN server. NodePortProxyExposeNamespacedAnnotationKey = "nodeport-proxy.k8s.io/expose-namespaced" DefaultExposeAnnotationKey = "nodeport-proxy.k8s.io/expose" // PortHostMappingAnnotationKey contains the mapping between the port to be // exposed and the hostname, this is only used when the ExposeType is // SNIType. PortHostMappingAnnotationKey = "nodeport-proxy.k8s.io/port-mapping" )
Variables ¶
This section is empty.
Functions ¶
func DeploymentEnvoyCreator ¶ added in v2.21.0
func DeploymentEnvoyCreator(data nodePortProxyData) reconciling.NamedDeploymentCreatorGetter
func DeploymentLBUpdaterCreator ¶ added in v2.21.0
func DeploymentLBUpdaterCreator(data nodePortProxyData) reconciling.NamedDeploymentCreatorGetter
func FrontLoadBalancerServiceCreator ¶
func FrontLoadBalancerServiceCreator(data *resources.TemplateData) reconciling.NamedServiceCreatorGetter
FrontLoadBalancerServiceCreator returns the creator for the LoadBalancer that fronts apiserver and openVPN when using exposeStrategy=LoadBalancer.
func PodDisruptionBudgetCreator ¶ added in v2.21.0
func PodDisruptionBudgetCreator() reconciling.NamedPodDisruptionBudgetCreatorGetter
func RoleBindingCreator ¶ added in v2.21.0
func RoleBindingCreator() (string, reconciling.RoleBindingCreator)
func RoleCreator ¶ added in v2.21.0
func RoleCreator() (string, reconciling.RoleCreator)
func ServiceAccountCreator ¶ added in v2.21.0
func ServiceAccountCreator() (string, reconciling.ServiceAccountCreator)
Types ¶
type ExposeType ¶ added in v2.16.3
type ExposeType int
ExposeType defines the strategy used to expose the service.
const ( // NodePortType is the default ExposeType which creates a listener for each // NodePort. NodePortType ExposeType = iota // SNIType configures Envoy to route TLS streams based on SNI // without terminating them. SNIType // TunnelingType configures Envoy to terminate the tunnel and stream the // data to the destination. // The only supported tunneling technique at the moment in HTTP/2 Connect. TunnelingType )
func ExposeTypeFromString ¶ added in v2.16.3
func ExposeTypeFromString(s string) (ExposeType, bool)
ExposeTypeFromString returns the ExposeType which string representation corresponds to the input string, and a boolean indicating whether the corresponding ExposeType was found or not.
func (ExposeType) String ¶ added in v2.16.3
func (e ExposeType) String() string
String returns the string representation of the ExposeType.
type ExposeTypes ¶ added in v2.16.3
type ExposeTypes map[ExposeType]sets.Empty
func NewExposeTypes ¶ added in v2.16.3
func NewExposeTypes(exposeTypes ...ExposeType) ExposeTypes
func (ExposeTypes) Has ¶ added in v2.16.3
func (e ExposeTypes) Has(item ExposeType) bool
func (ExposeTypes) Insert ¶ added in v2.16.3
func (e ExposeTypes) Insert(item ExposeType)
Click to show internal directories.
Click to hide internal directories.