Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Manifold ¶
func Manifold(config ManifoldConfig) dependency.Manifold
The manifold is intended to be a dependency for the apiserver. Manifold provides a worker for supplying a pki Authority to other workers that want to create and modify certificates in a Juju controller.
Types ¶
type AuthorityWorker ¶
func NewAuthorityWorker ¶
func NewAuthorityWorker(_ agent.Agent) (AuthorityWorker, error)
type ManifoldConfig ¶
type ManifoldConfig struct { AgentName string CertWatcherWorkerFn NewCertWatcherWorker }
type NewCertWatcherWorker ¶
type NewCertWatcherWorker func(agent.Agent) (AuthorityWorker, error)
type PKIAuthorityWorker ¶
type PKIAuthorityWorker struct {
// contains filtered or unexported fields
}
OperatorWatcher is responsible for creating a new PKI certificate chain to use in operators that need to start their own HTTPS servers. TODO this watcher should be replaced in the future to use an intermediate CA from the controller
func (*PKIAuthorityWorker) Authority ¶
func (a *PKIAuthorityWorker) Authority() pki.Authority
func (*PKIAuthorityWorker) Kill ¶
func (a *PKIAuthorityWorker) Kill()
func (*PKIAuthorityWorker) Wait ¶
func (a *PKIAuthorityWorker) Wait() error
Click to show internal directories.
Click to hide internal directories.