util

package
v0.0.0-...-cdcf638 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 28, 2018 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateOrPatchMessage

func CreateOrPatchMessage(c cs.MessengerV1alpha1Interface, meta metav1.ObjectMeta, transform func(alert *api.Message) *api.Message) (*api.Message, kutil.VerbType, error)

func PatchMessage

func PatchMessage(c cs.MessengerV1alpha1Interface, cur *api.Message, transform func(*api.Message) *api.Message) (*api.Message, kutil.VerbType, error)

func PatchMessageObject

func PatchMessageObject(c cs.MessengerV1alpha1Interface, cur, mod *api.Message) (*api.Message, kutil.VerbType, error)

func TryUpdateMessage

func TryUpdateMessage(c cs.MessengerV1alpha1Interface, meta metav1.ObjectMeta, transform func(*api.Message) *api.Message) (result *api.Message, err error)

func UpdateMessageStatus

func UpdateMessageStatus(c cs.MessengerV1alpha1Interface, cur *api.Message, transform func(*api.MessageStatus) *api.MessageStatus, useSubresource ...bool) (*api.Message, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL