Documentation ¶
Index ¶
- Variables
- func FxProvider() fx.Annotated
- func NewAcmProvider(ctx context.Context, acm *acm.Client, p SourceProperties) certs.Source
- func Use()
- type AcmProvider
- func (a *AcmProvider) Close() error
- func (a *AcmProvider) Files(ctx context.Context) (*certs.CertificateFiles, error)
- func (a *AcmProvider) LazyInit(ctx context.Context) error
- func (a *AcmProvider) RootCAs(ctx context.Context) (*x509.CertPool, error)
- func (a *AcmProvider) TLSConfig(ctx context.Context, _ ...certs.TLSOptions) (*tls.Config, error)
- type SourceProperties
Constants ¶
This section is empty.
Variables ¶
View Source
var Module = &bootstrap.Module{ Name: "certs-acm", Precedence: bootstrap.TlsConfigPrecedence, Options: []fx.Option{ fx.Provide(FxProvider()), }, }
Functions ¶
func FxProvider ¶
func NewAcmProvider ¶
Types ¶
type AcmProvider ¶
type AcmProvider struct {
// contains filtered or unexported fields
}
func (*AcmProvider) Close ¶
func (a *AcmProvider) Close() error
func (*AcmProvider) Files ¶
func (a *AcmProvider) Files(ctx context.Context) (*certs.CertificateFiles, error)
func (*AcmProvider) TLSConfig ¶
func (a *AcmProvider) TLSConfig(ctx context.Context, _ ...certs.TLSOptions) (*tls.Config, error)
Click to show internal directories.
Click to hide internal directories.