Documentation ¶
Overview ¶
Run go generate to regenerate this mock.
Package mock_stsiface is a generated GoMock package.
Index ¶
- type MockSTSAPI
- func (m *MockSTSAPI) AssumeRole(arg0 *sts.AssumeRoleInput) (*sts.AssumeRoleOutput, error)
- func (m *MockSTSAPI) AssumeRoleRequest(arg0 *sts.AssumeRoleInput) (*request.Request, *sts.AssumeRoleOutput)
- func (m *MockSTSAPI) AssumeRoleWithContext(arg0 context.Context, arg1 *sts.AssumeRoleInput, arg2 ...request.Option) (*sts.AssumeRoleOutput, error)
- func (m *MockSTSAPI) AssumeRoleWithSAML(arg0 *sts.AssumeRoleWithSAMLInput) (*sts.AssumeRoleWithSAMLOutput, error)
- func (m *MockSTSAPI) AssumeRoleWithSAMLRequest(arg0 *sts.AssumeRoleWithSAMLInput) (*request.Request, *sts.AssumeRoleWithSAMLOutput)
- func (m *MockSTSAPI) AssumeRoleWithSAMLWithContext(arg0 context.Context, arg1 *sts.AssumeRoleWithSAMLInput, ...) (*sts.AssumeRoleWithSAMLOutput, error)
- func (m *MockSTSAPI) AssumeRoleWithWebIdentity(arg0 *sts.AssumeRoleWithWebIdentityInput) (*sts.AssumeRoleWithWebIdentityOutput, error)
- func (m *MockSTSAPI) AssumeRoleWithWebIdentityRequest(arg0 *sts.AssumeRoleWithWebIdentityInput) (*request.Request, *sts.AssumeRoleWithWebIdentityOutput)
- func (m *MockSTSAPI) AssumeRoleWithWebIdentityWithContext(arg0 context.Context, arg1 *sts.AssumeRoleWithWebIdentityInput, ...) (*sts.AssumeRoleWithWebIdentityOutput, error)
- func (m *MockSTSAPI) DecodeAuthorizationMessage(arg0 *sts.DecodeAuthorizationMessageInput) (*sts.DecodeAuthorizationMessageOutput, error)
- func (m *MockSTSAPI) DecodeAuthorizationMessageRequest(arg0 *sts.DecodeAuthorizationMessageInput) (*request.Request, *sts.DecodeAuthorizationMessageOutput)
- func (m *MockSTSAPI) DecodeAuthorizationMessageWithContext(arg0 context.Context, arg1 *sts.DecodeAuthorizationMessageInput, ...) (*sts.DecodeAuthorizationMessageOutput, error)
- func (m *MockSTSAPI) EXPECT() *MockSTSAPIMockRecorder
- func (m *MockSTSAPI) GetAccessKeyInfo(arg0 *sts.GetAccessKeyInfoInput) (*sts.GetAccessKeyInfoOutput, error)
- func (m *MockSTSAPI) GetAccessKeyInfoRequest(arg0 *sts.GetAccessKeyInfoInput) (*request.Request, *sts.GetAccessKeyInfoOutput)
- func (m *MockSTSAPI) GetAccessKeyInfoWithContext(arg0 context.Context, arg1 *sts.GetAccessKeyInfoInput, arg2 ...request.Option) (*sts.GetAccessKeyInfoOutput, error)
- func (m *MockSTSAPI) GetCallerIdentity(arg0 *sts.GetCallerIdentityInput) (*sts.GetCallerIdentityOutput, error)
- func (m *MockSTSAPI) GetCallerIdentityRequest(arg0 *sts.GetCallerIdentityInput) (*request.Request, *sts.GetCallerIdentityOutput)
- func (m *MockSTSAPI) GetCallerIdentityWithContext(arg0 context.Context, arg1 *sts.GetCallerIdentityInput, arg2 ...request.Option) (*sts.GetCallerIdentityOutput, error)
- func (m *MockSTSAPI) GetFederationToken(arg0 *sts.GetFederationTokenInput) (*sts.GetFederationTokenOutput, error)
- func (m *MockSTSAPI) GetFederationTokenRequest(arg0 *sts.GetFederationTokenInput) (*request.Request, *sts.GetFederationTokenOutput)
- func (m *MockSTSAPI) GetFederationTokenWithContext(arg0 context.Context, arg1 *sts.GetFederationTokenInput, ...) (*sts.GetFederationTokenOutput, error)
- func (m *MockSTSAPI) GetSessionToken(arg0 *sts.GetSessionTokenInput) (*sts.GetSessionTokenOutput, error)
- func (m *MockSTSAPI) GetSessionTokenRequest(arg0 *sts.GetSessionTokenInput) (*request.Request, *sts.GetSessionTokenOutput)
- func (m *MockSTSAPI) GetSessionTokenWithContext(arg0 context.Context, arg1 *sts.GetSessionTokenInput, arg2 ...request.Option) (*sts.GetSessionTokenOutput, error)
- type MockSTSAPIMockRecorder
- func (mr *MockSTSAPIMockRecorder) AssumeRole(arg0 interface{}) *gomock.Call
- func (mr *MockSTSAPIMockRecorder) AssumeRoleRequest(arg0 interface{}) *gomock.Call
- func (mr *MockSTSAPIMockRecorder) AssumeRoleWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockSTSAPIMockRecorder) AssumeRoleWithSAML(arg0 interface{}) *gomock.Call
- func (mr *MockSTSAPIMockRecorder) AssumeRoleWithSAMLRequest(arg0 interface{}) *gomock.Call
- func (mr *MockSTSAPIMockRecorder) AssumeRoleWithSAMLWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockSTSAPIMockRecorder) AssumeRoleWithWebIdentity(arg0 interface{}) *gomock.Call
- func (mr *MockSTSAPIMockRecorder) AssumeRoleWithWebIdentityRequest(arg0 interface{}) *gomock.Call
- func (mr *MockSTSAPIMockRecorder) AssumeRoleWithWebIdentityWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockSTSAPIMockRecorder) DecodeAuthorizationMessage(arg0 interface{}) *gomock.Call
- func (mr *MockSTSAPIMockRecorder) DecodeAuthorizationMessageRequest(arg0 interface{}) *gomock.Call
- func (mr *MockSTSAPIMockRecorder) DecodeAuthorizationMessageWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockSTSAPIMockRecorder) GetAccessKeyInfo(arg0 interface{}) *gomock.Call
- func (mr *MockSTSAPIMockRecorder) GetAccessKeyInfoRequest(arg0 interface{}) *gomock.Call
- func (mr *MockSTSAPIMockRecorder) GetAccessKeyInfoWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockSTSAPIMockRecorder) GetCallerIdentity(arg0 interface{}) *gomock.Call
- func (mr *MockSTSAPIMockRecorder) GetCallerIdentityRequest(arg0 interface{}) *gomock.Call
- func (mr *MockSTSAPIMockRecorder) GetCallerIdentityWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockSTSAPIMockRecorder) GetFederationToken(arg0 interface{}) *gomock.Call
- func (mr *MockSTSAPIMockRecorder) GetFederationTokenRequest(arg0 interface{}) *gomock.Call
- func (mr *MockSTSAPIMockRecorder) GetFederationTokenWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockSTSAPIMockRecorder) GetSessionToken(arg0 interface{}) *gomock.Call
- func (mr *MockSTSAPIMockRecorder) GetSessionTokenRequest(arg0 interface{}) *gomock.Call
- func (mr *MockSTSAPIMockRecorder) GetSessionTokenWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockSTSAPI ¶
type MockSTSAPI struct {
// contains filtered or unexported fields
}
MockSTSAPI is a mock of STSAPI interface.
func NewMockSTSAPI ¶
func NewMockSTSAPI(ctrl *gomock.Controller) *MockSTSAPI
NewMockSTSAPI creates a new mock instance.
func (*MockSTSAPI) AssumeRole ¶
func (m *MockSTSAPI) AssumeRole(arg0 *sts.AssumeRoleInput) (*sts.AssumeRoleOutput, error)
AssumeRole mocks base method.
func (*MockSTSAPI) AssumeRoleRequest ¶
func (m *MockSTSAPI) AssumeRoleRequest(arg0 *sts.AssumeRoleInput) (*request.Request, *sts.AssumeRoleOutput)
AssumeRoleRequest mocks base method.
func (*MockSTSAPI) AssumeRoleWithContext ¶
func (m *MockSTSAPI) AssumeRoleWithContext(arg0 context.Context, arg1 *sts.AssumeRoleInput, arg2 ...request.Option) (*sts.AssumeRoleOutput, error)
AssumeRoleWithContext mocks base method.
func (*MockSTSAPI) AssumeRoleWithSAML ¶
func (m *MockSTSAPI) AssumeRoleWithSAML(arg0 *sts.AssumeRoleWithSAMLInput) (*sts.AssumeRoleWithSAMLOutput, error)
AssumeRoleWithSAML mocks base method.
func (*MockSTSAPI) AssumeRoleWithSAMLRequest ¶
func (m *MockSTSAPI) AssumeRoleWithSAMLRequest(arg0 *sts.AssumeRoleWithSAMLInput) (*request.Request, *sts.AssumeRoleWithSAMLOutput)
AssumeRoleWithSAMLRequest mocks base method.
func (*MockSTSAPI) AssumeRoleWithSAMLWithContext ¶
func (m *MockSTSAPI) AssumeRoleWithSAMLWithContext(arg0 context.Context, arg1 *sts.AssumeRoleWithSAMLInput, arg2 ...request.Option) (*sts.AssumeRoleWithSAMLOutput, error)
AssumeRoleWithSAMLWithContext mocks base method.
func (*MockSTSAPI) AssumeRoleWithWebIdentity ¶
func (m *MockSTSAPI) AssumeRoleWithWebIdentity(arg0 *sts.AssumeRoleWithWebIdentityInput) (*sts.AssumeRoleWithWebIdentityOutput, error)
AssumeRoleWithWebIdentity mocks base method.
func (*MockSTSAPI) AssumeRoleWithWebIdentityRequest ¶
func (m *MockSTSAPI) AssumeRoleWithWebIdentityRequest(arg0 *sts.AssumeRoleWithWebIdentityInput) (*request.Request, *sts.AssumeRoleWithWebIdentityOutput)
AssumeRoleWithWebIdentityRequest mocks base method.
func (*MockSTSAPI) AssumeRoleWithWebIdentityWithContext ¶
func (m *MockSTSAPI) AssumeRoleWithWebIdentityWithContext(arg0 context.Context, arg1 *sts.AssumeRoleWithWebIdentityInput, arg2 ...request.Option) (*sts.AssumeRoleWithWebIdentityOutput, error)
AssumeRoleWithWebIdentityWithContext mocks base method.
func (*MockSTSAPI) DecodeAuthorizationMessage ¶
func (m *MockSTSAPI) DecodeAuthorizationMessage(arg0 *sts.DecodeAuthorizationMessageInput) (*sts.DecodeAuthorizationMessageOutput, error)
DecodeAuthorizationMessage mocks base method.
func (*MockSTSAPI) DecodeAuthorizationMessageRequest ¶
func (m *MockSTSAPI) DecodeAuthorizationMessageRequest(arg0 *sts.DecodeAuthorizationMessageInput) (*request.Request, *sts.DecodeAuthorizationMessageOutput)
DecodeAuthorizationMessageRequest mocks base method.
func (*MockSTSAPI) DecodeAuthorizationMessageWithContext ¶
func (m *MockSTSAPI) DecodeAuthorizationMessageWithContext(arg0 context.Context, arg1 *sts.DecodeAuthorizationMessageInput, arg2 ...request.Option) (*sts.DecodeAuthorizationMessageOutput, error)
DecodeAuthorizationMessageWithContext mocks base method.
func (*MockSTSAPI) EXPECT ¶
func (m *MockSTSAPI) EXPECT() *MockSTSAPIMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSTSAPI) GetAccessKeyInfo ¶
func (m *MockSTSAPI) GetAccessKeyInfo(arg0 *sts.GetAccessKeyInfoInput) (*sts.GetAccessKeyInfoOutput, error)
GetAccessKeyInfo mocks base method.
func (*MockSTSAPI) GetAccessKeyInfoRequest ¶
func (m *MockSTSAPI) GetAccessKeyInfoRequest(arg0 *sts.GetAccessKeyInfoInput) (*request.Request, *sts.GetAccessKeyInfoOutput)
GetAccessKeyInfoRequest mocks base method.
func (*MockSTSAPI) GetAccessKeyInfoWithContext ¶
func (m *MockSTSAPI) GetAccessKeyInfoWithContext(arg0 context.Context, arg1 *sts.GetAccessKeyInfoInput, arg2 ...request.Option) (*sts.GetAccessKeyInfoOutput, error)
GetAccessKeyInfoWithContext mocks base method.
func (*MockSTSAPI) GetCallerIdentity ¶
func (m *MockSTSAPI) GetCallerIdentity(arg0 *sts.GetCallerIdentityInput) (*sts.GetCallerIdentityOutput, error)
GetCallerIdentity mocks base method.
func (*MockSTSAPI) GetCallerIdentityRequest ¶
func (m *MockSTSAPI) GetCallerIdentityRequest(arg0 *sts.GetCallerIdentityInput) (*request.Request, *sts.GetCallerIdentityOutput)
GetCallerIdentityRequest mocks base method.
func (*MockSTSAPI) GetCallerIdentityWithContext ¶
func (m *MockSTSAPI) GetCallerIdentityWithContext(arg0 context.Context, arg1 *sts.GetCallerIdentityInput, arg2 ...request.Option) (*sts.GetCallerIdentityOutput, error)
GetCallerIdentityWithContext mocks base method.
func (*MockSTSAPI) GetFederationToken ¶
func (m *MockSTSAPI) GetFederationToken(arg0 *sts.GetFederationTokenInput) (*sts.GetFederationTokenOutput, error)
GetFederationToken mocks base method.
func (*MockSTSAPI) GetFederationTokenRequest ¶
func (m *MockSTSAPI) GetFederationTokenRequest(arg0 *sts.GetFederationTokenInput) (*request.Request, *sts.GetFederationTokenOutput)
GetFederationTokenRequest mocks base method.
func (*MockSTSAPI) GetFederationTokenWithContext ¶
func (m *MockSTSAPI) GetFederationTokenWithContext(arg0 context.Context, arg1 *sts.GetFederationTokenInput, arg2 ...request.Option) (*sts.GetFederationTokenOutput, error)
GetFederationTokenWithContext mocks base method.
func (*MockSTSAPI) GetSessionToken ¶
func (m *MockSTSAPI) GetSessionToken(arg0 *sts.GetSessionTokenInput) (*sts.GetSessionTokenOutput, error)
GetSessionToken mocks base method.
func (*MockSTSAPI) GetSessionTokenRequest ¶
func (m *MockSTSAPI) GetSessionTokenRequest(arg0 *sts.GetSessionTokenInput) (*request.Request, *sts.GetSessionTokenOutput)
GetSessionTokenRequest mocks base method.
func (*MockSTSAPI) GetSessionTokenWithContext ¶
func (m *MockSTSAPI) GetSessionTokenWithContext(arg0 context.Context, arg1 *sts.GetSessionTokenInput, arg2 ...request.Option) (*sts.GetSessionTokenOutput, error)
GetSessionTokenWithContext mocks base method.
type MockSTSAPIMockRecorder ¶
type MockSTSAPIMockRecorder struct {
// contains filtered or unexported fields
}
MockSTSAPIMockRecorder is the mock recorder for MockSTSAPI.
func (*MockSTSAPIMockRecorder) AssumeRole ¶
func (mr *MockSTSAPIMockRecorder) AssumeRole(arg0 interface{}) *gomock.Call
AssumeRole indicates an expected call of AssumeRole.
func (*MockSTSAPIMockRecorder) AssumeRoleRequest ¶
func (mr *MockSTSAPIMockRecorder) AssumeRoleRequest(arg0 interface{}) *gomock.Call
AssumeRoleRequest indicates an expected call of AssumeRoleRequest.
func (*MockSTSAPIMockRecorder) AssumeRoleWithContext ¶
func (mr *MockSTSAPIMockRecorder) AssumeRoleWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
AssumeRoleWithContext indicates an expected call of AssumeRoleWithContext.
func (*MockSTSAPIMockRecorder) AssumeRoleWithSAML ¶
func (mr *MockSTSAPIMockRecorder) AssumeRoleWithSAML(arg0 interface{}) *gomock.Call
AssumeRoleWithSAML indicates an expected call of AssumeRoleWithSAML.
func (*MockSTSAPIMockRecorder) AssumeRoleWithSAMLRequest ¶
func (mr *MockSTSAPIMockRecorder) AssumeRoleWithSAMLRequest(arg0 interface{}) *gomock.Call
AssumeRoleWithSAMLRequest indicates an expected call of AssumeRoleWithSAMLRequest.
func (*MockSTSAPIMockRecorder) AssumeRoleWithSAMLWithContext ¶
func (mr *MockSTSAPIMockRecorder) AssumeRoleWithSAMLWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
AssumeRoleWithSAMLWithContext indicates an expected call of AssumeRoleWithSAMLWithContext.
func (*MockSTSAPIMockRecorder) AssumeRoleWithWebIdentity ¶
func (mr *MockSTSAPIMockRecorder) AssumeRoleWithWebIdentity(arg0 interface{}) *gomock.Call
AssumeRoleWithWebIdentity indicates an expected call of AssumeRoleWithWebIdentity.
func (*MockSTSAPIMockRecorder) AssumeRoleWithWebIdentityRequest ¶
func (mr *MockSTSAPIMockRecorder) AssumeRoleWithWebIdentityRequest(arg0 interface{}) *gomock.Call
AssumeRoleWithWebIdentityRequest indicates an expected call of AssumeRoleWithWebIdentityRequest.
func (*MockSTSAPIMockRecorder) AssumeRoleWithWebIdentityWithContext ¶
func (mr *MockSTSAPIMockRecorder) AssumeRoleWithWebIdentityWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
AssumeRoleWithWebIdentityWithContext indicates an expected call of AssumeRoleWithWebIdentityWithContext.
func (*MockSTSAPIMockRecorder) DecodeAuthorizationMessage ¶
func (mr *MockSTSAPIMockRecorder) DecodeAuthorizationMessage(arg0 interface{}) *gomock.Call
DecodeAuthorizationMessage indicates an expected call of DecodeAuthorizationMessage.
func (*MockSTSAPIMockRecorder) DecodeAuthorizationMessageRequest ¶
func (mr *MockSTSAPIMockRecorder) DecodeAuthorizationMessageRequest(arg0 interface{}) *gomock.Call
DecodeAuthorizationMessageRequest indicates an expected call of DecodeAuthorizationMessageRequest.
func (*MockSTSAPIMockRecorder) DecodeAuthorizationMessageWithContext ¶
func (mr *MockSTSAPIMockRecorder) DecodeAuthorizationMessageWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
DecodeAuthorizationMessageWithContext indicates an expected call of DecodeAuthorizationMessageWithContext.
func (*MockSTSAPIMockRecorder) GetAccessKeyInfo ¶
func (mr *MockSTSAPIMockRecorder) GetAccessKeyInfo(arg0 interface{}) *gomock.Call
GetAccessKeyInfo indicates an expected call of GetAccessKeyInfo.
func (*MockSTSAPIMockRecorder) GetAccessKeyInfoRequest ¶
func (mr *MockSTSAPIMockRecorder) GetAccessKeyInfoRequest(arg0 interface{}) *gomock.Call
GetAccessKeyInfoRequest indicates an expected call of GetAccessKeyInfoRequest.
func (*MockSTSAPIMockRecorder) GetAccessKeyInfoWithContext ¶
func (mr *MockSTSAPIMockRecorder) GetAccessKeyInfoWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
GetAccessKeyInfoWithContext indicates an expected call of GetAccessKeyInfoWithContext.
func (*MockSTSAPIMockRecorder) GetCallerIdentity ¶
func (mr *MockSTSAPIMockRecorder) GetCallerIdentity(arg0 interface{}) *gomock.Call
GetCallerIdentity indicates an expected call of GetCallerIdentity.
func (*MockSTSAPIMockRecorder) GetCallerIdentityRequest ¶
func (mr *MockSTSAPIMockRecorder) GetCallerIdentityRequest(arg0 interface{}) *gomock.Call
GetCallerIdentityRequest indicates an expected call of GetCallerIdentityRequest.
func (*MockSTSAPIMockRecorder) GetCallerIdentityWithContext ¶
func (mr *MockSTSAPIMockRecorder) GetCallerIdentityWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
GetCallerIdentityWithContext indicates an expected call of GetCallerIdentityWithContext.
func (*MockSTSAPIMockRecorder) GetFederationToken ¶
func (mr *MockSTSAPIMockRecorder) GetFederationToken(arg0 interface{}) *gomock.Call
GetFederationToken indicates an expected call of GetFederationToken.
func (*MockSTSAPIMockRecorder) GetFederationTokenRequest ¶
func (mr *MockSTSAPIMockRecorder) GetFederationTokenRequest(arg0 interface{}) *gomock.Call
GetFederationTokenRequest indicates an expected call of GetFederationTokenRequest.
func (*MockSTSAPIMockRecorder) GetFederationTokenWithContext ¶
func (mr *MockSTSAPIMockRecorder) GetFederationTokenWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
GetFederationTokenWithContext indicates an expected call of GetFederationTokenWithContext.
func (*MockSTSAPIMockRecorder) GetSessionToken ¶
func (mr *MockSTSAPIMockRecorder) GetSessionToken(arg0 interface{}) *gomock.Call
GetSessionToken indicates an expected call of GetSessionToken.
func (*MockSTSAPIMockRecorder) GetSessionTokenRequest ¶
func (mr *MockSTSAPIMockRecorder) GetSessionTokenRequest(arg0 interface{}) *gomock.Call
GetSessionTokenRequest indicates an expected call of GetSessionTokenRequest.
func (*MockSTSAPIMockRecorder) GetSessionTokenWithContext ¶
func (mr *MockSTSAPIMockRecorder) GetSessionTokenWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
GetSessionTokenWithContext indicates an expected call of GetSessionTokenWithContext.