usergroupfakes

package
v2.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakePivnetClient

type FakePivnetClient struct {
	AddMemberToGroupStub func(int, string, bool) (pivnet.UserGroup, error)

	AddUserGroupStub func(string, int, int) error

	CreateUserGroupStub func(string, string, []string) (pivnet.UserGroup, error)

	DeleteUserGroupStub func(int) error

	ReleaseForVersionStub func(string, string) (pivnet.Release, error)

	RemoveMemberFromGroupStub func(int, string) (pivnet.UserGroup, error)

	RemoveUserGroupStub func(string, int, int) error

	UpdateUserGroupStub func(pivnet.UserGroup) (pivnet.UserGroup, error)

	UserGroupStub func(int) (pivnet.UserGroup, error)

	UserGroupsStub func() ([]pivnet.UserGroup, error)

	UserGroupsForReleaseStub func(string, int) ([]pivnet.UserGroup, error)
	// contains filtered or unexported fields
}

func (*FakePivnetClient) AddMemberToGroup

func (fake *FakePivnetClient) AddMemberToGroup(arg1 int, arg2 string, arg3 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) AddMemberToGroupCalls

func (fake *FakePivnetClient) AddMemberToGroupCalls(stub func(int, string, bool) (pivnet.UserGroup, error))

func (*FakePivnetClient) AddMemberToGroupReturns

func (fake *FakePivnetClient) AddMemberToGroupReturns(result1 pivnet.UserGroup, result2 error)

func (*FakePivnetClient) AddMemberToGroupReturnsOnCall

func (fake *FakePivnetClient) AddMemberToGroupReturnsOnCall(i int, result1 pivnet.UserGroup, result2 error)

func (*FakePivnetClient) AddUserGroup

func (fake *FakePivnetClient) AddUserGroup(arg1 string, arg2 int, arg3 int) error

func (*FakePivnetClient) AddUserGroupArgsForCall

func (fake *FakePivnetClient) AddUserGroupArgsForCall(i int) (string, int, int)

func (*FakePivnetClient) AddUserGroupCallCount

func (fake *FakePivnetClient) AddUserGroupCallCount() int

func (*FakePivnetClient) AddUserGroupCalls

func (fake *FakePivnetClient) AddUserGroupCalls(stub func(string, int, int) error)

func (*FakePivnetClient) AddUserGroupReturns

func (fake *FakePivnetClient) AddUserGroupReturns(result1 error)

func (*FakePivnetClient) AddUserGroupReturnsOnCall

func (fake *FakePivnetClient) AddUserGroupReturnsOnCall(i int, result1 error)

func (*FakePivnetClient) CreateUserGroup

func (fake *FakePivnetClient) CreateUserGroup(arg1 string, arg2 string, arg3 []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) CreateUserGroupCalls

func (fake *FakePivnetClient) CreateUserGroupCalls(stub func(string, string, []string) (pivnet.UserGroup, error))

func (*FakePivnetClient) CreateUserGroupReturns

func (fake *FakePivnetClient) CreateUserGroupReturns(result1 pivnet.UserGroup, result2 error)

func (*FakePivnetClient) CreateUserGroupReturnsOnCall

func (fake *FakePivnetClient) CreateUserGroupReturnsOnCall(i int, result1 pivnet.UserGroup, result2 error)

func (*FakePivnetClient) DeleteUserGroup

func (fake *FakePivnetClient) DeleteUserGroup(arg1 int) error

func (*FakePivnetClient) DeleteUserGroupArgsForCall

func (fake *FakePivnetClient) DeleteUserGroupArgsForCall(i int) int

func (*FakePivnetClient) DeleteUserGroupCallCount

func (fake *FakePivnetClient) DeleteUserGroupCallCount() int

func (*FakePivnetClient) DeleteUserGroupCalls

func (fake *FakePivnetClient) DeleteUserGroupCalls(stub func(int) error)

func (*FakePivnetClient) DeleteUserGroupReturns

func (fake *FakePivnetClient) DeleteUserGroupReturns(result1 error)

func (*FakePivnetClient) DeleteUserGroupReturnsOnCall

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(arg1 string, arg2 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) ReleaseForVersionCalls

func (fake *FakePivnetClient) ReleaseForVersionCalls(stub func(string, string) (pivnet.Release, error))

func (*FakePivnetClient) ReleaseForVersionReturns

