status

package
v0.4.0 Latest Latest
Warning

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

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

Documentation

Overview

Package status contains the logic that handles the status command in liqoctl

Index

Constants

View Source
const (

	// ShortHelp contains the short help string for liqoctl status command.
	ShortHelp = "Show overall status of Liqo"
	// LongHelp contains the Long help string for liqoctl status command.
	LongHelp = `` /* 201-byte string literal not displayed */

	// UseCommand contains the name of the command.
	UseCommand = "status"

	// Namespace contains the name of namespace flag.
	Namespace = "namespace"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Args

type Args struct {
	Namespace string
}

Args flags of the status command.

func (*Args) Handler

func (a *Args) Handler(ctx context.Context) error

Handler implements the logic of the status command.

type Checker

type Checker interface {
	Collect(ctx context.Context) error
	Format() (string, error)
	HasSucceeded() bool
}

Checker an interface required to be implemented by all the checkers that collect the status of Liqo.

Jump to

Keyboard shortcuts

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