Documentation
¶
Index ¶
- func Patcher[T meta.Object](ctx context.Context, client Client[T], in T, opts meta.PatchOptions, ...) (T, bool, error)
- type Client
- type Patch
- func Finalizers[T meta.Object](finalizers []string) Patch[T]
- func Optional[T meta.Object](p Patch[T], enabled bool) Patch[T]
- func PatchConfigMapData(data map[string]string) Patch[*core.ConfigMap]
- func PatchMetadata[T meta.Object](expected T) Patch[T]
- func PatchServiceOnlyPorts(ports ...core.ServicePort) Patch[*core.Service]
- func PatchServicePorts(ports []core.ServicePort) Patch[*core.Service]
- func PatchServicePublishNotReadyAddresses(publishNotReadyAddresses bool) Patch[*core.Service]
- func PatchServiceSelector(selector map[string]string) Patch[*core.Service]
- func PatchServiceType(t core.ServiceType) Patch[*core.Service]
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Patch ¶
func PatchMetadata ¶
func PatchServiceOnlyPorts ¶
func PatchServiceOnlyPorts(ports ...core.ServicePort) Patch[*core.Service]
func PatchServicePorts ¶
func PatchServicePorts(ports []core.ServicePort) Patch[*core.Service]
func PatchServiceSelector ¶
func PatchServiceType ¶
func PatchServiceType(t core.ServiceType) Patch[*core.Service]
Click to show internal directories.
Click to hide internal directories.