Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Module = &bootstrap.Module{ Name: "ACM", Precedence: bootstrap.AwsPrecedence, Options: []fx.Option{ fx.Provide(NewClientFactory), fx.Provide(NewDefaultClient), fx.Invoke(RegisterHealth), }, }
Functions ¶
func NewDefaultClient ¶
func NewDefaultClient(ctx *bootstrap.ApplicationContext, factory ClientFactory) (*acm.Client, error)
func RegisterHealth ¶
func RegisterHealth(di regDI)
Types ¶
type ClientFactory ¶
type ClientFactory interface {
New(ctx context.Context, opts ...func(opt *acm.Options)) (*acm.Client, error)
}
func NewClientFactory ¶
func NewClientFactory(loader awsclient.ConfigLoader) ClientFactory
type HealthIndicator ¶
HealthIndicator monitor ACM client status
func (*HealthIndicator) Name ¶
func (i *HealthIndicator) Name() string
Click to show internal directories.
Click to hide internal directories.