checks

package
v0.0.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 25, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

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

Check executes the check.

func (*AWSSESAccountSendingEnabledCheck) Name

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

Check executes the check.

func (*AWSSESVerificationStatusCheck) Name

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL