juju: github.com/wallyworld/juju/worker/apiservercertwatcher Index | Files

package apiservercertwatcher

import "github.com/wallyworld/juju/worker/apiservercertwatcher"


Package Files

authorityworker.go manifold.go

func Manifold Uses

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.

type AuthorityWorker Uses

type AuthorityWorker interface {
    Authority() pki.Authority

func NewAuthorityWorker Uses

func NewAuthorityWorker(_ agent.Agent) (AuthorityWorker, error)

type ManifoldConfig Uses

type ManifoldConfig struct {
    AgentName           string
    CertWatcherWorkerFn NewCertWatcherWorker

type NewCertWatcherWorker Uses

type NewCertWatcherWorker func(agent.Agent) (AuthorityWorker, error)

type PKIAuthorityWorker Uses

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 Uses

func (a *PKIAuthorityWorker) Authority() pki.Authority

func (*PKIAuthorityWorker) Kill Uses

func (a *PKIAuthorityWorker) Kill()

func (*PKIAuthorityWorker) Wait Uses

func (a *PKIAuthorityWorker) Wait() error

Package apiservercertwatcher imports 8 packages (graph). Updated 2020-08-11. Refresh now. Tools for package owners.