Documentation ¶
Overview ¶
Package mock_v1sets is a generated GoMock package.
Index ¶
- type MockRoleBindingSet
- func (m *MockRoleBindingSet) Clone() v1sets.RoleBindingSet
- func (m *MockRoleBindingSet) Delete(roleBinding ezkube.ResourceId)
- func (m *MockRoleBindingSet) Delta(newSet v1sets.RoleBindingSet) sets.ResourceDelta
- func (m *MockRoleBindingSet) Difference(set v1sets.RoleBindingSet) v1sets.RoleBindingSet
- func (m *MockRoleBindingSet) EXPECT() *MockRoleBindingSetMockRecorder
- func (m *MockRoleBindingSet) Equal(roleBindingSet v1sets.RoleBindingSet) bool
- func (m *MockRoleBindingSet) Find(id ezkube.ResourceId) (*v1.RoleBinding, error)
- func (m *MockRoleBindingSet) Generic() sets.ResourceSet
- func (m *MockRoleBindingSet) Has(roleBinding ezkube.ResourceId) bool
- func (m *MockRoleBindingSet) Insert(roleBinding ...*v1.RoleBinding)
- func (m *MockRoleBindingSet) Intersection(set v1sets.RoleBindingSet) v1sets.RoleBindingSet
- func (m *MockRoleBindingSet) Keys() sets0.String
- func (m *MockRoleBindingSet) Length() int
- func (m *MockRoleBindingSet) List(filterResource ...func(*v1.RoleBinding) bool) []*v1.RoleBinding
- func (m *MockRoleBindingSet) Map() map[string]*v1.RoleBinding
- func (m *MockRoleBindingSet) Union(set v1sets.RoleBindingSet) v1sets.RoleBindingSet
- func (m *MockRoleBindingSet) UnsortedList(filterResource ...func(*v1.RoleBinding) bool) []*v1.RoleBinding
- type MockRoleBindingSetMockRecorder
- func (mr *MockRoleBindingSetMockRecorder) Clone() *gomock.Call
- func (mr *MockRoleBindingSetMockRecorder) Delete(roleBinding interface{}) *gomock.Call
- func (mr *MockRoleBindingSetMockRecorder) Delta(newSet interface{}) *gomock.Call
- func (mr *MockRoleBindingSetMockRecorder) Difference(set interface{}) *gomock.Call
- func (mr *MockRoleBindingSetMockRecorder) Equal(roleBindingSet interface{}) *gomock.Call
- func (mr *MockRoleBindingSetMockRecorder) Find(id interface{}) *gomock.Call
- func (mr *MockRoleBindingSetMockRecorder) Generic() *gomock.Call
- func (mr *MockRoleBindingSetMockRecorder) Has(roleBinding interface{}) *gomock.Call
- func (mr *MockRoleBindingSetMockRecorder) Insert(roleBinding ...interface{}) *gomock.Call
- func (mr *MockRoleBindingSetMockRecorder) Intersection(set interface{}) *gomock.Call
- func (mr *MockRoleBindingSetMockRecorder) Keys() *gomock.Call
- func (mr *MockRoleBindingSetMockRecorder) Length() *gomock.Call
- func (mr *MockRoleBindingSetMockRecorder) List(filterResource ...interface{}) *gomock.Call
- func (mr *MockRoleBindingSetMockRecorder) Map() *gomock.Call
- func (mr *MockRoleBindingSetMockRecorder) Union(set interface{}) *gomock.Call
- func (mr *MockRoleBindingSetMockRecorder) UnsortedList(filterResource ...interface{}) *gomock.Call
- type MockRoleSet
- func (m *MockRoleSet) Clone() v1sets.RoleSet
- func (m *MockRoleSet) Delete(role ezkube.ResourceId)
- func (m *MockRoleSet) Delta(newSet v1sets.RoleSet) sets.ResourceDelta
- func (m *MockRoleSet) Difference(set v1sets.RoleSet) v1sets.RoleSet
- func (m *MockRoleSet) EXPECT() *MockRoleSetMockRecorder
- func (m *MockRoleSet) Equal(roleSet v1sets.RoleSet) bool
- func (m *MockRoleSet) Find(id ezkube.ResourceId) (*v1.Role, error)
- func (m *MockRoleSet) Generic() sets.ResourceSet
- func (m *MockRoleSet) Has(role ezkube.ResourceId) bool
- func (m *MockRoleSet) Insert(role ...*v1.Role)
- func (m *MockRoleSet) Intersection(set v1sets.RoleSet) v1sets.RoleSet
- func (m *MockRoleSet) Keys() sets0.String
- func (m *MockRoleSet) Length() int
- func (m *MockRoleSet) List(filterResource ...func(*v1.Role) bool) []*v1.Role
- func (m *MockRoleSet) Map() map[string]*v1.Role
- func (m *MockRoleSet) Union(set v1sets.RoleSet) v1sets.RoleSet
- func (m *MockRoleSet) UnsortedList(filterResource ...func(*v1.Role) bool) []*v1.Role
- type MockRoleSetMockRecorder
- func (mr *MockRoleSetMockRecorder) Clone() *gomock.Call
- func (mr *MockRoleSetMockRecorder) Delete(role interface{}) *gomock.Call
- func (mr *MockRoleSetMockRecorder) Delta(newSet interface{}) *gomock.Call
- func (mr *MockRoleSetMockRecorder) Difference(set interface{}) *gomock.Call
- func (mr *MockRoleSetMockRecorder) Equal(roleSet interface{}) *gomock.Call
- func (mr *MockRoleSetMockRecorder) Find(id interface{}) *gomock.Call
- func (mr *MockRoleSetMockRecorder) Generic() *gomock.Call
- func (mr *MockRoleSetMockRecorder) Has(role interface{}) *gomock.Call
- func (mr *MockRoleSetMockRecorder) Insert(role ...interface{}) *gomock.Call
- func (mr *MockRoleSetMockRecorder) Intersection(set interface{}) *gomock.Call
- func (mr *MockRoleSetMockRecorder) Keys() *gomock.Call
- func (mr *MockRoleSetMockRecorder) Length() *gomock.Call
- func (mr *MockRoleSetMockRecorder) List(filterResource ...interface{}) *gomock.Call
- func (mr *MockRoleSetMockRecorder) Map() *gomock.Call
- func (mr *MockRoleSetMockRecorder) Union(set interface{}) *gomock.Call
- func (mr *MockRoleSetMockRecorder) UnsortedList(filterResource ...interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockRoleBindingSet ¶
type MockRoleBindingSet struct {
// contains filtered or unexported fields
}
MockRoleBindingSet is a mock of RoleBindingSet interface.
func NewMockRoleBindingSet ¶
func NewMockRoleBindingSet(ctrl *gomock.Controller) *MockRoleBindingSet
NewMockRoleBindingSet creates a new mock instance.
func (*MockRoleBindingSet) Clone ¶ added in v1.1.0
func (m *MockRoleBindingSet) Clone() v1sets.RoleBindingSet
Clone mocks base method.
func (*MockRoleBindingSet) Delete ¶
func (m *MockRoleBindingSet) Delete(roleBinding ezkube.ResourceId)
Delete mocks base method.
func (*MockRoleBindingSet) Delta ¶
func (m *MockRoleBindingSet) Delta(newSet v1sets.RoleBindingSet) sets.ResourceDelta
Delta mocks base method.
func (*MockRoleBindingSet) Difference ¶
func (m *MockRoleBindingSet) Difference(set v1sets.RoleBindingSet) v1sets.RoleBindingSet
Difference mocks base method.
func (*MockRoleBindingSet) EXPECT ¶
func (m *MockRoleBindingSet) EXPECT() *MockRoleBindingSetMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRoleBindingSet) Equal ¶
func (m *MockRoleBindingSet) Equal(roleBindingSet v1sets.RoleBindingSet) bool
Equal mocks base method.
func (*MockRoleBindingSet) Find ¶
func (m *MockRoleBindingSet) Find(id ezkube.ResourceId) (*v1.RoleBinding, error)
Find mocks base method.
func (*MockRoleBindingSet) Generic ¶
func (m *MockRoleBindingSet) Generic() sets.ResourceSet
Generic mocks base method.
func (*MockRoleBindingSet) Has ¶
func (m *MockRoleBindingSet) Has(roleBinding ezkube.ResourceId) bool
Has mocks base method.
func (*MockRoleBindingSet) Insert ¶
func (m *MockRoleBindingSet) Insert(roleBinding ...*v1.RoleBinding)
Insert mocks base method.
func (*MockRoleBindingSet) Intersection ¶
func (m *MockRoleBindingSet) Intersection(set v1sets.RoleBindingSet) v1sets.RoleBindingSet
Intersection mocks base method.
func (*MockRoleBindingSet) Keys ¶
func (m *MockRoleBindingSet) Keys() sets0.String
Keys mocks base method.
func (*MockRoleBindingSet) Length ¶
func (m *MockRoleBindingSet) Length() int
Length mocks base method.
func (*MockRoleBindingSet) List ¶
func (m *MockRoleBindingSet) List(filterResource ...func(*v1.RoleBinding) bool) []*v1.RoleBinding
List mocks base method.
func (*MockRoleBindingSet) Map ¶
func (m *MockRoleBindingSet) Map() map[string]*v1.RoleBinding
Map mocks base method.
func (*MockRoleBindingSet) Union ¶
func (m *MockRoleBindingSet) Union(set v1sets.RoleBindingSet) v1sets.RoleBindingSet
Union mocks base method.
func (*MockRoleBindingSet) UnsortedList ¶ added in v1.0.4
func (m *MockRoleBindingSet) UnsortedList(filterResource ...func(*v1.RoleBinding) bool) []*v1.RoleBinding
UnsortedList mocks base method.
type MockRoleBindingSetMockRecorder ¶
type MockRoleBindingSetMockRecorder struct {
// contains filtered or unexported fields
}
MockRoleBindingSetMockRecorder is the mock recorder for MockRoleBindingSet.
func (*MockRoleBindingSetMockRecorder) Clone ¶ added in v1.1.0
func (mr *MockRoleBindingSetMockRecorder) Clone() *gomock.Call
Clone indicates an expected call of Clone.
func (*MockRoleBindingSetMockRecorder) Delete ¶
func (mr *MockRoleBindingSetMockRecorder) Delete(roleBinding interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockRoleBindingSetMockRecorder) Delta ¶
func (mr *MockRoleBindingSetMockRecorder) Delta(newSet interface{}) *gomock.Call
Delta indicates an expected call of Delta.
func (*MockRoleBindingSetMockRecorder) Difference ¶
func (mr *MockRoleBindingSetMockRecorder) Difference(set interface{}) *gomock.Call
Difference indicates an expected call of Difference.
func (*MockRoleBindingSetMockRecorder) Equal ¶
func (mr *MockRoleBindingSetMockRecorder) Equal(roleBindingSet interface{}) *gomock.Call
Equal indicates an expected call of Equal.
func (*MockRoleBindingSetMockRecorder) Find ¶
func (mr *MockRoleBindingSetMockRecorder) Find(id interface{}) *gomock.Call
Find indicates an expected call of Find.
func (*MockRoleBindingSetMockRecorder) Generic ¶
func (mr *MockRoleBindingSetMockRecorder) Generic() *gomock.Call
Generic indicates an expected call of Generic.
func (*MockRoleBindingSetMockRecorder) Has ¶
func (mr *MockRoleBindingSetMockRecorder) Has(roleBinding interface{}) *gomock.Call
Has indicates an expected call of Has.
func (*MockRoleBindingSetMockRecorder) Insert ¶
func (mr *MockRoleBindingSetMockRecorder) Insert(roleBinding ...interface{}) *gomock.Call
Insert indicates an expected call of Insert.
func (*MockRoleBindingSetMockRecorder) Intersection ¶
func (mr *MockRoleBindingSetMockRecorder) Intersection(set interface{}) *gomock.Call
Intersection indicates an expected call of Intersection.
func (*MockRoleBindingSetMockRecorder) Keys ¶
func (mr *MockRoleBindingSetMockRecorder) Keys() *gomock.Call
Keys indicates an expected call of Keys.
func (*MockRoleBindingSetMockRecorder) Length ¶
func (mr *MockRoleBindingSetMockRecorder) Length() *gomock.Call
Length indicates an expected call of Length.
func (*MockRoleBindingSetMockRecorder) List ¶
func (mr *MockRoleBindingSetMockRecorder) List(filterResource ...interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockRoleBindingSetMockRecorder) Map ¶
func (mr *MockRoleBindingSetMockRecorder) Map() *gomock.Call
Map indicates an expected call of Map.
func (*MockRoleBindingSetMockRecorder) Union ¶
func (mr *MockRoleBindingSetMockRecorder) Union(set interface{}) *gomock.Call
Union indicates an expected call of Union.
func (*MockRoleBindingSetMockRecorder) UnsortedList ¶ added in v1.0.4
func (mr *MockRoleBindingSetMockRecorder) UnsortedList(filterResource ...interface{}) *gomock.Call
UnsortedList indicates an expected call of UnsortedList.
type MockRoleSet ¶
type MockRoleSet struct {
// contains filtered or unexported fields
}
MockRoleSet is a mock of RoleSet interface.
func NewMockRoleSet ¶
func NewMockRoleSet(ctrl *gomock.Controller) *MockRoleSet
NewMockRoleSet creates a new mock instance.
func (*MockRoleSet) Clone ¶ added in v1.1.0
func (m *MockRoleSet) Clone() v1sets.RoleSet
Clone mocks base method.
func (*MockRoleSet) Delete ¶
func (m *MockRoleSet) Delete(role ezkube.ResourceId)
Delete mocks base method.
func (*MockRoleSet) Delta ¶
func (m *MockRoleSet) Delta(newSet v1sets.RoleSet) sets.ResourceDelta
Delta mocks base method.
func (*MockRoleSet) Difference ¶
func (m *MockRoleSet) Difference(set v1sets.RoleSet) v1sets.RoleSet
Difference mocks base method.
func (*MockRoleSet) EXPECT ¶
func (m *MockRoleSet) EXPECT() *MockRoleSetMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRoleSet) Equal ¶
func (m *MockRoleSet) Equal(roleSet v1sets.RoleSet) bool
Equal mocks base method.
func (*MockRoleSet) Find ¶
func (m *MockRoleSet) Find(id ezkube.ResourceId) (*v1.Role, error)
Find mocks base method.
func (*MockRoleSet) Generic ¶
func (m *MockRoleSet) Generic() sets.ResourceSet
Generic mocks base method.
func (*MockRoleSet) Has ¶
func (m *MockRoleSet) Has(role ezkube.ResourceId) bool
Has mocks base method.
func (*MockRoleSet) Insert ¶
func (m *MockRoleSet) Insert(role ...*v1.Role)
Insert mocks base method.
func (*MockRoleSet) Intersection ¶
func (m *MockRoleSet) Intersection(set v1sets.RoleSet) v1sets.RoleSet
Intersection mocks base method.
func (*MockRoleSet) Union ¶
func (m *MockRoleSet) Union(set v1sets.RoleSet) v1sets.RoleSet
Union mocks base method.
func (*MockRoleSet) UnsortedList ¶ added in v1.0.4
UnsortedList mocks base method.
type MockRoleSetMockRecorder ¶
type MockRoleSetMockRecorder struct {
// contains filtered or unexported fields
}
MockRoleSetMockRecorder is the mock recorder for MockRoleSet.
func (*MockRoleSetMockRecorder) Clone ¶ added in v1.1.0
func (mr *MockRoleSetMockRecorder) Clone() *gomock.Call
Clone indicates an expected call of Clone.
func (*MockRoleSetMockRecorder) Delete ¶
func (mr *MockRoleSetMockRecorder) Delete(role interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockRoleSetMockRecorder) Delta ¶
func (mr *MockRoleSetMockRecorder) Delta(newSet interface{}) *gomock.Call
Delta indicates an expected call of Delta.
func (*MockRoleSetMockRecorder) Difference ¶
func (mr *MockRoleSetMockRecorder) Difference(set interface{}) *gomock.Call
Difference indicates an expected call of Difference.
func (*MockRoleSetMockRecorder) Equal ¶
func (mr *MockRoleSetMockRecorder) Equal(roleSet interface{}) *gomock.Call
Equal indicates an expected call of Equal.
func (*MockRoleSetMockRecorder) Find ¶
func (mr *MockRoleSetMockRecorder) Find(id interface{}) *gomock.Call
Find indicates an expected call of Find.
func (*MockRoleSetMockRecorder) Generic ¶
func (mr *MockRoleSetMockRecorder) Generic() *gomock.Call
Generic indicates an expected call of Generic.
func (*MockRoleSetMockRecorder) Has ¶
func (mr *MockRoleSetMockRecorder) Has(role interface{}) *gomock.Call
Has indicates an expected call of Has.
func (*MockRoleSetMockRecorder) Insert ¶
func (mr *MockRoleSetMockRecorder) Insert(role ...interface{}) *gomock.Call
Insert indicates an expected call of Insert.
func (*MockRoleSetMockRecorder) Intersection ¶
func (mr *MockRoleSetMockRecorder) Intersection(set interface{}) *gomock.Call
Intersection indicates an expected call of Intersection.
func (*MockRoleSetMockRecorder) Keys ¶
func (mr *MockRoleSetMockRecorder) Keys() *gomock.Call
Keys indicates an expected call of Keys.
func (*MockRoleSetMockRecorder) Length ¶
func (mr *MockRoleSetMockRecorder) Length() *gomock.Call
Length indicates an expected call of Length.
func (*MockRoleSetMockRecorder) List ¶
func (mr *MockRoleSetMockRecorder) List(filterResource ...interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockRoleSetMockRecorder) Map ¶
func (mr *MockRoleSetMockRecorder) Map() *gomock.Call
Map indicates an expected call of Map.
func (*MockRoleSetMockRecorder) Union ¶
func (mr *MockRoleSetMockRecorder) Union(set interface{}) *gomock.Call
Union indicates an expected call of Union.
func (*MockRoleSetMockRecorder) UnsortedList ¶ added in v1.0.4
func (mr *MockRoleSetMockRecorder) UnsortedList(filterResource ...interface{}) *gomock.Call
UnsortedList indicates an expected call of UnsortedList.