Documentation
¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks to create the mocks run go generate to regenerate this package.
Index ¶
- type MockAWS
- func (m *MockAWS) AssociateTGWShare(resourceShareARN, principalID string) error
- func (m *MockAWS) AssumeRole(roleArn string) (*credentials.Credentials, error)
- func (m *MockAWS) DisassociateTGWShare(resourceShareARN, principalID string) error
- func (m *MockAWS) EXPECT() *MockAWSMockRecorder
- func (m *MockAWS) GetAccountAliases() (*iam.ListAccountAliasesOutput, error)
- func (m *MockAWS) GetAccountID() (string, error)
- func (m *MockAWS) GetCloudEnvironmentName() (string, error)
- type MockAWSMockRecorder
- func (mr *MockAWSMockRecorder) AssociateTGWShare(resourceShareARN, principalID interface{}) *gomock.Call
- func (mr *MockAWSMockRecorder) AssumeRole(roleArn interface{}) *gomock.Call
- func (mr *MockAWSMockRecorder) DisassociateTGWShare(resourceShareARN, principalID interface{}) *gomock.Call
- func (mr *MockAWSMockRecorder) GetAccountAliases() *gomock.Call
- func (mr *MockAWSMockRecorder) GetAccountID() *gomock.Call
- func (mr *MockAWSMockRecorder) GetCloudEnvironmentName() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAWS ¶
type MockAWS struct {
// contains filtered or unexported fields
}
MockAWS is a mock of AWS interface
func NewMockAWS ¶
func NewMockAWS(ctrl *gomock.Controller) *MockAWS
NewMockAWS creates a new mock instance
func (*MockAWS) AssociateTGWShare ¶
AssociateTGWShare mocks base method
func (*MockAWS) AssumeRole ¶
func (m *MockAWS) AssumeRole(roleArn string) (*credentials.Credentials, error)
AssumeRole mocks base method
func (*MockAWS) DisassociateTGWShare ¶
DisassociateTGWShare mocks base method
func (*MockAWS) EXPECT ¶
func (m *MockAWS) EXPECT() *MockAWSMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockAWS) GetAccountAliases ¶
func (m *MockAWS) GetAccountAliases() (*iam.ListAccountAliasesOutput, error)
GetAccountAliases mocks base method
func (*MockAWS) GetAccountID ¶
GetAccountID mocks base method
func (*MockAWS) GetCloudEnvironmentName ¶
GetCloudEnvironmentName mocks base method
type MockAWSMockRecorder ¶
type MockAWSMockRecorder struct {
// contains filtered or unexported fields
}
MockAWSMockRecorder is the mock recorder for MockAWS
func (*MockAWSMockRecorder) AssociateTGWShare ¶
func (mr *MockAWSMockRecorder) AssociateTGWShare(resourceShareARN, principalID interface{}) *gomock.Call
AssociateTGWShare indicates an expected call of AssociateTGWShare
func (*MockAWSMockRecorder) AssumeRole ¶
func (mr *MockAWSMockRecorder) AssumeRole(roleArn interface{}) *gomock.Call
AssumeRole indicates an expected call of AssumeRole
func (*MockAWSMockRecorder) DisassociateTGWShare ¶
func (mr *MockAWSMockRecorder) DisassociateTGWShare(resourceShareARN, principalID interface{}) *gomock.Call
DisassociateTGWShare indicates an expected call of DisassociateTGWShare
func (*MockAWSMockRecorder) GetAccountAliases ¶
func (mr *MockAWSMockRecorder) GetAccountAliases() *gomock.Call
GetAccountAliases indicates an expected call of GetAccountAliases
func (*MockAWSMockRecorder) GetAccountID ¶
func (mr *MockAWSMockRecorder) GetAccountID() *gomock.Call
GetAccountID indicates an expected call of GetAccountID
func (*MockAWSMockRecorder) GetCloudEnvironmentName ¶
func (mr *MockAWSMockRecorder) GetCloudEnvironmentName() *gomock.Call
GetCloudEnvironmentName indicates an expected call of GetCloudEnvironmentName