initsecret

package
v1.0.4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MSP

type MSP struct {
	Keystore          []string `json:"keystore,omitempty"`
	SignCerts         []string `json:"signcerts,omitempty"`
	CACerts           []string `json:"cacerts,omitempty"`
	IntermediateCerts []string `json:"intermediatecerts,omitempty"`
	AdminCerts        []string `json:"admincerts,omitempty"`
}

type Migrator

type Migrator struct {
	Secret *Secret
}

func (*Migrator) ParseComponentCrypto

func (m *Migrator) ParseComponentCrypto() (*commonconfig.Response, error)

func (*Migrator) ParseCrypto

func (m *Migrator) ParseCrypto(crypto *MSP) (*commonconfig.Response, error)

func (*Migrator) ParseTLSCrypto

func (m *Migrator) ParseTLSCrypto() (*commonconfig.Response, error)

type Secret

type Secret struct {
	Component *MSP `json:"component,omitempty"`
	TLS       *MSP `json:"tls,omitempty"`
}

Jump to

Keyboard shortcuts

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