sherlockflags

package
v1.1.28 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2024 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SherlockUpdaterFlags

type SherlockUpdaterFlags interface {
	// AddFlags add  flags to a command
	AddFlags(*cobra.Command)
	// GetDeployedVersionUpdater should be called during a Run function to get a releaser.DeployedVersionUpdater that matches the given flags
	GetDeployedVersionUpdater(thelmaApp app.ThelmaApp, dryRun bool) (*releaser.DeployedVersionUpdater, error)
	// Description returns value of --description flag
	Description() string
}

SherlockUpdaterFlags adds sherlock update flags to a cobra command and supports converting those flags to a releaser.DeployedVersionUpdater

func NewSherlockUpdaterFlags

func NewSherlockUpdaterFlags() SherlockUpdaterFlags

NewSherlockUpdaterFlags returns a new SherlockUpdaterFlags

Jump to

Keyboard shortcuts

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