Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Glue ¶
Glue is a Concrete for Glue operations
func (Glue) StartJobRun ¶
func (g Glue) StartJobRun(ctx context.Context, params *glue.StartJobRunInput, optFns ...func(*glue.Options)) (*glue.StartJobRunOutput, error)
StartJobRun starts a new AWS Glue job.
type GlueAccess ¶
type GlueAccess interface {
StartJobRun(ctx context.Context, params *glue.StartJobRunInput, optFns ...func(*glue.Options)) (*glue.StartJobRunOutput, error)
}
GlueAccess is an abstraction for AWS Glue
type MockGlueAccess ¶
MockGlueAccess mocks aws glue operations
func (MockGlueAccess) StartJobRun ¶
func (g MockGlueAccess) StartJobRun(ctx context.Context, params *glue.StartJobRunInput, optFns ...func(*glue.Options)) (*glue.StartJobRunOutput, error)
StartJobRun mocks start a glue job.
type MockS3Access ¶
MockS3Access mocks S3 operations
func (MockS3Access) GetObject ¶
func (s MockS3Access) GetObject(ctx context.Context, params *s3.GetObjectInput, optFns ...func(*s3.Options)) (*s3.GetObjectOutput, error)
GetObject mocks getting an object from S3
func (MockS3Access) PutObject ¶
func (s MockS3Access) PutObject(ctx context.Context, params *s3.PutObjectInput, optFns ...func(*s3.Options)) (*s3.PutObjectOutput, error)
PutObject mocks putting an object to s3
type MockSQSAccess ¶
MockSQSAccess mocks SQS operations
func (MockSQSAccess) DeleteMessage ¶
func (s MockSQSAccess) DeleteMessage(ctx context.Context, params *sqs.DeleteMessageInput, optFns ...func(*sqs.Options)) (*sqs.DeleteMessageOutput, error)
DeleteMessage mocks deleting a message to SQS.
func (MockSQSAccess) SendMessage ¶
func (s MockSQSAccess) SendMessage(ctx context.Context, params *sqs.SendMessageInput, optFns ...func(*sqs.Options)) (*sqs.SendMessageOutput, error)
SendMessage mocks sending a message to SQS.
type MockSSMClient ¶
MockSSMClient mocks SSM operations
func (MockSSMClient) GetParameter ¶
func (s MockSSMClient) GetParameter(ctx context.Context, params *ssm.GetParameterInput, optFns ...func(*ssm.Options)) (*ssm.GetParameterOutput, error)
GetParameter mocks getting a parameter from SSM.
type S3 ¶
S3 is a Concrete Wrapper for S3 Operations
type S3Access ¶
type S3Access interface { GetObject(ctx context.Context, params *s3.GetObjectInput, optFns ...func(*s3.Options)) (*s3.GetObjectOutput, error) PutObject(ctx context.Context, params *s3.PutObjectInput, optFns ...func(*s3.Options)) (*s3.PutObjectOutput, error) }
S3Access is an abstraction for S3 Operations
type SQS ¶
SQS is a Concrete Wrapper for SQS
func (SQS) DeleteMessage ¶
func (s SQS) DeleteMessage(ctx context.Context, params *sqs.DeleteMessageInput, optFns ...func(*sqs.Options)) (*sqs.DeleteMessageOutput, error)
DeleteMessage deletes a message from SQS
func (SQS) SendMessage ¶
func (s SQS) SendMessage(ctx context.Context, params *sqs.SendMessageInput, optFns ...func(*sqs.Options)) (*sqs.SendMessageOutput, error)
SendMessage sends a message to SQS
type SQSAccess ¶
type SQSAccess interface { SendMessage(ctx context.Context, params *sqs.SendMessageInput, optFns ...func(*sqs.Options)) (*sqs.SendMessageOutput, error) DeleteMessage(ctx context.Context, params *sqs.DeleteMessageInput, optFns ...func(*sqs.Options)) (*sqs.DeleteMessageOutput, error) }
SQSAccess is an abstraction for SQS Operations
type SSM ¶
SSM is a Concrete Wrapper for SSM
func (SSM) GetParameter ¶
func (s SSM) GetParameter(ctx context.Context, params *ssm.GetParameterInput, optFns ...func(*ssm.Options)) (*ssm.GetParameterOutput, error)
GetParameter gets a parameter from the SSM store.