mock_iam

package
v0.10.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2017 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

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 (_m *MockProvider) CreateRole(_param0 string, _param1 string) (*iam.Role, error)

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) GetRole

func (_m *MockProvider) GetRole(_param0 string) (*iam.Role, error)

func (*MockProvider) GetUser

func (_m *MockProvider) GetUser(_param0 *string) (*iam.User, 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)

Jump to

Keyboard shortcuts

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