Documentation ¶
Index ¶
- Constants
- func NewService(ctx gousu.IContext) gousu.IService
- type IService
- type PEMCert
- type Service
- func (s *Service) GenerateCACert() (*PEMCert, error)
- func (s *Service) GenerateClientCert(agentUID string, clientsPEM *PEMCert) (*PEMCert, error)
- func (s *Service) GenerateServerCert(hostname string, caPEM *PEMCert) (*PEMCert, error)
- func (s *Service) Health() error
- func (s *Service) Name() string
- func (s *Service) Start() error
- func (s *Service) Stop() error
Constants ¶
View Source
const ServiceName = "cert"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func (*Service) GenerateCACert ¶
func (*Service) GenerateClientCert ¶
func (*Service) GenerateServerCert ¶
Click to show internal directories.
Click to hide internal directories.