notifier

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Added

func Added(obj fmt.Stringer)

Added announces that a resource has been added to the remote endpoint

func Error

func Error(obj fmt.Stringer, msg string)

Error announces a message in yellow

func HasChanges

func HasChanges(obj fmt.Stringer, diff string)

HasChanges announces that a resource has changed, and displays the differences

func Info

func Info(obj fmt.Stringer, msg string)

Info announces a message in green

func NoChanges

func NoChanges(obj fmt.Stringer)

NoChanges announces that nothing has changed

func NotFound

func NotFound(obj fmt.Stringer)

NotFound announces that a resource was not found on the remote endpoint

func NotSupported

func NotSupported(obj fmt.Stringer, behaviour string)

NotSupported announces that a behaviour is not supported by a handler

func Updated

func Updated(obj fmt.Stringer)

Updated announces that a resource has been updated at the remote endpoint

func Warn

func Warn(obj fmt.Stringer, msg string)

Warn announces a message in yellow

Types

type SimpleString

type SimpleString string

func (SimpleString) String

func (s SimpleString) String() string

Jump to

Keyboard shortcuts

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