mocks

package
v0.0.0-...-955c50f Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IRsaClientDeps

type IRsaClientDeps struct {
	mock.Mock
}

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

func (_m *IRsaClientDeps) NewSession(config *aws.Config) (*session.Session, error)

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

Jump to

Keyboard shortcuts

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