Documentation
¶
Index ¶
- func NewExtractMetadataFormat(source string) formatter.Format
- func NewFullExtractMetadataFormat(source string) formatter.Format
- func Write(ctx formatter.Context, extractMetadatas []ybaclient.ResponseExtractMetadata) error
- type Context
- func (c *Context) Architecture() string
- func (c *Context) MarshalJSON() ([]byte, error)
- func (c *Context) Platform() string
- func (c *Context) ReleaseDate() string
- func (c *Context) ReleaseNotes() string
- func (c *Context) ReleaseType() string
- func (c *Context) SHA256() string
- func (c *Context) State() string
- func (c *Context) UUID() string
- func (c *Context) Version() string
- func (c *Context) YbType() string
- type FullExtractMetadataContext
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewExtractMetadataFormat ¶
NewExtractMetadataFormat for formatting output
func NewFullExtractMetadataFormat ¶
NewFullExtractMetadataFormat for formatting output
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 ¶
Architecture of YugabyteDB release
func (*Context) ReleaseDate ¶
ReleaseDate of YugabyteDB release
func (*Context) ReleaseNotes ¶
ReleaseNotes of YugabyteDB release
func (*Context) ReleaseType ¶
ReleaseType of YugabyteDB extractMetadata
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