customservercert

package
v0.0.0-...-f0e5f0d Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

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

func NewEITFormat(source string) formatter.Format

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

func (*EITContext) ServerKey

func (c *EITContext) ServerKey() string

ServerKey fetches server key

Jump to

Keyboard shortcuts

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