Documentation ¶
Index ¶
- type Config
- type Factory
- type Provider
- func (p Provider) GetCertificate() (*x509.Certificate, error)
- func (p Provider) GetCertificatePEM() (string, error)
- func (p Provider) Name() string
- func (p Provider) SignCertificate(template *x509.Certificate, publicKey interface{}, loggerContext logrus.Fields) ([]byte, error)
- func (p Provider) SignSSHCertificate(certificate *ssh.Certificate, loggerContext logrus.Fields) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Factory ¶
type Factory struct {
// contains filtered or unexported fields
}
func NewFactory ¶
func NewFactory(fs boshsys.FileSystem, logger logrus.FieldLogger) Factory
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
func NewProvider ¶
func NewProvider(name string, config Config, fs boshsys.FileSystem, logger logrus.FieldLogger) Provider
func (Provider) GetCertificate ¶
func (p Provider) GetCertificate() (*x509.Certificate, error)
func (Provider) GetCertificatePEM ¶
func (Provider) SignCertificate ¶
func (Provider) SignSSHCertificate ¶
Click to show internal directories.
Click to hide internal directories.