Documentation ¶
Overview ¶
Package services contains minimal versions of Talos services.
Index ¶
- func ServerGracefulStop(server *grpc.Server, shutdownCtx context.Context)
- type APID
- type TLSProvider
- func (provider *TLSProvider) ClientConfig() (*stdlibtls.Config, error)
- func (provider *TLSProvider) GetCA() ([]byte, error)
- func (provider *TLSProvider) GetCACertPool() (*stdlibx509.CertPool, error)
- func (provider *TLSProvider) GetCertificate(*stdlibtls.ClientHelloInfo) (*stdlibtls.Certificate, error)
- func (provider *TLSProvider) GetClientCertificate(*stdlibtls.CertificateRequestInfo) (*stdlibtls.Certificate, error)
- func (provider *TLSProvider) Update(endpoint net.IP, apiCerts *secrets.API) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type APID ¶
type APID struct {
// contains filtered or unexported fields
}
APID is the emulated APId Talos service.
type TLSProvider ¶
type TLSProvider struct {
// contains filtered or unexported fields
}
TLSProvider provides TLS configuration for maintenance service.
func NewTLSProvider ¶
func NewTLSProvider() *TLSProvider
NewTLSProvider creates a new TLS provider for maintenance service.
The provider expects that the certificates are pushed to it.
func (*TLSProvider) ClientConfig ¶
func (provider *TLSProvider) ClientConfig() (*stdlibtls.Config, error)
ClientConfig implements client config provider interface.
func (*TLSProvider) GetCA ¶
func (provider *TLSProvider) GetCA() ([]byte, error)
GetCA implements tls.CertificateProvider interface.
func (*TLSProvider) GetCACertPool ¶
func (provider *TLSProvider) GetCACertPool() (*stdlibx509.CertPool, error)
GetCACertPool implements tls.CertificateProvider interface.
func (*TLSProvider) GetCertificate ¶
func (provider *TLSProvider) GetCertificate(*stdlibtls.ClientHelloInfo) (*stdlibtls.Certificate, error)
GetCertificate implements tls.CertificateProvider interface.
func (*TLSProvider) GetClientCertificate ¶
func (provider *TLSProvider) GetClientCertificate(*stdlibtls.CertificateRequestInfo) (*stdlibtls.Certificate, error)
GetClientCertificate implements tls.CertificateProvider interface.
Directories ¶
Path | Synopsis |
---|---|
apid
|
|
pkg/backend
Package backend implements backends satisfying proxy.Backend interface
|
Package backend implements backends satisfying proxy.Backend interface |
pkg/director
Package director provides proxy call routing facility
|
Package director provides proxy call routing facility |
Click to show internal directories.
Click to hide internal directories.