Documentation ¶
Index ¶
- Variables
- func CheckError(err interface{}, msg string)
- func CreateClient() *kubernetes.Clientset
- func GetPvcObject() v1.PersistentVolumeClaimInterface
- func Greet()
- func IncreaseWhatsappDiskSize() int64
- func Send(sendTo string, mailTemplate MailTemplate)
- func SendMail(template string, body string, sendTo []string)
- func WatchDirectoryUsage()
- type DfCMD
- type Logger
- type MailTemplate
Constants ¶
This section is empty.
Variables ¶
View Source
var Namespace = os.Getenv("WHATSAPP_ACCOUNT")
Functions ¶
func CheckError ¶
func CheckError(err interface{}, msg string)
func CreateClient ¶
func CreateClient() *kubernetes.Clientset
func GetPvcObject ¶
func GetPvcObject() v1.PersistentVolumeClaimInterface
func IncreaseWhatsappDiskSize ¶
func IncreaseWhatsappDiskSize() int64
func Send ¶
func Send(sendTo string, mailTemplate MailTemplate)
func WatchDirectoryUsage ¶
func WatchDirectoryUsage()
Types ¶
type DfCMD ¶
type DfCMD struct { Filesystem string Size string Used string Available string UsePer int MountedOn string }
func ExecuteDFCommand ¶
func ExecuteDFCommand() *DfCMD
type MailTemplate ¶
Click to show internal directories.
Click to hide internal directories.