Documentation ¶
Index ¶
Constants ¶
View Source
const (
// EIT provides header for EIT cert info
EIT = "table {{.ServerCert}}\t{{.ServerKey}}"
)
Variables ¶
This section is empty.
Functions ¶
func NewEITFormat ¶
NewEITFormat for formatting output
Types ¶
type EITContext ¶
type EITContext struct { formatter.HeaderContext formatter.Context CustomServerCert ybaclient.CustomServerCertInfo }
EITContext for provider outputs
func NewEITContext ¶
func NewEITContext() *EITContext
NewEITContext creates a new context for rendering provider
func (*EITContext) MarshalJSON ¶
func (c *EITContext) MarshalJSON() ([]byte, error)
MarshalJSON function
func (*EITContext) ServerCert ¶
func (c *EITContext) ServerCert() string
ServerCert fetches server cert
Click to show internal directories.
Click to hide internal directories.