Documentation ¶
Index ¶
- type EnvConfig
- func (_m *EnvConfig) GetEnvFloatVar(varName string, defaultValue float64) float64
- func (_m *EnvConfig) GetEnvIntVar(varName string, defaultValue int) int
- func (_m *EnvConfig) GetEnvVar(varName string, defaultValue string) string
- func (_m *EnvConfig) RequireEnvIntVar(varName string) int
- func (_m *EnvConfig) RequireEnvVar(varName string) string
- type Notificationer
- type Queue
- type Storager
- type TokenService
- func (_m *TokenService) AssumeRole(_a0 *sts.AssumeRoleInput) (*sts.AssumeRoleOutput, error)
- func (_m *TokenService) MockNewSession(expectedRoleArn string) *awsMocks.AwsSession
- func (_m *TokenService) NewCredentials(_a0 client.ConfigProvider, _a1 string) *credentials.Credentials
- func (_m *TokenService) NewSession(baseSession awsiface.AwsSession, roleArn string) (awsiface.AwsSession, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EnvConfig ¶
EnvConfig is an autogenerated mock type for the EnvConfig type
func (*EnvConfig) GetEnvFloatVar ¶
GetEnvFloatVar provides a mock function with given fields: varName, defaultValue
func (*EnvConfig) GetEnvIntVar ¶
GetEnvIntVar provides a mock function with given fields: varName, defaultValue
func (*EnvConfig) GetEnvVar ¶
GetEnvVar provides a mock function with given fields: varName, defaultValue
func (*EnvConfig) RequireEnvIntVar ¶
RequireEnvIntVar provides a mock function with given fields: varName
func (*EnvConfig) RequireEnvVar ¶
RequireEnvVar provides a mock function with given fields: varName
type Notificationer ¶
Notificationer is an autogenerated mock type for the Notificationer type
func (*Notificationer) PublishMessage ¶
func (_m *Notificationer) PublishMessage(topicArn *string, message *string, isJSON bool) (*string, error)
PublishMessage provides a mock function with given fields: topicArn, message, isJSON
type Queue ¶
Queue is an autogenerated mock type for the Queue type
func (*Queue) DeleteMessage ¶
func (_m *Queue) DeleteMessage(_a0 *sqs.DeleteMessageInput) (*sqs.DeleteMessageOutput, error)
DeleteMessage provides a mock function with given fields: _a0
func (*Queue) NewFromEnv ¶
NewFromEnv provides a mock function with given fields:
func (*Queue) ReceiveMessage ¶
func (_m *Queue) ReceiveMessage(_a0 *sqs.ReceiveMessageInput) (*sqs.ReceiveMessageOutput, error)
ReceiveMessage provides a mock function with given fields: _a0
type Storager ¶
Storager is an autogenerated mock type for the Storager type
func (*Storager) Download ¶
Download provides a mock function with given fields: bukcet, key, filepath
type TokenService ¶
TokenService is an autogenerated mock type for the TokenService type
func (*TokenService) AssumeRole ¶
func (_m *TokenService) AssumeRole(_a0 *sts.AssumeRoleInput) (*sts.AssumeRoleOutput, error)
AssumeRole provides a mock function with given fields: _a0
func (*TokenService) MockNewSession ¶
func (_m *TokenService) MockNewSession(expectedRoleArn string) *awsMocks.AwsSession
func (*TokenService) NewCredentials ¶
func (_m *TokenService) NewCredentials(_a0 client.ConfigProvider, _a1 string) *credentials.Credentials
NewCredentials provides a mock function with given fields: _a0, _a1
func (*TokenService) NewSession ¶
func (_m *TokenService) NewSession(baseSession awsiface.AwsSession, roleArn string) (awsiface.AwsSession, error)
NewSession provides a mock function with given fields: baseSession, roleArn