extractmetadata

package
v0.0.0-...-dbfc090 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewExtractMetadataFormat

func NewExtractMetadataFormat(source string) formatter.Format

NewExtractMetadataFormat for formatting output

func NewFullExtractMetadataFormat

func NewFullExtractMetadataFormat(source string) formatter.Format

NewFullExtractMetadataFormat for formatting output

func Write

func Write(
	ctx formatter.Context,
	extractMetadatas []ybaclient.ResponseExtractMetadata,
) error

Write renders the context for a list of ExtractMetadata

Types

type Context

type Context struct {
	formatter.HeaderContext
	formatter.Context
	// contains filtered or unexported fields
}

Context for extractMetadatas outputs

func NewExtractMetadataContext

func NewExtractMetadataContext() *Context

NewExtractMetadataContext creates a new context for rendering extractMetadatas

func (*Context) Architecture

func (c *Context) Architecture() string

Architecture of YugabyteDB release

func (*Context) MarshalJSON

func (c *Context) MarshalJSON() ([]byte, error)

MarshalJSON function

func (*Context) Platform

func (c *Context) Platform() string

Platform of YugabyteDB release

func (*Context) ReleaseDate

func (c *Context) ReleaseDate() string

ReleaseDate of YugabyteDB release

func (*Context) ReleaseNotes

func (c *Context) ReleaseNotes() string

ReleaseNotes of YugabyteDB release

func (*Context) ReleaseType

func (c *Context) ReleaseType() string

ReleaseType of YugabyteDB extractMetadata

func (*Context) SHA256

func (c *Context) SHA256() string

SHA256 of YugabyteDB release

func (*Context) State

func (c *Context) State() string

State of YugabyteDB extractMetadata

func (*Context) UUID

func (c *Context) UUID() string

UUID of YugabyteDB extractMetadata

func (*Context) Version

func (c *Context) Version() string

Version of YugabyteDB extractMetadata

func (*Context) YbType

func (c *Context) YbType() string

YbType of YugabyteDB release

type FullExtractMetadataContext

type FullExtractMetadataContext struct {
	formatter.HeaderContext
	formatter.Context
	// contains filtered or unexported fields
}

FullExtractMetadataContext to render ExtractMetadata Details output

func NewFullExtractMetadataContext

func NewFullExtractMetadataContext() *FullExtractMetadataContext

NewFullExtractMetadataContext creates a new context for rendering release

func (*FullExtractMetadataContext) MarshalJSON

func (fr *FullExtractMetadataContext) MarshalJSON() ([]byte, error)

MarshalJSON function

func (*FullExtractMetadataContext) SetFullExtractMetadata

func (fr *FullExtractMetadataContext) SetFullExtractMetadata(
	release ybaclient.ResponseExtractMetadata,
)

SetFullExtractMetadata initializes the context with the release data

func (*FullExtractMetadataContext) Write

func (fr *FullExtractMetadataContext) Write() error

Write populates the output table to be displayed in the command line

Jump to

Keyboard shortcuts

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