cli

package
v4.0.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// flags.
	PromoterManifestFlag                = "manifest"
	PromoterThinManifestDirFlag         = "thin-manifest-dir"
	PromoterSnapshotFlag                = "snapshot"
	PromoterManifestBasedSnapshotOfFlag = "manifest-based-snapshot-of"
	PromoterOutputFlag                  = "output"
)

Variables

This section is empty.

Functions

func RunAuditCmd

func RunAuditCmd(opts *AuditOptions) error

func RunPromoteCmd

func RunPromoteCmd(opts *options.Options) error

Types

type AuditOptions

type AuditOptions struct {
	ProjectID    string
	RepoURL      string
	RepoBranch   string
	ManifestPath string
	UUID         string
	Verbose      bool
}

type Hook

type Hook struct {
	// contains filtered or unexported fields
}

func NewHook

func NewHook() *Hook

func (*Hook) Fire

func (h *Hook) Fire(e *logrus.Entry) error

func (*Hook) Levels

func (h *Hook) Levels() []logrus.Level

Jump to

Keyboard shortcuts

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