Documentation ¶
Index ¶
- type Server
- type SingleArchive
- func (m *SingleArchive) GenerateNewCredentialsForClient(name string) error
- func (m *SingleArchive) GetRootCertificate() *x509.Certificate
- func (m *SingleArchive) Init() error
- func (m *SingleArchive) RegisterNewClient(name string) (*tls.Certificate, error)
- func (m *SingleArchive) RemoveClient(name string) error
- func (m *SingleArchive) Serve(currentArchiveName string, apiGrpc bool, apiInsecureREST bool, grpcHost string, ...) (*Server, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) GracefulStop ¶
func (s *Server) GracefulStop()
type SingleArchive ¶
type SingleArchive struct {
// contains filtered or unexported fields
}
func NewSingleArchive ¶
func NewSingleArchive( arw archive.ReadWriter, secretsStore *josesecrets.Keyring, ) *SingleArchive
func (*SingleArchive) GenerateNewCredentialsForClient ¶
func (m *SingleArchive) GenerateNewCredentialsForClient(name string) error
func (*SingleArchive) GetRootCertificate ¶
func (m *SingleArchive) GetRootCertificate() *x509.Certificate
func (*SingleArchive) Init ¶
func (m *SingleArchive) Init() error
func (*SingleArchive) RegisterNewClient ¶
func (m *SingleArchive) RegisterNewClient(name string) (*tls.Certificate, error)
func (*SingleArchive) RemoveClient ¶
func (m *SingleArchive) RemoveClient(name string) error
Click to show internal directories.
Click to hide internal directories.