Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewControllerRef ¶
func NewControllerRef(c *scyllav1.ScyllaCluster) metav1.OwnerReference
NewControllerRef returns an OwnerReference to the provided Cluster Object
func PatchService ¶
func PatchService(ctx context.Context, old, new *corev1.Service, kubeClient kubernetes.Interface) error
PatchService patches the old Service so that it matches the new Service.
Types ¶
type StrategicMergePatchFunc ¶
The StrategicMergePatchFunc type is an adapter to allow the use of ordinary functions as Strategic Merge Patch.
func (StrategicMergePatchFunc) Data ¶
func (f StrategicMergePatchFunc) Data(obj runtime.Object) ([]byte, error)
Data returns the raw data representing the patch.
func (StrategicMergePatchFunc) Type ¶
func (f StrategicMergePatchFunc) Type() types.PatchType
Type returns PatchType of Strategic Merge Patch
Click to show internal directories.
Click to hide internal directories.