Documentation ¶
Overview ¶
This file was generated by counterfeiter
Index ¶
- type FakePivnetClient
- func (fake *FakePivnetClient) AddMemberToGroup(userGroupID int, emailAddress string, admin bool) (go_pivnet.UserGroup, error)
- func (fake *FakePivnetClient) AddMemberToGroupArgsForCall(i int) (int, string, bool)
- func (fake *FakePivnetClient) AddMemberToGroupCallCount() int
- func (fake *FakePivnetClient) AddMemberToGroupReturns(result1 go_pivnet.UserGroup, result2 error)
- func (fake *FakePivnetClient) AddUserGroup(productSlug string, releaseID int, userGroupID int) error
- func (fake *FakePivnetClient) AddUserGroupArgsForCall(i int) (string, int, int)
- func (fake *FakePivnetClient) AddUserGroupCallCount() int
- func (fake *FakePivnetClient) AddUserGroupReturns(result1 error)
- func (fake *FakePivnetClient) CreateUserGroup(name string, description string, members []string) (go_pivnet.UserGroup, error)
- func (fake *FakePivnetClient) CreateUserGroupArgsForCall(i int) (string, string, []string)
- func (fake *FakePivnetClient) CreateUserGroupCallCount() int
- func (fake *FakePivnetClient) CreateUserGroupReturns(result1 go_pivnet.UserGroup, result2 error)
- func (fake *FakePivnetClient) DeleteUserGroup(userGroupID int) error
- func (fake *FakePivnetClient) DeleteUserGroupArgsForCall(i int) int
- func (fake *FakePivnetClient) DeleteUserGroupCallCount() int
- func (fake *FakePivnetClient) DeleteUserGroupReturns(result1 error)
- func (fake *FakePivnetClient) Invocations() map[string][][]interface{}
- func (fake *FakePivnetClient) ReleaseForVersion(productSlug string, releaseVersion string) (go_pivnet.Release, error)
- func (fake *FakePivnetClient) ReleaseForVersionArgsForCall(i int) (string, string)
- func (fake *FakePivnetClient) ReleaseForVersionCallCount() int
- func (fake *FakePivnetClient) ReleaseForVersionReturns(result1 go_pivnet.Release, result2 error)
- func (fake *FakePivnetClient) RemoveMemberFromGroup(userGroupID int, emailAddress string) (go_pivnet.UserGroup, error)
- func (fake *FakePivnetClient) RemoveMemberFromGroupArgsForCall(i int) (int, string)
- func (fake *FakePivnetClient) RemoveMemberFromGroupCallCount() int
- func (fake *FakePivnetClient) RemoveMemberFromGroupReturns(result1 go_pivnet.UserGroup, result2 error)
- func (fake *FakePivnetClient) RemoveUserGroup(productSlug string, releaseID int, userGroupID int) error
- func (fake *FakePivnetClient) RemoveUserGroupArgsForCall(i int) (string, int, int)
- func (fake *FakePivnetClient) RemoveUserGroupCallCount() int
- func (fake *FakePivnetClient) RemoveUserGroupReturns(result1 error)
- func (fake *FakePivnetClient) UpdateUserGroup(userGroup go_pivnet.UserGroup) (go_pivnet.UserGroup, error)
- func (fake *FakePivnetClient) UpdateUserGroupArgsForCall(i int) go_pivnet.UserGroup
- func (fake *FakePivnetClient) UpdateUserGroupCallCount() int
- func (fake *FakePivnetClient) UpdateUserGroupReturns(result1 go_pivnet.UserGroup, result2 error)
- func (fake *FakePivnetClient) UserGroup(userGroupID int) (go_pivnet.UserGroup, error)
- func (fake *FakePivnetClient) UserGroupArgsForCall(i int) int
- func (fake *FakePivnetClient) UserGroupCallCount() int
- func (fake *FakePivnetClient) UserGroupReturns(result1 go_pivnet.UserGroup, result2 error)
- func (fake *FakePivnetClient) UserGroups() ([]go_pivnet.UserGroup, error)
- func (fake *FakePivnetClient) UserGroupsCallCount() int
- func (fake *FakePivnetClient) UserGroupsForRelease(productSlug string, releaseID int) ([]go_pivnet.UserGroup, error)
- func (fake *FakePivnetClient) UserGroupsForReleaseArgsForCall(i int) (string, int)
- func (fake *FakePivnetClient) UserGroupsForReleaseCallCount() int
- func (fake *FakePivnetClient) UserGroupsForReleaseReturns(result1 []go_pivnet.UserGroup, result2 error)
- func (fake *FakePivnetClient) UserGroupsReturns(result1 []go_pivnet.UserGroup, result2 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakePivnetClient ¶
type FakePivnetClient struct { ReleaseForVersionStub func(productSlug string, releaseVersion string) (go_pivnet.Release, error) UserGroupsStub func() ([]go_pivnet.UserGroup, error) UserGroupsForReleaseStub func(productSlug string, releaseID int) ([]go_pivnet.UserGroup, error) UserGroupStub func(userGroupID int) (go_pivnet.UserGroup, error) CreateUserGroupStub func(name string, description string, members []string) (go_pivnet.UserGroup, error) UpdateUserGroupStub func(userGroup go_pivnet.UserGroup) (go_pivnet.UserGroup, error) DeleteUserGroupStub func(userGroupID int) error AddUserGroupStub func(productSlug string, releaseID int, userGroupID int) error RemoveUserGroupStub func(productSlug string, releaseID int, userGroupID int) error AddMemberToGroupStub func(userGroupID int, emailAddress string, admin bool) (go_pivnet.UserGroup, error) RemoveMemberFromGroupStub func(userGroupID int, emailAddress string) (go_pivnet.UserGroup, error) // contains filtered or unexported fields }
func (*FakePivnetClient) AddMemberToGroup ¶
func (*FakePivnetClient) AddMemberToGroupArgsForCall ¶
func (fake *FakePivnetClient) AddMemberToGroupArgsForCall(i int) (int, string, bool)
func (*FakePivnetClient) AddMemberToGroupCallCount ¶
func (fake *FakePivnetClient) AddMemberToGroupCallCount() int
func (*FakePivnetClient) AddMemberToGroupReturns ¶
func (fake *FakePivnetClient) AddMemberToGroupReturns(result1 go_pivnet.UserGroup, result2 error)
func (*FakePivnetClient) AddUserGroup ¶
func (fake *FakePivnetClient) AddUserGroup(productSlug string, releaseID int, userGroupID int) error
func (*FakePivnetClient) AddUserGroupArgsForCall ¶
func (fake *FakePivnetClient) AddUserGroupArgsForCall(i int) (string, int, int)
func (*FakePivnetClient) AddUserGroupCallCount ¶
func (fake *FakePivnetClient) AddUserGroupCallCount() int
func (*FakePivnetClient) AddUserGroupReturns ¶
func (fake *FakePivnetClient) AddUserGroupReturns(result1 error)
func (*FakePivnetClient) CreateUserGroup ¶
func (*FakePivnetClient) CreateUserGroupArgsForCall ¶
func (fake *FakePivnetClient) CreateUserGroupArgsForCall(i int) (string, string, []string)
func (*FakePivnetClient) CreateUserGroupCallCount ¶
func (fake *FakePivnetClient) CreateUserGroupCallCount() int
func (*FakePivnetClient) CreateUserGroupReturns ¶
func (fake *FakePivnetClient) CreateUserGroupReturns(result1 go_pivnet.UserGroup, result2 error)
func (*FakePivnetClient) DeleteUserGroup ¶
func (fake *FakePivnetClient) DeleteUserGroup(userGroupID int) error
func (*FakePivnetClient) DeleteUserGroupArgsForCall ¶
func (fake *FakePivnetClient) DeleteUserGroupArgsForCall(i int) int
func (*FakePivnetClient) DeleteUserGroupCallCount ¶
func (fake *FakePivnetClient) DeleteUserGroupCallCount() int
func (*FakePivnetClient) DeleteUserGroupReturns ¶
func (fake *FakePivnetClient) DeleteUserGroupReturns(result1 error)
func (*FakePivnetClient) Invocations ¶
func (fake *FakePivnetClient) Invocations() map[string][][]interface{}
func (*FakePivnetClient) ReleaseForVersion ¶
func (*FakePivnetClient) ReleaseForVersionArgsForCall ¶
func (fake *FakePivnetClient) ReleaseForVersionArgsForCall(i int) (string, string)
func (*FakePivnetClient) ReleaseForVersionCallCount ¶
func (fake *FakePivnetClient) ReleaseForVersionCallCount() int
func (*FakePivnetClient) ReleaseForVersionReturns ¶
func (fake *FakePivnetClient) ReleaseForVersionReturns(result1 go_pivnet.Release, result2 error)
func (*FakePivnetClient) RemoveMemberFromGroup ¶
func (*FakePivnetClient) RemoveMemberFromGroupArgsForCall ¶
func (fake *FakePivnetClient) RemoveMemberFromGroupArgsForCall(i int) (int, string)
func (*FakePivnetClient) RemoveMemberFromGroupCallCount ¶
func (fake *FakePivnetClient) RemoveMemberFromGroupCallCount() int
func (*FakePivnetClient) RemoveMemberFromGroupReturns ¶
func (fake *FakePivnetClient) RemoveMemberFromGroupReturns(result1 go_pivnet.UserGroup, result2 error)
func (*FakePivnetClient) RemoveUserGroup ¶
func (fake *FakePivnetClient) RemoveUserGroup(productSlug string, releaseID int, userGroupID int) error
func (*FakePivnetClient) RemoveUserGroupArgsForCall ¶
func (fake *FakePivnetClient) RemoveUserGroupArgsForCall(i int) (string, int, int)
func (*FakePivnetClient) RemoveUserGroupCallCount ¶
func (fake *FakePivnetClient) RemoveUserGroupCallCount() int
func (*FakePivnetClient) RemoveUserGroupReturns ¶
func (fake *FakePivnetClient) RemoveUserGroupReturns(result1 error)
func (*FakePivnetClient) UpdateUserGroup ¶
func (*FakePivnetClient) UpdateUserGroupArgsForCall ¶
func (fake *FakePivnetClient) UpdateUserGroupArgsForCall(i int) go_pivnet.UserGroup
func (*FakePivnetClient) UpdateUserGroupCallCount ¶
func (fake *FakePivnetClient) UpdateUserGroupCallCount() int
func (*FakePivnetClient) UpdateUserGroupReturns ¶
func (fake *FakePivnetClient) UpdateUserGroupReturns(result1 go_pivnet.UserGroup, result2 error)
func (*FakePivnetClient) UserGroup ¶
func (fake *FakePivnetClient) UserGroup(userGroupID int) (go_pivnet.UserGroup, error)
func (*FakePivnetClient) UserGroupArgsForCall ¶
func (fake *FakePivnetClient) UserGroupArgsForCall(i int) int
func (*FakePivnetClient) UserGroupCallCount ¶
func (fake *FakePivnetClient) UserGroupCallCount() int
func (*FakePivnetClient) UserGroupReturns ¶
func (fake *FakePivnetClient) UserGroupReturns(result1 go_pivnet.UserGroup, result2 error)
func (*FakePivnetClient) UserGroups ¶
func (fake *FakePivnetClient) UserGroups() ([]go_pivnet.UserGroup, error)
func (*FakePivnetClient) UserGroupsCallCount ¶
func (fake *FakePivnetClient) UserGroupsCallCount() int
func (*FakePivnetClient) UserGroupsForRelease ¶
func (*FakePivnetClient) UserGroupsForReleaseArgsForCall ¶
func (fake *FakePivnetClient) UserGroupsForReleaseArgsForCall(i int) (string, int)
func (*FakePivnetClient) UserGroupsForReleaseCallCount ¶
func (fake *FakePivnetClient) UserGroupsForReleaseCallCount() int
func (*FakePivnetClient) UserGroupsForReleaseReturns ¶
func (fake *FakePivnetClient) UserGroupsForReleaseReturns(result1 []go_pivnet.UserGroup, result2 error)
func (*FakePivnetClient) UserGroupsReturns ¶
func (fake *FakePivnetClient) UserGroupsReturns(result1 []go_pivnet.UserGroup, result2 error)
Click to show internal directories.
Click to hide internal directories.