Documentation ¶
Index ¶
- func GetDetector() (propchange.Detector, error)
- func GetRegistry() (jsonball.Registry, error)
- func GetSqsClient(ctx context.Context) (*sqs.Client, error)
- func MustGetDetector() propchange.Detector
- func MustGetEnvVar(name string) string
- func MustGetRegistry() jsonball.Registry
- func MustGetSqsClient() *sqs.Client
- type ErrEnvVarNotSet
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSqsClient ¶
GetSqsClient gets an sqs client
func MustGetDetector ¶
func MustGetDetector() propchange.Detector
MustGetDetector gets an connector, otherwise panics
func MustGetEnvVar ¶
MustGetEnvVar gets an environment variable, otherwise panics
func MustGetRegistry ¶
MustGetRegistry gets a registry, otherwise panics
func MustGetSqsClient ¶
MustGetSqsClient like GetSqsClient but panics if an error happened
Types ¶
type ErrEnvVarNotSet ¶
type ErrEnvVarNotSet string
ErrEnvVarNotSet indicates that an important environment variable is missing
func (ErrEnvVarNotSet) Error ¶
func (e ErrEnvVarNotSet) Error() string
Click to show internal directories.
Click to hide internal directories.