Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewEARFormat ¶
NewEARFormat for formatting output
func NewFullEARFormat ¶
NewFullEARFormat for formatting output
Types ¶
type Context ¶
type Context struct { formatter.HeaderContext formatter.Context // contains filtered or unexported fields }
Context for ear config outputs
func NewEARContext ¶
func NewEARContext() *Context
NewEARContext creates a new context for rendering ear
func (*Context) KeyProvider ¶
KeyProvider fetches EAR Key Provider
type FullEARContext ¶
type FullEARContext struct { formatter.HeaderContext formatter.Context // contains filtered or unexported fields }
FullEARContext to render EAR Details output
func NewFullEARContext ¶
func NewFullEARContext() *FullEARContext
NewFullEARContext creates a new context for rendering ear
func (*FullEARContext) MarshalJSON ¶
func (fear *FullEARContext) MarshalJSON() ([]byte, error)
MarshalJSON function
func (*FullEARContext) SetFullEAR ¶
func (fear *FullEARContext) SetFullEAR(ear util.KMSConfig)
SetFullEAR initializes the context with the ear data
func (*FullEARContext) Write ¶
func (fear *FullEARContext) Write() error
Write populates the output table to be displayed in the command line
Click to show internal directories.
Click to hide internal directories.