Documentation ¶
Index ¶
Constants ¶
View Source
const ( // EIT1 provides header for EIT cert info EIT1 = "table {{.ClientCertPath}}\t{{.ClientKeyPath}}" // EIT2 provides header for EIT cert info EIT2 = "table {{.NodeCertPath}}\t{{.NodeKeyPath}}" // EIT3 provides header for EIT cert info EIT3 = "table {{.RootCertPath}}" )
Variables ¶
This section is empty.
Functions ¶
func NewEITFormat ¶
NewEITFormat for formatting output
Types ¶
type EITContext ¶
type EITContext struct { formatter.HeaderContext formatter.Context CustomCertPath ybaclient.CustomCertInfo }
EITContext for provider outputs
func NewEITContext ¶
func NewEITContext() *EITContext
NewEITContext creates a new context for rendering provider
func (*EITContext) ClientCertPath ¶
func (c *EITContext) ClientCertPath() string
ClientCertPath fetches client cert path
func (*EITContext) ClientKeyPath ¶
func (c *EITContext) ClientKeyPath() string
ClientKeyPath fetches client key path
func (*EITContext) MarshalJSON ¶
func (c *EITContext) MarshalJSON() ([]byte, error)
MarshalJSON function
func (*EITContext) NodeCertPath ¶
func (c *EITContext) NodeCertPath() string
NodeCertPath fetches node cert path
func (*EITContext) NodeKeyPath ¶
func (c *EITContext) NodeKeyPath() string
NodeKeyPath fetches node key path
func (*EITContext) RootCertPath ¶
func (c *EITContext) RootCertPath() string
RootCertPath fetches root cert path
Click to show internal directories.
Click to hide internal directories.