fakes

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2018 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 AccessKeys

type AccessKeys struct {
	DeleteCall struct {
		CallCount int
		Receives  struct {
			UserName string
		}
		Returns struct {
			Error error
		}
	}
}

func (*AccessKeys) Delete

func (u *AccessKeys) Delete(userName string) error

type AccessKeysClient

type AccessKeysClient struct {
	ListAccessKeysCall struct {
		CallCount int
		Receives  struct {
			Input *iam.ListAccessKeysInput
		}
		Returns struct {
			Output *iam.ListAccessKeysOutput
			Error  error
		}
	}

	DeleteAccessKeyCall struct {
		CallCount int
		Receives  struct {
			Input *iam.DeleteAccessKeyInput
		}
		Returns struct {
			Output *iam.DeleteAccessKeyOutput
			Error  error
		}
	}
}

func (*AccessKeysClient) DeleteAccessKey

func (*AccessKeysClient) ListAccessKeys

func (i *AccessKeysClient) ListAccessKeys(input *iam.ListAccessKeysInput) (*iam.ListAccessKeysOutput, error)

type InstanceProfilesClient

type InstanceProfilesClient struct {
	ListInstanceProfilesCall struct {
		CallCount int
		Receives  struct {
			Input *iam.ListInstanceProfilesInput
		}
		Returns struct {
			Output *iam.ListInstanceProfilesOutput
			Error  error
		}
	}

	DeleteInstanceProfileCall struct {
		CallCount int
		Receives  struct {
			Input *iam.DeleteInstanceProfileInput
		}
		Returns struct {
			Output *iam.DeleteInstanceProfileOutput
			Error  error
		}
	}

	RemoveRoleFromInstanceProfileCall struct {
		CallCount int
		Receives  struct {
			Input *iam.RemoveRoleFromInstanceProfileInput
		}
		Returns struct {
			Output *iam.RemoveRoleFromInstanceProfileOutput
			Error  error
		}
	}
}

func (*InstanceProfilesClient) DeleteInstanceProfile

func (*InstanceProfilesClient) ListInstanceProfiles

func (*InstanceProfilesClient) RemoveRoleFromInstanceProfile

type Logger

type Logger struct {
	PrintfCall struct {
		Receives struct {
			Message   string
			Arguments []interface{}
		}
		Messages []string
	}

	PromptCall struct {
		CallCount int
		Receives  struct {
			Message string
		}
		Returns struct {
			Proceed bool
		}
	}
}

func (*Logger) Printf

func (l *Logger) Printf(message string, a ...interface{})

func (*Logger) Prompt

func (l *Logger) Prompt(message string) bool

type PoliciesClient

type PoliciesClient struct {
	ListPoliciesCall struct {
		CallCount int
		Receives  struct {
			Input *awsiam.ListPoliciesInput
		}
		Returns struct {
			Output *awsiam.ListPoliciesOutput
			Error  error
		}
	}

	ListPolicyVersionsCall struct {
		CallCount int
		Receives  struct {
			Input *awsiam.ListPolicyVersionsInput
		}
		Returns struct {
			Output *awsiam.ListPolicyVersionsOutput
			Error  error
		}
	}

	DeletePolicyCall struct {
		CallCount int
		Receives  struct {
			Input *awsiam.DeletePolicyInput
		}
		Returns struct {
			Output *awsiam.DeletePolicyOutput
			Error  error
		}
	}

	DeletePolicyVersionCall struct {
		CallCount int
		Receives  struct {
			Input *awsiam.DeletePolicyVersionInput
		}
		Returns struct {
			Output *awsiam.DeletePolicyVersionOutput
			Error  error
		}
	}
}

func (*PoliciesClient) DeletePolicy

func (*PoliciesClient) DeletePolicyVersion

func (*PoliciesClient) ListPolicies

func (*PoliciesClient) ListPolicyVersions

type RolePolicies

type RolePolicies struct {
	DeleteCall struct {
		CallCount int
		Receives  struct {
			RoleName string
		}
		Returns struct {
			Error error
		}
	}
}

func (*RolePolicies) Delete

func (r *RolePolicies) Delete(roleName string) error

type RolePoliciesClient

