Documentation ¶
Index ¶
- func ServicePatcher(ctx context.Context, client v1.ModInterface, in *core.Service, ...) (bool, error)
- type ServicePatch
- func Optional(p ServicePatch, enabled bool) ServicePatch
- func PatchServiceOnlyPorts(ports ...core.ServicePort) ServicePatch
- func PatchServicePorts(ports []core.ServicePort) ServicePatch
- func PatchServicePublishNotReadyAddresses(publishNotReadyAddresses bool) ServicePatch
- func PatchServiceSelector(selector map[string]string) ServicePatch
- func PatchServiceType(t core.ServiceType) ServicePatch
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ServicePatcher ¶
func ServicePatcher(ctx context.Context, client v1.ModInterface, in *core.Service, opts meta.PatchOptions, functions ...ServicePatch) (bool, error)
Types ¶
type ServicePatch ¶
func Optional ¶
func Optional(p ServicePatch, enabled bool) ServicePatch
func PatchServiceOnlyPorts ¶
func PatchServiceOnlyPorts(ports ...core.ServicePort) ServicePatch
func PatchServicePorts ¶
func PatchServicePorts(ports []core.ServicePort) ServicePatch
func PatchServicePublishNotReadyAddresses ¶
func PatchServicePublishNotReadyAddresses(publishNotReadyAddresses bool) ServicePatch
func PatchServiceSelector ¶
func PatchServiceSelector(selector map[string]string) ServicePatch
func PatchServiceType ¶
func PatchServiceType(t core.ServiceType) ServicePatch
Click to show internal directories.
Click to hide internal directories.