cmd

package
v0.0.0-...-d90b1fa Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: MIT Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CredHubCmd

func CredHubCmd() *cli.Command

func HTTPCmd

func HTTPCmd() *cli.Command

func TraverseYAML

func TraverseYAML(path string, r io.Reader) ([]byte, error)

func VisualizeCredHub

func VisualizeCredHub(in io.Reader) (string, error)

func X509Cmd

func X509Cmd() *cli.Command

func YamlCmd

func YamlCmd() *cli.Command

Types

type FileCertificate

type FileCertificate struct {
	Filepath    string
	RawPEM      []byte
	Certificate *x509.Certificate
}

type FileRawCertificate

type FileRawCertificate struct {
	Filepath       string
	RawCertificate []byte
}

type HTTPTrace

type HTTPTrace struct {
	Start time.Time
	End   time.Time

	DNSLookupStart          time.Time
	DNSLookupDone           time.Time
	ConnectStart            time.Time
	ConnectDone             time.Time
	TLSStart                time.Time
	TLSDone                 time.Time
	WroteRequestHeadersDone time.Time
	WroteRequestDone        time.Time
	FirstResponseByteDone   time.Time

	TLSConnStateInfo *tls.ConnectionState
}

func (*HTTPTrace) Finish

func (t *HTTPTrace) Finish()

func (*HTTPTrace) Trace

func (t *HTTPTrace) Trace() *httptrace.ClientTrace

Jump to

Keyboard shortcuts

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