ls

package
v0.0.0-...-ec430c0 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BlockTypeRSAPrivateKey = "RSA PRIVATE KEY"
)

定义 pem.Block 类型

Variables

This section is empty.

Functions

func LoadCertificateChain

func LoadCertificateChain(file afs.Path) (dto.CertChain, error)

LoadCertificateChain ...

func LoadContainerConfig

func LoadContainerConfig(file afs.Path) (*vo.ContainerConfig, error)

LoadContainerConfig ...

func LoadDomainConfig

func LoadDomainConfig(file afs.Path) (*vo.DomainConfig, error)

LoadDomainConfig ...

func LoadPrivateKeyRSA

func LoadPrivateKeyRSA(file afs.Path) (*rsa.PrivateKey, error)

LoadPrivateKeyRSA ...

func LoadProperties

func LoadProperties(file afs.Path) (properties.Table, error)

LoadProperties ...

func SaveCertificateChain

func SaveCertificateChain(chain dto.CertChain, file afs.Path) error

SaveCertificateChain ...

func SavePrivateKeyRSA

func SavePrivateKeyRSA(pk *rsa.PrivateKey, dst afs.Path) error

SavePrivateKeyRSA ...

func SaveProperties

func SaveProperties(p properties.Table, file afs.Path) error

SaveProperties ...

Types

type ContainerConfigLoader

type ContainerConfigLoader struct {
}

ContainerConfigLoader ...

func (*ContainerConfigLoader) Load

func (inst *ContainerConfigLoader) Load(file afs.Path) (*vo.ContainerConfig, error)

Load ...

type ContainerConfigSaver

type ContainerConfigSaver struct {
}

ContainerConfigSaver ...

type DomainConfigLoader

type DomainConfigLoader struct {
}

DomainConfigLoader ...

func (*DomainConfigLoader) Load

func (inst *DomainConfigLoader) Load(file afs.Path) (*vo.DomainConfig, error)

Load ...

type DomainConfigSaver

type DomainConfigSaver struct {
}

Jump to

Keyboard shortcuts

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