Documentation ¶
Index ¶
- type MockRoleTemplateCache
- func (mc *MockRoleTemplateCache) Add(template *v3.RoleTemplate)
- func (mc *MockRoleTemplateCache) AddErr(calls int, err error)
- func (mc *MockRoleTemplateCache) AddIndexer(indexName string, indexer controllerv3.RoleTemplateIndexer)
- func (mc *MockRoleTemplateCache) Get(name string) (*v3.RoleTemplate, error)
- func (mc *MockRoleTemplateCache) GetByIndex(indexName, key string) ([]*v3.RoleTemplate, error)
- func (mc *MockRoleTemplateCache) List(selector labels.Selector) ([]*v3.RoleTemplate, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockRoleTemplateCache ¶
type MockRoleTemplateCache struct {
// contains filtered or unexported fields
}
func NewMockRoleTemplateCache ¶
func NewMockRoleTemplateCache() *MockRoleTemplateCache
func (*MockRoleTemplateCache) Add ¶
func (mc *MockRoleTemplateCache) Add(template *v3.RoleTemplate)
func (*MockRoleTemplateCache) AddErr ¶
func (mc *MockRoleTemplateCache) AddErr(calls int, err error)
func (*MockRoleTemplateCache) AddIndexer ¶
func (mc *MockRoleTemplateCache) AddIndexer(indexName string, indexer controllerv3.RoleTemplateIndexer)
func (*MockRoleTemplateCache) Get ¶
func (mc *MockRoleTemplateCache) Get(name string) (*v3.RoleTemplate, error)
func (*MockRoleTemplateCache) GetByIndex ¶
func (mc *MockRoleTemplateCache) GetByIndex(indexName, key string) ([]*v3.RoleTemplate, error)
func (*MockRoleTemplateCache) List ¶
func (mc *MockRoleTemplateCache) List(selector labels.Selector) ([]*v3.RoleTemplate, error)
Click to show internal directories.
Click to hide internal directories.