usergroupfakes

package
v0.0.32 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2016 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

This file was generated by counterfeiter

Index

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 (fake *FakePivnetClient) AddMemberToGroup(userGroupID int, emailAddress string, admin bool) (go_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 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 (fake *FakePivnetClient) CreateUserGroup(name string, description string, members []string) (go_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 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 (fake *FakePivnetClient) ReleaseForVersion(productSlug string, releaseVersion string) (go_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 go_pivnet.Release, result2 error)

func (*FakePivnetClient) RemoveMemberFromGroup

func (fake *FakePivnetClient) RemoveMemberFromGroup(userGroupID int, emailAddress string) (go_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 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 (fake *FakePivnetClient) UpdateUserGroup(userGroup go_pivnet.UserGroup) (go_pivnet.UserGroup, error)

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 (fake *FakePivnetClient) UserGroupsForRelease(productSlug string, releaseID int) ([]go_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 []go_pivnet.UserGroup, result2 error)

func (*FakePivnetClient) UserGroupsReturns

func (fake *FakePivnetClient) UserGroupsReturns(result1 []go_pivnet.UserGroup, result2 error)

Jump to

Keyboard shortcuts

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