Documentation ¶
Overview ¶
Package common contains common plugin function helpers.
Index ¶
- func GetDuration(obj *metav1.ObjectMeta) string
- func IntToString(i int32) string
- func NewClient(clientConfig clientcmd.ClientConfig) (client.Client, error)
- func PrintCanaryPods(c client.Client, ns, edsName string, out io.Writer) error
- func PrintNotReadyPods(c client.Client, ns, edsName string, out io.Writer) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDuration ¶ added in v0.8.0
func GetDuration(obj *metav1.ObjectMeta) string
GetDuration gets uptime duration of a resource.
func NewClient ¶
func NewClient(clientConfig clientcmd.ClientConfig) (client.Client, error)
NewClient returns new client instance.
func PrintCanaryPods ¶
PrintCanaryPods prints the list of canary pods.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.