Documentation ¶
Overview ¶
Package mock_iam is a generated GoMock package.
Index ¶
- type MockProvider
- func (m *MockProvider) CreateRole(arg0, arg1 string) (*iam.Role, error)
- func (m *MockProvider) DeleteRole(arg0 string) error
- func (m *MockProvider) DeleteRolePolicy(arg0, arg1 string) error
- func (m *MockProvider) DeleteServerCertificate(arg0 string) error
- func (m *MockProvider) EXPECT() *MockProviderMockRecorder
- func (m *MockProvider) GetAccountId() (string, error)
- func (m *MockProvider) GetRole(arg0 string) (*iam.Role, error)
- func (m *MockProvider) GetUser(arg0 *string) (*iam.User, error)
- func (m *MockProvider) ListCertificates() ([]*iam.ServerCertificateMetadata, error)
- func (m *MockProvider) ListRolePolicies(arg0 string) ([]*string, error)
- func (m *MockProvider) ListRoles() ([]*string, error)
- func (m *MockProvider) PutRolePolicy(arg0, arg1 string) error
- func (m *MockProvider) UploadServerCertificate(arg0, arg1, arg2, arg3 string, arg4 *string) (*iam.ServerCertificateMetadata, error)
- type MockProviderMockRecorder
- func (mr *MockProviderMockRecorder) CreateRole(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockProviderMockRecorder) DeleteRole(arg0 interface{}) *gomock.Call
- func (mr *MockProviderMockRecorder) DeleteRolePolicy(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockProviderMockRecorder) DeleteServerCertificate(arg0 interface{}) *gomock.Call
- func (mr *MockProviderMockRecorder) GetAccountId() *gomock.Call
- func (mr *MockProviderMockRecorder) GetRole(arg0 interface{}) *gomock.Call
- func (mr *MockProviderMockRecorder) GetUser(arg0 interface{}) *gomock.Call
- func (mr *MockProviderMockRecorder) ListCertificates() *gomock.Call
- func (mr *MockProviderMockRecorder) ListRolePolicies(arg0 interface{}) *gomock.Call
- func (mr *MockProviderMockRecorder) ListRoles() *gomock.Call
- func (mr *MockProviderMockRecorder) PutRolePolicy(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockProviderMockRecorder) UploadServerCertificate(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockProvider ¶
type MockProvider struct {
// contains filtered or unexported fields
}
MockProvider is a mock of Provider interface
func NewMockProvider ¶
func NewMockProvider(ctrl *gomock.Controller) *MockProvider
NewMockProvider creates a new mock instance
func (*MockProvider) CreateRole ¶
func (m *MockProvider) CreateRole(arg0, arg1 string) (*iam.Role, error)
CreateRole mocks base method
func (*MockProvider) DeleteRole ¶
func (m *MockProvider) DeleteRole(arg0 string) error
DeleteRole mocks base method
func (*MockProvider) DeleteRolePolicy ¶
func (m *MockProvider) DeleteRolePolicy(arg0, arg1 string) error
DeleteRolePolicy mocks base method
func (*MockProvider) DeleteServerCertificate ¶
func (m *MockProvider) DeleteServerCertificate(arg0 string) error
DeleteServerCertificate mocks base method
func (*MockProvider) EXPECT ¶
func (m *MockProvider) EXPECT() *MockProviderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockProvider) GetAccountId ¶
func (m *MockProvider) GetAccountId() (string, error)
GetAccountId mocks base method
func (*MockProvider) GetRole ¶
func (m *MockProvider) GetRole(arg0 string) (*iam.Role, error)
GetRole mocks base method
func (*MockProvider) GetUser ¶
func (m *MockProvider) GetUser(arg0 *string) (*iam.User, error)
GetUser mocks base method
func (*MockProvider) ListCertificates ¶
func (m *MockProvider) ListCertificates() ([]*iam.ServerCertificateMetadata, error)
ListCertificates mocks base method
func (*MockProvider) ListRolePolicies ¶
func (m *MockProvider) ListRolePolicies(arg0 string) ([]*string, error)
ListRolePolicies mocks base method
func (*MockProvider) ListRoles ¶
func (m *MockProvider) ListRoles() ([]*string, error)
ListRoles mocks base method
func (*MockProvider) PutRolePolicy ¶
func (m *MockProvider) PutRolePolicy(arg0, arg1 string) error
PutRolePolicy mocks base method
func (*MockProvider) UploadServerCertificate ¶
func (m *MockProvider) UploadServerCertificate(arg0, arg1, arg2, arg3 string, arg4 *string) (*iam.ServerCertificateMetadata, error)
UploadServerCertificate mocks base method
type MockProviderMockRecorder ¶ added in v0.10.4
type MockProviderMockRecorder struct {
// contains filtered or unexported fields
}
MockProviderMockRecorder is the mock recorder for MockProvider
func (*MockProviderMockRecorder) CreateRole ¶ added in v0.10.4
func (mr *MockProviderMockRecorder) CreateRole(arg0, arg1 interface{}) *gomock.Call
CreateRole indicates an expected call of CreateRole
func (*MockProviderMockRecorder) DeleteRole ¶ added in v0.10.4
func (mr *MockProviderMockRecorder) DeleteRole(arg0 interface{}) *gomock.Call
DeleteRole indicates an expected call of DeleteRole
func (*MockProviderMockRecorder) DeleteRolePolicy ¶ added in v0.10.4
func (mr *MockProviderMockRecorder) DeleteRolePolicy(arg0, arg1 interface{}) *gomock.Call
DeleteRolePolicy indicates an expected call of DeleteRolePolicy
func (*MockProviderMockRecorder) DeleteServerCertificate ¶ added in v0.10.4
func (mr *MockProviderMockRecorder) DeleteServerCertificate(arg0 interface{}) *gomock.Call
DeleteServerCertificate indicates an expected call of DeleteServerCertificate
func (*MockProviderMockRecorder) GetAccountId ¶ added in v0.10.4
func (mr *MockProviderMockRecorder) GetAccountId() *gomock.Call
GetAccountId indicates an expected call of GetAccountId
func (*MockProviderMockRecorder) GetRole ¶ added in v0.10.4
func (mr *MockProviderMockRecorder) GetRole(arg0 interface{}) *gomock.Call
GetRole indicates an expected call of GetRole
func (*MockProviderMockRecorder) GetUser ¶ added in v0.10.4
func (mr *MockProviderMockRecorder) GetUser(arg0 interface{}) *gomock.Call
GetUser indicates an expected call of GetUser
func (*MockProviderMockRecorder) ListCertificates ¶ added in v0.10.4
func (mr *MockProviderMockRecorder) ListCertificates() *gomock.Call
ListCertificates indicates an expected call of ListCertificates
func (*MockProviderMockRecorder) ListRolePolicies ¶ added in v0.10.4
func (mr *MockProviderMockRecorder) ListRolePolicies(arg0 interface{}) *gomock.Call
ListRolePolicies indicates an expected call of ListRolePolicies
func (*MockProviderMockRecorder) ListRoles ¶ added in v0.10.4
func (mr *MockProviderMockRecorder) ListRoles() *gomock.Call
ListRoles indicates an expected call of ListRoles
func (*MockProviderMockRecorder) PutRolePolicy ¶ added in v0.10.4
func (mr *MockProviderMockRecorder) PutRolePolicy(arg0, arg1 interface{}) *gomock.Call
PutRolePolicy indicates an expected call of PutRolePolicy
func (*MockProviderMockRecorder) UploadServerCertificate ¶ added in v0.10.4
func (mr *MockProviderMockRecorder) UploadServerCertificate(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
UploadServerCertificate indicates an expected call of UploadServerCertificate