cmd

package
v1.7.1 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2023 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Overview

Package cmd contains the watchtower (sub-)commands

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute the root func and exit in case of errors

func NewNotifyUpgradeCommand added in v1.5.0

func NewNotifyUpgradeCommand() *cobra.Command

NewNotifyUpgradeCommand creates the notify upgrade command for watchtower

func NewRootCommand added in v1.1.6

func NewRootCommand() *cobra.Command

NewRootCommand creates the root command for watchtower

func PreRun

func PreRun(cmd *cobra.Command, _ []string)

PreRun is a lifecycle hook that runs before the command is executed.

func Run

func Run(c *cobra.Command, names []string)

Run is the main execution flow of the command

Types

This section is empty.

Jump to

Keyboard shortcuts

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