cli

package
v0.0.0-...-270f78c Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2023 License: Zlib Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BoolPairs

func BoolPairs(s kingpin.Settings) (target *[]portainer.Pair)

func Confirm

func Confirm(message string) (bool, error)

Confirm starts a rollback db cli application

Types

type Service

type Service struct{}

Service implements the CLIService interface

func (*Service) ParseFlags

func (*Service) ParseFlags(version string) (*portainer.CLIFlags, error)

ParseFlags parse the CLI flags and return a portainer.Flags struct

func (*Service) ValidateFlags

func (*Service) ValidateFlags(flags *portainer.CLIFlags) error

ValidateFlags validates the values of the flags.

Jump to

Keyboard shortcuts

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