func (fake *FakePivnetClient) ReleaseForVersionReturns(result1 pivnet.Release, result2 error)

func (*FakePivnetClient) ReleaseForVersionReturnsOnCall

func (fake *FakePivnetClient) ReleaseForVersionReturnsOnCall(i int, result1 pivnet.Release, result2 error)

func (*FakePivnetClient) RemoveMemberFromGroup

func (fake *FakePivnetClient) RemoveMemberFromGroup(arg1 int, arg2 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) RemoveMemberFromGroupCalls

func (fake *FakePivnetClient) RemoveMemberFromGroupCalls(stub func(int, string) (pivnet.UserGroup, error))

func (*FakePivnetClient) RemoveMemberFromGroupReturns

func (fake *FakePivnetClient) RemoveMemberFromGroupReturns(result1 pivnet.UserGroup, result2 error)

func (*FakePivnetClient) RemoveMemberFromGroupReturnsOnCall

func (fake *FakePivnetClient) RemoveMemberFromGroupReturnsOnCall(i int, result1 pivnet.UserGroup, result2 error)

func (*FakePivnetClient) RemoveUserGroup

func (fake *FakePivnetClient) RemoveUserGroup(arg1 string, arg2 int, arg3 int) error

func (*FakePivnetClient) RemoveUserGroupArgsForCall

func (fake *FakePivnetClient) RemoveUserGroupArgsForCall(i int) (string, int, int)

func (*FakePivnetClient) RemoveUserGroupCallCount

func (fake *FakePivnetClient) RemoveUserGroupCallCount() int

func (*FakePivnetClient) RemoveUserGroupCalls

func (fake *FakePivnetClient) RemoveUserGroupCalls(stub func(string, int, int) error)

func (*FakePivnetClient) RemoveUserGroupReturns

func (fake *FakePivnetClient) RemoveUserGroupReturns(result1 error)

func (*FakePivnetClient) RemoveUserGroupReturnsOnCall

func (fake *FakePivnetClient) RemoveUserGroupReturnsOnCall(i int, result1 error)

func (*FakePivnetClient) UpdateUserGroup

func (fake *FakePivnetClient) UpdateUserGroup(arg1 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) UpdateUserGroupCalls

func (fake *FakePivnetClient) UpdateUserGroupCalls(stub func(pivnet.UserGroup) (pivnet.UserGroup, error))

func (*FakePivnetClient) UpdateUserGroupReturns

func (fake *FakePivnetClient) UpdateUserGroupReturns(result1 pivnet.UserGroup, result2 error)

func (*FakePivnetClient) UpdateUserGroupReturnsOnCall

func (fake *FakePivnetClient) UpdateUserGroupReturnsOnCall(i int, result1 pivnet.UserGroup, result2 error)

func (*FakePivnetClient) UserGroup

func (fake *FakePivnetClient) UserGroup(arg1 int) (pivnet.UserGroup, error)

func (*FakePivnetClient) UserGroupArgsForCall

func (fake *FakePivnetClient) UserGroupArgsForCall(i int) int

func (*FakePivnetClient) UserGroupCallCount

func (fake *FakePivnetClient) UserGroupCallCount() int

func (*FakePivnetClient) UserGroupCalls

func (fake *FakePivnetClient) UserGroupCalls(stub func(int) (pivnet.UserGroup, error))

func (*FakePivnetClient) UserGroupReturns

func (fake *FakePivnetClient) UserGroupReturns(result1 pivnet.UserGroup, result2 error)

func (*FakePivnetClient) UserGroupReturnsOnCall

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

func (fake *FakePivnetClient) UserGroupsCalls(stub func() ([]pivnet.UserGroup, error))

func (*FakePivnetClient) UserGroupsForRelease

func (fake *FakePivnetClient) UserGroupsForRelease(arg1 string, arg2 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) UserGroupsForReleaseCalls

func (fake *FakePivnetClient) UserGroupsForReleaseCalls(stub func(string, int) ([]pivnet.UserGroup, error))

func (*FakePivnetClient) UserGroupsForReleaseReturns

func (fake *FakePivnetClient) UserGroupsForReleaseReturns(result1 []pivnet.UserGroup, result2 error)

func (*FakePivnetClient) UserGroupsForReleaseReturnsOnCall

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

func (fake *FakePivnetClient) UserGroupsReturnsOnCall(i int, result1 []pivnet.UserGroup, result2 error)

Jump to

Keyboard shortcuts

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