type RolePoliciesClient struct {
	ListAttachedRolePoliciesCall struct {
		CallCount int
		Receives  struct {
			Input *awsiam.ListAttachedRolePoliciesInput
		}
		Returns struct {
			Output *awsiam.ListAttachedRolePoliciesOutput
			Error  error
		}
	}

	ListRolePoliciesCall struct {
		CallCount int
		Receives  struct {
			Input *awsiam.ListRolePoliciesInput
		}
		Returns struct {
			Output *awsiam.ListRolePoliciesOutput
			Error  error
		}
	}

	DetachRolePolicyCall struct {
		CallCount int
		Receives  struct {
			Input *awsiam.DetachRolePolicyInput
		}
		Returns struct {
			Output *awsiam.DetachRolePolicyOutput
			Error  error
		}
	}

	DeleteRolePolicyCall struct {
		CallCount int
		Receives  struct {
			Input *awsiam.DeleteRolePolicyInput
		}
		Returns struct {
			Output *awsiam.DeleteRolePolicyOutput
			Error  error
		}
	}
}

func (*RolePoliciesClient) DeleteRolePolicy

func (*RolePoliciesClient) DetachRolePolicy

func (*RolePoliciesClient) ListAttachedRolePolicies

func (*RolePoliciesClient) ListRolePolicies

type RolesClient

type RolesClient struct {
	ListRolesCall struct {
		CallCount int
		Receives  struct {
			Input *iam.ListRolesInput
		}
		Returns struct {
			Output *iam.ListRolesOutput
			Error  error
		}
	}

	DeleteRoleCall struct {
		CallCount int
		Receives  struct {
			Input *iam.DeleteRoleInput
		}
		Returns struct {
			Output *iam.DeleteRoleOutput
			Error  error
		}
	}
}

func (*RolesClient) DeleteRole

func (i *RolesClient) DeleteRole(input *iam.DeleteRoleInput) (*iam.DeleteRoleOutput, error)

func (*RolesClient) ListRoles

func (i *RolesClient) ListRoles(input *iam.ListRolesInput) (*iam.ListRolesOutput, error)

type ServerCertificatesClient

type ServerCertificatesClient struct {
	ListServerCertificatesCall struct {
		CallCount int
		Receives  struct {
			Input *iam.ListServerCertificatesInput
		}
		Returns struct {
			Output *iam.ListServerCertificatesOutput
			Error  error
		}
	}

	DeleteServerCertificateCall struct {
		CallCount int
		Receives  struct {
			Input *iam.DeleteServerCertificateInput
		}
		Returns struct {
			Output *iam.DeleteServerCertificateOutput
			Error  error
		}
	}
}

func (*ServerCertificatesClient) DeleteServerCertificate

func (*ServerCertificatesClient) ListServerCertificates

type UserPolicies

type UserPolicies struct {
	DeleteCall struct {
		CallCount int
		Receives  struct {
			UserName string
		}
		Returns struct {
			Error error
		}
	}
}

func (*UserPolicies) Delete

func (u *UserPolicies) Delete(userName string) error

type UserPoliciesClient

type UserPoliciesClient struct {
	ListAttachedUserPoliciesCall struct {
		CallCount int
		Receives  struct {
			Input *iam.ListAttachedUserPoliciesInput
		}
		Returns struct {
			Output *iam.ListAttachedUserPoliciesOutput
			Error  error
		}
	}

	DetachUserPolicyCall struct {
		CallCount int
		Receives  struct {
			Input *iam.DetachUserPolicyInput
		}
		Returns struct {
			Output *iam.DetachUserPolicyOutput
			Error  error
		}
	}

	DeleteUserPolicyCall struct {
		CallCount int
		Receives  struct {
			Input *iam.DeleteUserPolicyInput
		}
		Returns struct {
			Output *iam.DeleteUserPolicyOutput
			Error  error
		}
	}
}

func (*UserPoliciesClient) DeleteUserPolicy

func (*UserPoliciesClient) DetachUserPolicy

func (*UserPoliciesClient) ListAttachedUserPolicies

type UsersClient

type UsersClient struct {
	ListUsersCall struct {
		CallCount int
		Receives  struct {
			Input *iam.ListUsersInput
		}
		Returns struct {
			Output *iam.ListUsersOutput
			Error  error
		}
	}

	DeleteUserCall struct {
		CallCount int
		Receives  struct {
			Input *iam.DeleteUserInput
		}
		Returns struct {
			Output *iam.DeleteUserOutput
			Error  error
		}
	}
}

func (*UsersClient) DeleteUser

func (i *UsersClient) DeleteUser(input *iam.DeleteUserInput) (*iam.DeleteUserOutput, error)

func (*UsersClient) ListUsers

func (i *UsersClient) ListUsers(input *iam.ListUsersInput) (*iam.ListUsersOutput, error)

Jump to

Keyboard shortcuts

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