output

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2026 License: BSD-3-Clause Imports: 21 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

SPDX-FileCopyrightText: 2026 Outscale SAS <opensource@outscale.com>

SPDX-License-Identifier: BSD-3-Clause

SPDX-FileCopyrightText: 2026 Outscale SAS <opensource@outscale.com> SPDX-License-Identifier: BSD-3-Clause

SPDX-FileCopyrightText: 2026 Outscale SAS <opensource@outscale.com>

SPDX-License-Identifier: BSD-3-Clause

SPDX-FileCopyrightText: 2026 Outscale SAS <opensource@outscale.com> SPDX-License-Identifier: BSD-3-Clause

SPDX-FileCopyrightText: 2026 Outscale SAS <opensource@outscale.com> SPDX-License-Identifier: BSD-3-Clause

SPDX-FileCopyrightText: 2026 Outscale SAS <opensource@outscale.com> SPDX-License-Identifier: BSD-3-Clause

SPDX-FileCopyrightText: 2026 Outscale SAS <opensource@outscale.com> SPDX-License-Identifier: BSD-3-Clause

SPDX-FileCopyrightText: 2026 Outscale SAS <opensource@outscale.com> SPDX-License-Identifier: BSD-3-Clause

SPDX-FileCopyrightText: 2026 Outscale SAS <opensource@outscale.com> SPDX-License-Identifier: BSD-3-Clause

SPDX-FileCopyrightText: 2026 Outscale SAS <opensource@outscale.com> SPDX-License-Identifier: BSD-3-Clause

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetRow

func GetRow(v any, cols config.Columns) ([]string, error)

Types

type Default

type Default = JSON

type JQ

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

func NewJQ

func NewJQ(s string) (*JQ, error)

func (JQ) Content added in v0.0.7

func (j JQ) Content(ctx context.Context, v any) error

func (JQ) Error added in v0.0.7

func (JQ) Error(ctx context.Context, v any) error

type JSON

type JSON struct{}

func (JSON) Content added in v0.0.7

func (JSON) Content(ctx context.Context, v any) error

func (JSON) Error added in v0.0.7

func (j JSON) Error(ctx context.Context, v any) error

type None added in v0.0.7

type None struct {
}

func (None) Content added in v0.0.7

func (t None) Content(ctx context.Context, v any) error

func (None) Error added in v0.0.7

func (t None) Error(ctx context.Context, v any) error

type Output

type Output interface {
	Content(ctx context.Context, v any) error
	Error(ctx context.Context, v any) error
}

func NewFromFlags

func NewFromFlags(fs *pflag.FlagSet, c config.Call, e config.Entity) (Output, error)

type Table

type Table struct {
	Columns config.Columns
}

func (Table) Content

func (t Table) Content(ctx context.Context, v any) error

func (Table) Error added in v0.0.7

func (Table) Error(ctx context.Context, v any) error

type YAML

type YAML struct{}

func (YAML) Content

func (YAML) Content(ctx context.Context, v any) error

func (YAML) Error added in v0.0.7

func (y YAML) Error(ctx context.Context, v any) error

Jump to

Keyboard shortcuts

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