Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakePivnetClient
- func (fake *FakePivnetClient) AddMemberToGroup(userGroupID int, emailAddress string, admin bool) (pivnet.UserGroup, error)
- func (fake *FakePivnetClient) AddMemberToGroupArgsForCall(i int) (int, string, bool)
- func (fake *FakePivnetClient) AddMemberToGroupCallCount() int
- func (fake *FakePivnetClient) AddMemberToGroupReturns(result1 pivnet.UserGroup, result2 error)
- func (fake *FakePivnetClient) AddMemberToGroupReturnsOnCall(i int, result1 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) AddUserGroupReturnsOnCall(i int, result1 error)
- func (fake *FakePivnetClient) CreateUserGroup(name string, description string, members []string) (pivnet.UserGroup, error)
- func (fake *FakePivnetClient) CreateUserGroupArgsForCall(i int) (string, string, []string)
- func (fake *FakePivnetClient) CreateUserGroupCallCount() int
- func (fake *FakePivnetClient) CreateUserGroupReturns(result1 pivnet.UserGroup, result2 error)
- func (fake *FakePivnetClient) CreateUserGroupReturnsOnCall(i int, result1 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) DeleteUserGroupReturnsOnCall(i int, result1 error)
- func (fake *FakePivnetClient) Invocations() map[string][][]interface{}
- func (fake *FakePivnetClient) ReleaseForVersion(productSlug string, releaseVersion string) (pivnet.Release, error)
- func (fake *FakePivnetClient) ReleaseForVersionArgsForCall(i int) (string, string)
- func (fake *FakePivnetClient) ReleaseForVersionCallCount() int
- func (fake *FakePivnetClient) ReleaseForVersionReturns(result1 pivnet.Release, result2 error)
- func (fake *FakePivnetClient) ReleaseForVersionReturnsOnCall(i int, result1 pivnet.Release, result2 error)
- func (fake *FakePivnetClient) RemoveMemberFromGroup(userGroupID int, emailAddress string) (pivnet.UserGroup, error)
- func (fake *FakePivnetClient) RemoveMemberFromGroupArgsForCall(i int) (int, string)
- func (fake *FakePivnetClient) RemoveMemberFromGroupCallCount() int
- func (fake *FakePivnetClient) RemoveMemberFromGroupReturns(result1 pivnet.UserGroup, result2 error)
- func (fake *FakePivnetClient) RemoveMemberFromGroupReturnsOnCall(i int, result1 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) RemoveUserGroupReturnsOnCall(i int, result1 error)
- func (fake *FakePivnetClient) UpdateUserGroup(userGroup pivnet.UserGroup) (pivnet.UserGroup, error)
- func (fake *FakePivnetClient) UpdateUserGroupArgsForCall(i int) pivnet.UserGroup
- func (fake *FakePivnetClient) UpdateUserGroupCallCount() int
- func (fake *FakePivnetClient) UpdateUserGroupReturns(result1 pivnet.UserGroup, result2 error)
- func (fake *FakePivnetClient) UpdateUserGroupReturnsOnCall(i int, result1 pivnet.UserGroup, result2 error)
- func (fake *FakePivnetClient) UserGroup(userGroupID int) (pivnet.UserGroup, error)
- func (fake *FakePivnetClient) UserGroupArgsForCall(i int) int
- func (fake *FakePivnetClient) UserGroupCallCount() int
- func (fake *FakePivnetClient) UserGroupReturns(result1 pivnet.UserGroup, result2 error)
- func (fake *FakePivnetClient) UserGroupReturnsOnCall(i int, result1 pivnet.UserGroup, result2 error)
- func (fake *FakePivnetClient) UserGroups() ([]pivnet.UserGroup, error)
- func (fake *FakePivnetClient) UserGroupsCallCount() int
- func (fake *FakePivnetClient) UserGroupsForRelease(productSlug string, releaseID int) ([]pivnet.UserGroup, error)
- func (fake *FakePivnetClient) UserGroupsForReleaseArgsForCall(i int) (string, int)
- func (fake *FakePivnetClient) UserGroupsForReleaseCallCount() int
- func (fake *FakePivnetClient) UserGroupsForReleaseReturns(result1 []pivnet.UserGroup, result2 error)
- func (fake *FakePivnetClient) UserGroupsForReleaseReturnsOnCall(i int, result1 []pivnet.UserGroup, result2 error)
- func (fake *FakePivnetClient) UserGroupsReturns(result1 []pivnet.UserGroup, result2 error)
- func (fake *FakePivnetClient) UserGroupsReturnsOnCall(i int, result1 []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) (pivnet.Release, error) UserGroupsStub func() ([]pivnet.UserGroup, error) UserGroupsForReleaseStub func(productSlug string, releaseID int) ([]pivnet.UserGroup, error) UserGroupStub func(userGroupID int) (pivnet.UserGroup, error) CreateUserGroupStub func(name string, description string, members []string) (pivnet.UserGroup, error) UpdateUserGroupStub func(userGroup pivnet.UserGroup) (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) (pivnet.UserGroup, error) RemoveMemberFromGroupStub func(userGroupID int, emailAddress string) (pivnet.UserGroup, error) // contains filtered or unexported fields }
func (*FakePivnetClient) AddMemberToGroup ¶
func (fake *FakePivnetClient) AddMemberToGroup(userGroupID int, emailAddress string, admin bool) (pivnet.UserGroup, error)
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 pivnet.UserGroup, result2 error)
func (*FakePivnetClient) AddMemberToGroupReturnsOnCall ¶ added in v0.0.57
func (fake *FakePivnetClient) AddMemberToGroupReturnsOnCall(i int, result1 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) AddUserGroupReturnsOnCall ¶ added in v0.0.57
func (fake *FakePivnetClient) AddUserGroupReturnsOnCall(i int, result1 error)
func (*FakePivnetClient) CreateUserGroup ¶
func (fake *FakePivnetClient) CreateUserGroup(name string, description string, members []string) (pivnet.UserGroup, error)
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 pivnet.UserGroup, result2 error)
func (*FakePivnetClient) CreateUserGroupReturnsOnCall ¶ added in v0.0.57
func (fake *FakePivnetClient) CreateUserGroupReturnsOnCall(i int, result1 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) DeleteUserGroupReturnsOnCall ¶ added in v0.0.57
func (fake *FakePivnetClient) DeleteUserGroupReturnsOnCall(i int, result1 error)
func (*FakePivnetClient) Invocations ¶
func (fake *FakePivnetClient) Invocations() map[string][][]interface{}
func (*FakePivnetClient) ReleaseForVersion ¶
func (fake *FakePivnetClient) ReleaseForVersion(productSlug string, releaseVersion string) (pivnet.Release, error)
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 pivnet.Release, result2 error)
func (*FakePivnetClient) ReleaseForVersionReturnsOnCall ¶ added in v0.0.57
func (fake *FakePivnetClient) ReleaseForVersionReturnsOnCall(i int, result1 pivnet.Release, result2 error)
func (*FakePivnetClient) RemoveMemberFromGroup ¶
func (fake *FakePivnetClient) RemoveMemberFromGroup(userGroupID int, emailAddress string) (pivnet.UserGroup, error)
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 pivnet.UserGroup, result2 error)
func (*FakePivnetClient) RemoveMemberFromGroupReturnsOnCall ¶ added in v0.0.57
func (fake *FakePivnetClient) RemoveMemberFromGroupReturnsOnCall(i int, result1 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) RemoveUserGroupReturnsOnCall ¶ added in v0.0.57
func (fake *FakePivnetClient) RemoveUserGroupReturnsOnCall(i int, result1 error)
func (*FakePivnetClient) UpdateUserGroup ¶
func (fake *FakePivnetClient) UpdateUserGroup(userGroup pivnet.UserGroup) (pivnet.UserGroup, error)
func (*FakePivnetClient) UpdateUserGroupArgsForCall ¶
func (fake *FakePivnetClient) UpdateUserGroupArgsForCall(i int) pivnet.UserGroup
func (*FakePivnetClient) UpdateUserGroupCallCount ¶
func (fake *FakePivnetClient) UpdateUserGroupCallCount() int
func (*FakePivnetClient) UpdateUserGroupReturns ¶
func (fake *FakePivnetClient) UpdateUserGroupReturns(result1 pivnet.UserGroup, result2 error)
func (*FakePivnetClient) UpdateUserGroupReturnsOnCall ¶ added in v0.0.57
func (fake *FakePivnetClient) UpdateUserGroupReturnsOnCall(i int, result1 pivnet.UserGroup, result2 error)
func (*FakePivnetClient) UserGroup ¶
func (fake *FakePivnetClient) UserGroup(userGroupID int) (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 pivnet.UserGroup, result2 error)
func (*FakePivnetClient) UserGroupReturnsOnCall ¶ added in v0.0.57
func (fake *FakePivnetClient) UserGroupReturnsOnCall(i int, result1 pivnet.UserGroup, result2 error)
func (*FakePivnetClient) UserGroups ¶
func (fake *FakePivnetClient) UserGroups() ([]pivnet.UserGroup, error)
func (*FakePivnetClient) UserGroupsCallCount ¶
func (fake *FakePivnetClient) UserGroupsCallCount() int
func (*FakePivnetClient) UserGroupsForRelease ¶
func (fake *FakePivnetClient) UserGroupsForRelease(productSlug string, releaseID int) ([]pivnet.UserGroup, error)
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 []pivnet.UserGroup, result2 error)
func (*FakePivnetClient) UserGroupsForReleaseReturnsOnCall ¶ added in v0.0.57
func (fake *FakePivnetClient) UserGroupsForReleaseReturnsOnCall(i int, result1 []pivnet.UserGroup, result2 error)
func (*FakePivnetClient) UserGroupsReturns ¶
func (fake *FakePivnetClient) UserGroupsReturns(result1 []pivnet.UserGroup, result2 error)
func (*FakePivnetClient) UserGroupsReturnsOnCall ¶ added in v0.0.57
func (fake *FakePivnetClient) UserGroupsReturnsOnCall(i int, result1 []pivnet.UserGroup, result2 error)
Click to show internal directories.
Click to hide internal directories.