Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AWSSESAccountSendingEnabledCheck ¶
type AWSSESAccountSendingEnabledCheck struct {
// contains filtered or unexported fields
}
AWSSESAccountSendingEnabledCheck is a preflight.Check that looks at whether or not an account is still in sandbox mode.
func NewAWSSESAccountSendingEnabledCheck ¶
func NewAWSSESAccountSendingEnabledCheck(svc sesiface.SESAPI) *AWSSESAccountSendingEnabledCheck
NewAWSSESAccountSendingEnabledCheck initializes a new AWSSESAccountSendingStatusCheck.
func (*AWSSESAccountSendingEnabledCheck) Check ¶
func (c *AWSSESAccountSendingEnabledCheck) Check(ctx context.Context) []preflight.Result
Check executes the check.
func (*AWSSESAccountSendingEnabledCheck) Name ¶
func (c *AWSSESAccountSendingEnabledCheck) Name() string
Name returns the unique name for this check.
type AWSSESVerificationStatusCheck ¶
type AWSSESVerificationStatusCheck struct {
// contains filtered or unexported fields
}
AWSSESVerificationStatusCheck is a preflight.Check that looks at whether or not a given email address has been verified in the SES console.
func NewAWSSESVerificationStatusCheck ¶
func NewAWSSESVerificationStatusCheck(svc sesiface.SESAPI, emailAddress string) *AWSSESVerificationStatusCheck
NewAWSSESVerificationStatusCheck initializes a new AWSSESVerificationStatusCheck.
func (*AWSSESVerificationStatusCheck) Check ¶
func (c *AWSSESVerificationStatusCheck) Check(ctx context.Context) []preflight.Result
Check executes the check.
func (*AWSSESVerificationStatusCheck) Name ¶
func (c *AWSSESVerificationStatusCheck) Name() string
Name returns the unique name for this check.
type CertExpirationCheck ¶ added in v0.0.5
type CertExpirationCheck struct {
// contains filtered or unexported fields
}
CertExpirationCheck is a preflight check that will warn when an x509 cert is going to expire
func NewCertExpirationCheck ¶ added in v0.0.5
func NewCertExpirationCheck(cert *x509.Certificate, name string, threshYellow, threshRed time.Duration) *CertExpirationCheck
NewCertExpirationCheck initializes a CertExpirationCheck. name is used in the result. threshYellow is when to start alerting a yellow status. threshRed is when to start alerting a red status.
func (*CertExpirationCheck) Check ¶ added in v0.0.5
func (c *CertExpirationCheck) Check(ctx context.Context) []preflight.Result
Check runs the expiration check.
func (*CertExpirationCheck) Name ¶ added in v0.0.5
func (c *CertExpirationCheck) Name() string
Name returns the name of this check.