Documentation
¶
Index ¶
- type IRsaClientDeps
- func (_m *IRsaClientDeps) AwsConfig(_a0 log.T, appConfig appconfig.SsmagentConfig, service string, region string) *aws.Config
- func (_m *IRsaClientDeps) MakeAddToUserAgentHandler(name string, version string, extra ...string) func(*request.Request)
- func (_m *IRsaClientDeps) NewAuthTokenClient(sdk *ssm.SSM) authtokenrequest.IClient
- func (_m *IRsaClientDeps) NewCredentials(provider credentials.Provider) *credentials.Credentials
- func (_m *IRsaClientDeps) NewSession(config *aws.Config) (*session.Session, error)
- func (_m *IRsaClientDeps) NewSsmSdk(p client.ConfigProvider, cfgs ...*aws.Config) *ssm.SSM
- func (_m *IRsaClientDeps) NewStaticCredentials(id string, secret string, token string) *credentials.Credentials
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IRsaClientDeps ¶
IRsaClientDeps is an autogenerated mock type for the IRsaClientDeps type
func NewIRsaClientDeps ¶
func NewIRsaClientDeps(t testing.TB) *IRsaClientDeps
NewIRsaClientDeps creates a new instance of IRsaClientDeps. It also registers the testing.TB interface on the mock and a cleanup function to assert the mocks expectations.
func (*IRsaClientDeps) AwsConfig ¶
func (_m *IRsaClientDeps) AwsConfig(_a0 log.T, appConfig appconfig.SsmagentConfig, service string, region string) *aws.Config
AwsConfig provides a mock function with given fields: _a0, appConfig, service, region
func (*IRsaClientDeps) MakeAddToUserAgentHandler ¶
func (_m *IRsaClientDeps) MakeAddToUserAgentHandler(name string, version string, extra ...string) func(*request.Request)
MakeAddToUserAgentHandler provides a mock function with given fields: name, version, extra
func (*IRsaClientDeps) NewAuthTokenClient ¶
func (_m *IRsaClientDeps) NewAuthTokenClient(sdk *ssm.SSM) authtokenrequest.IClient
NewAuthTokenClient provides a mock function with given fields: sdk
func (*IRsaClientDeps) NewCredentials ¶
func (_m *IRsaClientDeps) NewCredentials(provider credentials.Provider) *credentials.Credentials
NewCredentials provides a mock function with given fields: provider
func (*IRsaClientDeps) NewSession ¶
NewSession provides a mock function with given fields: config
func (*IRsaClientDeps) NewSsmSdk ¶
func (_m *IRsaClientDeps) NewSsmSdk(p client.ConfigProvider, cfgs ...*aws.Config) *ssm.SSM
NewSsmSdk provides a mock function with given fields: p, cfgs
func (*IRsaClientDeps) NewStaticCredentials ¶
func (_m *IRsaClientDeps) NewStaticCredentials(id string, secret string, token string) *credentials.Credentials
NewStaticCredentials provides a mock function with given fields: id, secret, token