customcertpath

package
v0.0.0-...-cb0dfba Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

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

func NewEITFormat(source string) formatter.Format

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

Jump to

Keyboard shortcuts

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