Documentation ¶
Overview ¶
Package carbon is a generated GoMock package.
Index ¶
- func NewFilteredWorkerNodeInformer(client client.Client, namespace string, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- type MockWorkerNodeInterface
- func (m *MockWorkerNodeInterface) Create(arg0 *spec.WorkerNode) (*spec.WorkerNode, error)
- func (m *MockWorkerNodeInterface) EXPECT() *MockWorkerNodeInterfaceMockRecorder
- func (m *MockWorkerNodeInterface) Get(name string, options v1.GetOptions) (*spec.WorkerNode, error)
- func (m *MockWorkerNodeInterface) List(opts v1.ListOptions) (*spec.WorkerNodeList, error)
- func (m *MockWorkerNodeInterface) Update(arg0 *spec.WorkerNode) (*spec.WorkerNode, error)
- func (m *MockWorkerNodeInterface) Watch(opts v1.ListOptions) (watch.Interface, error)
- type MockWorkerNodeInterfaceMockRecorder
- func (mr *MockWorkerNodeInterfaceMockRecorder) Create(arg0 interface{}) *gomock.Call
- func (mr *MockWorkerNodeInterfaceMockRecorder) Get(name, options interface{}) *gomock.Call
- func (mr *MockWorkerNodeInterfaceMockRecorder) List(opts interface{}) *gomock.Call
- func (mr *MockWorkerNodeInterfaceMockRecorder) Update(arg0 interface{}) *gomock.Call
- func (mr *MockWorkerNodeInterfaceMockRecorder) Watch(opts interface{}) *gomock.Call
- type WorkerNodeInformer
- type WorkerNodeInterface
- type WorkerNodeLister
- type WorkerNodeNamespaceLister
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MockWorkerNodeInterface ¶
type MockWorkerNodeInterface struct {
// contains filtered or unexported fields
}
MockWorkerNodeInterface is a mock of WorkerNodeInterface interface.
func NewMockWorkerNodeInterface ¶
func NewMockWorkerNodeInterface(ctrl *gomock.Controller) *MockWorkerNodeInterface
NewMockWorkerNodeInterface creates a new mock instance.
func (*MockWorkerNodeInterface) Create ¶
func (m *MockWorkerNodeInterface) Create(arg0 *spec.WorkerNode) (*spec.WorkerNode, error)
Create mocks base method.
func (*MockWorkerNodeInterface) EXPECT ¶
func (m *MockWorkerNodeInterface) EXPECT() *MockWorkerNodeInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockWorkerNodeInterface) Get ¶
func (m *MockWorkerNodeInterface) Get(name string, options v1.GetOptions) (*spec.WorkerNode, error)
Get mocks base method.
func (*MockWorkerNodeInterface) List ¶
func (m *MockWorkerNodeInterface) List(opts v1.ListOptions) (*spec.WorkerNodeList, error)
List mocks base method.
func (*MockWorkerNodeInterface) Update ¶
func (m *MockWorkerNodeInterface) Update(arg0 *spec.WorkerNode) (*spec.WorkerNode, error)
Update mocks base method.
func (*MockWorkerNodeInterface) Watch ¶
func (m *MockWorkerNodeInterface) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch mocks base method.
type MockWorkerNodeInterfaceMockRecorder ¶
type MockWorkerNodeInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockWorkerNodeInterfaceMockRecorder is the mock recorder for MockWorkerNodeInterface.
func (*MockWorkerNodeInterfaceMockRecorder) Create ¶
func (mr *MockWorkerNodeInterfaceMockRecorder) Create(arg0 interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockWorkerNodeInterfaceMockRecorder) Get ¶
func (mr *MockWorkerNodeInterfaceMockRecorder) Get(name, options interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockWorkerNodeInterfaceMockRecorder) List ¶
func (mr *MockWorkerNodeInterfaceMockRecorder) List(opts interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockWorkerNodeInterfaceMockRecorder) Update ¶
func (mr *MockWorkerNodeInterfaceMockRecorder) Update(arg0 interface{}) *gomock.Call
Update indicates an expected call of Update.
func (*MockWorkerNodeInterfaceMockRecorder) Watch ¶
func (mr *MockWorkerNodeInterfaceMockRecorder) Watch(opts interface{}) *gomock.Call
Watch indicates an expected call of Watch.
type WorkerNodeInformer ¶
type WorkerNodeInformer interface { Informer() cache.SharedIndexInformer Lister() WorkerNodeLister }
WorkerNodeInformer informer api
func NewWorkerNodeInformer ¶
func NewWorkerNodeInformer(client client.Client, namespace string, resyncPeriod time.Duration) WorkerNodeInformer
NewWorkerNodeInformer create a new WorkerNodeInformer
type WorkerNodeInterface ¶
type WorkerNodeInterface interface { List(opts metav1.ListOptions) (*spec.WorkerNodeList, error) Watch(opts metav1.ListOptions) (watch.Interface, error) Update(*spec.WorkerNode) (*spec.WorkerNode, error) Get(name string, options metav1.GetOptions) (*spec.WorkerNode, error) Create(*spec.WorkerNode) (*spec.WorkerNode, error) }
WorkerNodeInterface sample workerNodeInterface impl.
func NewWorkerNodeInterface ¶
func NewWorkerNodeInterface(client client.Client, namespace string) WorkerNodeInterface
NewWorkerNodeInterface create a workerNodeInterface impl.
type WorkerNodeLister ¶
type WorkerNodeLister interface { // List lists all WorkerNodes in the indexer. List(selector labels.Selector) ([]*spec.WorkerNode, error) // WorkerNodes returns an object that can list and get WorkerNodes. WorkerNodes(namespace string) WorkerNodeNamespaceLister }
WorkerNodeLister lister api
func NewWorkerNodeLister ¶
func NewWorkerNodeLister(indexer cache.Indexer) WorkerNodeLister
NewWorkerNodeLister returns a new WorkerNodeLister.
type WorkerNodeNamespaceLister ¶
type WorkerNodeNamespaceLister interface { // List lists all WorkerNodes in the indexer for a given namespace. List(selector labels.Selector) (ret []*spec.WorkerNode, err error) // Get retrieves the WorkerNode from the indexer for a given namespace and name. Get(name string) (*spec.WorkerNode, error) }
WorkerNodeNamespaceLister helps list and get WorkerNodes.
func NewWorkerNodeNamespaceLister ¶
func NewWorkerNodeNamespaceLister(ns string, indexer cache.Indexer) WorkerNodeNamespaceLister
NewWorkerNodeNamespaceLister create a lister.