status

package
v8.64.4 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2026 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsInvalidConfig

func IsInvalidConfig(err error) bool

IsInvalidConfig asserts invalidConfigError.

func IsInvalidDeclaration

func IsInvalidDeclaration(err error) bool

IsInvalidDeclaration asserts invalidDeclarationError: the team file's entry is refused by the engine's validation, so its set-up state cannot be judged until the entry is fixed; the problems name the fields.

func IsInvalidFlag

func IsInvalidFlag(err error) bool

IsInvalidFlag asserts invalidFlagError.

func IsNotDeclared

func IsNotDeclared(err error) bool

IsNotDeclared asserts notDeclaredError: no team file declares the repository, so there is no desired state to judge it against.

func New

func New(config Config) (*cobra.Command, error)

Types

type Config

type Config struct {
	Logger *logrus.Logger
	Stderr io.Writer
	Stdout io.Writer
}

Jump to

Keyboard shortcuts

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