Documentation ¶
Index ¶
- type MockProvider
- func (_m *MockProvider) CreateRole(_param0 string, _param1 string) (*iam.Role, error)
- func (_m *MockProvider) DeleteRole(_param0 string) error
- func (_m *MockProvider) DeleteRolePolicy(_param0 string, _param1 string) error
- func (_m *MockProvider) DeleteServerCertificate(_param0 string) error
- func (_m *MockProvider) EXPECT() *_MockProviderRecorder
- func (_m *MockProvider) GetAccountId() (string, error)
- func (_m *MockProvider) GetRole(_param0 string) (*iam.Role, error)
- func (_m *MockProvider) GetUser(_param0 *string) (*iam.User, error)
- func (_m *MockProvider) ListCertificates() ([]*iam.ServerCertificateMetadata, error)
- func (_m *MockProvider) ListRolePolicies(_param0 string) ([]*string, error)
- func (_m *MockProvider) ListRoles() ([]*string, error)
- func (_m *MockProvider) PutRolePolicy(_param0 string, _param1 string) error
- func (_m *MockProvider) UploadServerCertificate(_param0 string, _param1 string, _param2 string, _param3 string, ...) (*iam.ServerCertificateMetadata, error)
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
}
Mock of Provider interface
func NewMockProvider ¶
func NewMockProvider(ctrl *gomock.Controller) *MockProvider
func (*MockProvider) CreateRole ¶
func (*MockProvider) DeleteRole ¶
func (_m *MockProvider) DeleteRole(_param0 string) error
func (*MockProvider) DeleteRolePolicy ¶
func (_m *MockProvider) DeleteRolePolicy(_param0 string, _param1 string) error
func (*MockProvider) DeleteServerCertificate ¶
func (_m *MockProvider) DeleteServerCertificate(_param0 string) error
func (*MockProvider) EXPECT ¶
func (_m *MockProvider) EXPECT() *_MockProviderRecorder
func (*MockProvider) GetAccountId ¶
func (_m *MockProvider) GetAccountId() (string, error)
func (*MockProvider) ListCertificates ¶
func (_m *MockProvider) ListCertificates() ([]*iam.ServerCertificateMetadata, error)
func (*MockProvider) ListRolePolicies ¶
func (_m *MockProvider) ListRolePolicies(_param0 string) ([]*string, error)
func (*MockProvider) ListRoles ¶
func (_m *MockProvider) ListRoles() ([]*string, error)
func (*MockProvider) PutRolePolicy ¶
func (_m *MockProvider) PutRolePolicy(_param0 string, _param1 string) error
func (*MockProvider) UploadServerCertificate ¶
func (_m *MockProvider) UploadServerCertificate(_param0 string, _param1 string, _param2 string, _param3 string, _param4 *string) (*iam.ServerCertificateMetadata, error)
Click to show internal directories.
Click to hide internal directories.