Documentation ¶
Overview ¶
Package corev1 is a generated GoMock package.
Index ¶
- type MockCoreV1Interface
- func (m *MockCoreV1Interface) ComponentStatuses() v12.ComponentStatusInterface
- func (m *MockCoreV1Interface) ConfigMaps(arg0 string) v12.ConfigMapInterface
- func (m *MockCoreV1Interface) EXPECT() *MockCoreV1InterfaceMockRecorder
- func (m *MockCoreV1Interface) Endpoints(arg0 string) v12.EndpointsInterface
- func (m *MockCoreV1Interface) Events(arg0 string) v12.EventInterface
- func (m *MockCoreV1Interface) LimitRanges(arg0 string) v12.LimitRangeInterface
- func (m *MockCoreV1Interface) Namespaces() v12.NamespaceInterface
- func (m *MockCoreV1Interface) Nodes() v12.NodeInterface
- func (m *MockCoreV1Interface) PersistentVolumeClaims(arg0 string) v12.PersistentVolumeClaimInterface
- func (m *MockCoreV1Interface) PersistentVolumes() v12.PersistentVolumeInterface
- func (m *MockCoreV1Interface) PodTemplates(arg0 string) v12.PodTemplateInterface
- func (m *MockCoreV1Interface) Pods(arg0 string) v12.PodInterface
- func (m *MockCoreV1Interface) RESTClient() rest.Interface
- func (m *MockCoreV1Interface) ReplicationControllers(arg0 string) v12.ReplicationControllerInterface
- func (m *MockCoreV1Interface) ResourceQuotas(arg0 string) v12.ResourceQuotaInterface
- func (m *MockCoreV1Interface) Secrets(arg0 string) v12.SecretInterface
- func (m *MockCoreV1Interface) ServiceAccounts(arg0 string) v12.ServiceAccountInterface
- func (m *MockCoreV1Interface) Services(arg0 string) v12.ServiceInterface
- type MockCoreV1InterfaceMockRecorder
- func (mr *MockCoreV1InterfaceMockRecorder) ComponentStatuses() *gomock.Call
- func (mr *MockCoreV1InterfaceMockRecorder) ConfigMaps(arg0 interface{}) *gomock.Call
- func (mr *MockCoreV1InterfaceMockRecorder) Endpoints(arg0 interface{}) *gomock.Call
- func (mr *MockCoreV1InterfaceMockRecorder) Events(arg0 interface{}) *gomock.Call
- func (mr *MockCoreV1InterfaceMockRecorder) LimitRanges(arg0 interface{}) *gomock.Call
- func (mr *MockCoreV1InterfaceMockRecorder) Namespaces() *gomock.Call
- func (mr *MockCoreV1InterfaceMockRecorder) Nodes() *gomock.Call
- func (mr *MockCoreV1InterfaceMockRecorder) PersistentVolumeClaims(arg0 interface{}) *gomock.Call
- func (mr *MockCoreV1InterfaceMockRecorder) PersistentVolumes() *gomock.Call
- func (mr *MockCoreV1InterfaceMockRecorder) PodTemplates(arg0 interface{}) *gomock.Call
- func (mr *MockCoreV1InterfaceMockRecorder) Pods(arg0 interface{}) *gomock.Call
- func (mr *MockCoreV1InterfaceMockRecorder) RESTClient() *gomock.Call
- func (mr *MockCoreV1InterfaceMockRecorder) ReplicationControllers(arg0 interface{}) *gomock.Call
- func (mr *MockCoreV1InterfaceMockRecorder) ResourceQuotas(arg0 interface{}) *gomock.Call
- func (mr *MockCoreV1InterfaceMockRecorder) Secrets(arg0 interface{}) *gomock.Call
- func (mr *MockCoreV1InterfaceMockRecorder) ServiceAccounts(arg0 interface{}) *gomock.Call
- func (mr *MockCoreV1InterfaceMockRecorder) Services(arg0 interface{}) *gomock.Call
- type MockNodeInterface
- func (m *MockNodeInterface) Apply(arg0 context.Context, arg1 *v11.NodeApplyConfiguration, arg2 v10.ApplyOptions) (*v1.Node, error)
- func (m *MockNodeInterface) ApplyStatus(arg0 context.Context, arg1 *v11.NodeApplyConfiguration, arg2 v10.ApplyOptions) (*v1.Node, error)
- func (m *MockNodeInterface) Create(arg0 context.Context, arg1 *v1.Node, arg2 v10.CreateOptions) (*v1.Node, error)
- func (m *MockNodeInterface) Delete(arg0 context.Context, arg1 string, arg2 v10.DeleteOptions) error
- func (m *MockNodeInterface) DeleteCollection(arg0 context.Context, arg1 v10.DeleteOptions, arg2 v10.ListOptions) error
- func (m *MockNodeInterface) EXPECT() *MockNodeInterfaceMockRecorder
- func (m *MockNodeInterface) Get(arg0 context.Context, arg1 string, arg2 v10.GetOptions) (*v1.Node, error)
- func (m *MockNodeInterface) List(arg0 context.Context, arg1 v10.ListOptions) (*v1.NodeList, error)
- func (m *MockNodeInterface) Patch(arg0 context.Context, arg1 string, arg2 types.PatchType, arg3 []byte, ...) (*v1.Node, error)
- func (m *MockNodeInterface) PatchStatus(arg0 context.Context, arg1 string, arg2 []byte) (*v1.Node, error)
- func (m *MockNodeInterface) Update(arg0 context.Context, arg1 *v1.Node, arg2 v10.UpdateOptions) (*v1.Node, error)
- func (m *MockNodeInterface) UpdateStatus(arg0 context.Context, arg1 *v1.Node, arg2 v10.UpdateOptions) (*v1.Node, error)
- func (m *MockNodeInterface) Watch(arg0 context.Context, arg1 v10.ListOptions) (watch.Interface, error)
- type MockNodeInterfaceMockRecorder
- func (mr *MockNodeInterfaceMockRecorder) Apply(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockNodeInterfaceMockRecorder) ApplyStatus(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockNodeInterfaceMockRecorder) Create(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockNodeInterfaceMockRecorder) Delete(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockNodeInterfaceMockRecorder) DeleteCollection(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockNodeInterfaceMockRecorder) Get(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockNodeInterfaceMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockNodeInterfaceMockRecorder) Patch(arg0, arg1, arg2, arg3, arg4 interface{}, arg5 ...interface{}) *gomock.Call
- func (mr *MockNodeInterfaceMockRecorder) PatchStatus(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockNodeInterfaceMockRecorder) Update(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockNodeInterfaceMockRecorder) UpdateStatus(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockNodeInterfaceMockRecorder) Watch(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCoreV1Interface ¶
type MockCoreV1Interface struct {
// contains filtered or unexported fields
}
MockCoreV1Interface is a mock of CoreV1Interface interface.
func NewMockCoreV1Interface ¶
func NewMockCoreV1Interface(ctrl *gomock.Controller) *MockCoreV1Interface
NewMockCoreV1Interface creates a new mock instance.
func (*MockCoreV1Interface) ComponentStatuses ¶
func (m *MockCoreV1Interface) ComponentStatuses() v12.ComponentStatusInterface
ComponentStatuses mocks base method.
func (*MockCoreV1Interface) ConfigMaps ¶
func (m *MockCoreV1Interface) ConfigMaps(arg0 string) v12.ConfigMapInterface
ConfigMaps mocks base method.
func (*MockCoreV1Interface) EXPECT ¶
func (m *MockCoreV1Interface) EXPECT() *MockCoreV1InterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCoreV1Interface) Endpoints ¶
func (m *MockCoreV1Interface) Endpoints(arg0 string) v12.EndpointsInterface
Endpoints mocks base method.
func (*MockCoreV1Interface) Events ¶
func (m *MockCoreV1Interface) Events(arg0 string) v12.EventInterface
Events mocks base method.
func (*MockCoreV1Interface) LimitRanges ¶
func (m *MockCoreV1Interface) LimitRanges(arg0 string) v12.LimitRangeInterface
LimitRanges mocks base method.
func (*MockCoreV1Interface) Namespaces ¶
func (m *MockCoreV1Interface) Namespaces() v12.NamespaceInterface
Namespaces mocks base method.
func (*MockCoreV1Interface) Nodes ¶
func (m *MockCoreV1Interface) Nodes() v12.NodeInterface
Nodes mocks base method.
func (*MockCoreV1Interface) PersistentVolumeClaims ¶
func (m *MockCoreV1Interface) PersistentVolumeClaims(arg0 string) v12.PersistentVolumeClaimInterface
PersistentVolumeClaims mocks base method.
func (*MockCoreV1Interface) PersistentVolumes ¶
func (m *MockCoreV1Interface) PersistentVolumes() v12.PersistentVolumeInterface
PersistentVolumes mocks base method.
func (*MockCoreV1Interface) PodTemplates ¶
func (m *MockCoreV1Interface) PodTemplates(arg0 string) v12.PodTemplateInterface
PodTemplates mocks base method.
func (*MockCoreV1Interface) Pods ¶
func (m *MockCoreV1Interface) Pods(arg0 string) v12.PodInterface
Pods mocks base method.
func (*MockCoreV1Interface) RESTClient ¶
func (m *MockCoreV1Interface) RESTClient() rest.Interface
RESTClient mocks base method.
func (*MockCoreV1Interface) ReplicationControllers ¶
func (m *MockCoreV1Interface) ReplicationControllers(arg0 string) v12.ReplicationControllerInterface
ReplicationControllers mocks base method.
func (*MockCoreV1Interface) ResourceQuotas ¶
func (m *MockCoreV1Interface) ResourceQuotas(arg0 string) v12.ResourceQuotaInterface
ResourceQuotas mocks base method.
func (*MockCoreV1Interface) Secrets ¶
func (m *MockCoreV1Interface) Secrets(arg0 string) v12.SecretInterface
Secrets mocks base method.
func (*MockCoreV1Interface) ServiceAccounts ¶
func (m *MockCoreV1Interface) ServiceAccounts(arg0 string) v12.ServiceAccountInterface
ServiceAccounts mocks base method.
func (*MockCoreV1Interface) Services ¶
func (m *MockCoreV1Interface) Services(arg0 string) v12.ServiceInterface
Services mocks base method.
type MockCoreV1InterfaceMockRecorder ¶
type MockCoreV1InterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockCoreV1InterfaceMockRecorder is the mock recorder for MockCoreV1Interface.
func (*MockCoreV1InterfaceMockRecorder) ComponentStatuses ¶
func (mr *MockCoreV1InterfaceMockRecorder) ComponentStatuses() *gomock.Call
ComponentStatuses indicates an expected call of ComponentStatuses.
func (*MockCoreV1InterfaceMockRecorder) ConfigMaps ¶
func (mr *MockCoreV1InterfaceMockRecorder) ConfigMaps(arg0 interface{}) *gomock.Call
ConfigMaps indicates an expected call of ConfigMaps.
func (*MockCoreV1InterfaceMockRecorder) Endpoints ¶
func (mr *MockCoreV1InterfaceMockRecorder) Endpoints(arg0 interface{}) *gomock.Call
Endpoints indicates an expected call of Endpoints.
func (*MockCoreV1InterfaceMockRecorder) Events ¶
func (mr *MockCoreV1InterfaceMockRecorder) Events(arg0 interface{}) *gomock.Call
Events indicates an expected call of Events.
func (*MockCoreV1InterfaceMockRecorder) LimitRanges ¶
func (mr *MockCoreV1InterfaceMockRecorder) LimitRanges(arg0 interface{}) *gomock.Call
LimitRanges indicates an expected call of LimitRanges.
func (*MockCoreV1InterfaceMockRecorder) Namespaces ¶
func (mr *MockCoreV1InterfaceMockRecorder) Namespaces() *gomock.Call
Namespaces indicates an expected call of Namespaces.
func (*MockCoreV1InterfaceMockRecorder) Nodes ¶
func (mr *MockCoreV1InterfaceMockRecorder) Nodes() *gomock.Call
Nodes indicates an expected call of Nodes.
func (*MockCoreV1InterfaceMockRecorder) PersistentVolumeClaims ¶
func (mr *MockCoreV1InterfaceMockRecorder) PersistentVolumeClaims(arg0 interface{}) *gomock.Call
PersistentVolumeClaims indicates an expected call of PersistentVolumeClaims.
func (*MockCoreV1InterfaceMockRecorder) PersistentVolumes ¶
func (mr *MockCoreV1InterfaceMockRecorder) PersistentVolumes() *gomock.Call
PersistentVolumes indicates an expected call of PersistentVolumes.
func (*MockCoreV1InterfaceMockRecorder) PodTemplates ¶
func (mr *MockCoreV1InterfaceMockRecorder) PodTemplates(arg0 interface{}) *gomock.Call
PodTemplates indicates an expected call of PodTemplates.
func (*MockCoreV1InterfaceMockRecorder) Pods ¶
func (mr *MockCoreV1InterfaceMockRecorder) Pods(arg0 interface{}) *gomock.Call
Pods indicates an expected call of Pods.
func (*MockCoreV1InterfaceMockRecorder) RESTClient ¶
func (mr *MockCoreV1InterfaceMockRecorder) RESTClient() *gomock.Call
RESTClient indicates an expected call of RESTClient.
func (*MockCoreV1InterfaceMockRecorder) ReplicationControllers ¶
func (mr *MockCoreV1InterfaceMockRecorder) ReplicationControllers(arg0 interface{}) *gomock.Call
ReplicationControllers indicates an expected call of ReplicationControllers.
func (*MockCoreV1InterfaceMockRecorder) ResourceQuotas ¶
func (mr *MockCoreV1InterfaceMockRecorder) ResourceQuotas(arg0 interface{}) *gomock.Call
ResourceQuotas indicates an expected call of ResourceQuotas.
func (*MockCoreV1InterfaceMockRecorder) Secrets ¶
func (mr *MockCoreV1InterfaceMockRecorder) Secrets(arg0 interface{}) *gomock.Call
Secrets indicates an expected call of Secrets.
func (*MockCoreV1InterfaceMockRecorder) ServiceAccounts ¶
func (mr *MockCoreV1InterfaceMockRecorder) ServiceAccounts(arg0 interface{}) *gomock.Call
ServiceAccounts indicates an expected call of ServiceAccounts.
func (*MockCoreV1InterfaceMockRecorder) Services ¶
func (mr *MockCoreV1InterfaceMockRecorder) Services(arg0 interface{}) *gomock.Call
Services indicates an expected call of Services.
type MockNodeInterface ¶
type MockNodeInterface struct {
// contains filtered or unexported fields
}
MockNodeInterface is a mock of NodeInterface interface.
func NewMockNodeInterface ¶
func NewMockNodeInterface(ctrl *gomock.Controller) *MockNodeInterface
NewMockNodeInterface creates a new mock instance.
func (*MockNodeInterface) Apply ¶
func (m *MockNodeInterface) Apply(arg0 context.Context, arg1 *v11.NodeApplyConfiguration, arg2 v10.ApplyOptions) (*v1.Node, error)
Apply mocks base method.
func (*MockNodeInterface) ApplyStatus ¶
func (m *MockNodeInterface) ApplyStatus(arg0 context.Context, arg1 *v11.NodeApplyConfiguration, arg2 v10.ApplyOptions) (*v1.Node, error)
ApplyStatus mocks base method.
func (*MockNodeInterface) Create ¶
func (m *MockNodeInterface) Create(arg0 context.Context, arg1 *v1.Node, arg2 v10.CreateOptions) (*v1.Node, error)
Create mocks base method.
func (*MockNodeInterface) Delete ¶
func (m *MockNodeInterface) Delete(arg0 context.Context, arg1 string, arg2 v10.DeleteOptions) error
Delete mocks base method.
func (*MockNodeInterface) DeleteCollection ¶
func (m *MockNodeInterface) DeleteCollection(arg0 context.Context, arg1 v10.DeleteOptions, arg2 v10.ListOptions) error
DeleteCollection mocks base method.
func (*MockNodeInterface) EXPECT ¶
func (m *MockNodeInterface) EXPECT() *MockNodeInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockNodeInterface) Get ¶
func (m *MockNodeInterface) Get(arg0 context.Context, arg1 string, arg2 v10.GetOptions) (*v1.Node, error)
Get mocks base method.
func (*MockNodeInterface) List ¶
func (m *MockNodeInterface) List(arg0 context.Context, arg1 v10.ListOptions) (*v1.NodeList, error)
List mocks base method.
func (*MockNodeInterface) Patch ¶
func (m *MockNodeInterface) Patch(arg0 context.Context, arg1 string, arg2 types.PatchType, arg3 []byte, arg4 v10.PatchOptions, arg5 ...string) (*v1.Node, error)
Patch mocks base method.
func (*MockNodeInterface) PatchStatus ¶
func (m *MockNodeInterface) PatchStatus(arg0 context.Context, arg1 string, arg2 []byte) (*v1.Node, error)
PatchStatus mocks base method.
func (*MockNodeInterface) Update ¶
func (m *MockNodeInterface) Update(arg0 context.Context, arg1 *v1.Node, arg2 v10.UpdateOptions) (*v1.Node, error)
Update mocks base method.
func (*MockNodeInterface) UpdateStatus ¶
func (m *MockNodeInterface) UpdateStatus(arg0 context.Context, arg1 *v1.Node, arg2 v10.UpdateOptions) (*v1.Node, error)
UpdateStatus mocks base method.
func (*MockNodeInterface) Watch ¶
func (m *MockNodeInterface) Watch(arg0 context.Context, arg1 v10.ListOptions) (watch.Interface, error)
Watch mocks base method.
type MockNodeInterfaceMockRecorder ¶
type MockNodeInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockNodeInterfaceMockRecorder is the mock recorder for MockNodeInterface.
func (*MockNodeInterfaceMockRecorder) Apply ¶
func (mr *MockNodeInterfaceMockRecorder) Apply(arg0, arg1, arg2 interface{}) *gomock.Call
Apply indicates an expected call of Apply.
func (*MockNodeInterfaceMockRecorder) ApplyStatus ¶
func (mr *MockNodeInterfaceMockRecorder) ApplyStatus(arg0, arg1, arg2 interface{}) *gomock.Call
ApplyStatus indicates an expected call of ApplyStatus.
func (*MockNodeInterfaceMockRecorder) Create ¶
func (mr *MockNodeInterfaceMockRecorder) Create(arg0, arg1, arg2 interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockNodeInterfaceMockRecorder) Delete ¶
func (mr *MockNodeInterfaceMockRecorder) Delete(arg0, arg1, arg2 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockNodeInterfaceMockRecorder) DeleteCollection ¶
func (mr *MockNodeInterfaceMockRecorder) DeleteCollection(arg0, arg1, arg2 interface{}) *gomock.Call
DeleteCollection indicates an expected call of DeleteCollection.
func (*MockNodeInterfaceMockRecorder) Get ¶
func (mr *MockNodeInterfaceMockRecorder) Get(arg0, arg1, arg2 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockNodeInterfaceMockRecorder) List ¶
func (mr *MockNodeInterfaceMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockNodeInterfaceMockRecorder) Patch ¶
func (mr *MockNodeInterfaceMockRecorder) Patch(arg0, arg1, arg2, arg3, arg4 interface{}, arg5 ...interface{}) *gomock.Call
Patch indicates an expected call of Patch.
func (*MockNodeInterfaceMockRecorder) PatchStatus ¶
func (mr *MockNodeInterfaceMockRecorder) PatchStatus(arg0, arg1, arg2 interface{}) *gomock.Call
PatchStatus indicates an expected call of PatchStatus.
func (*MockNodeInterfaceMockRecorder) Update ¶
func (mr *MockNodeInterfaceMockRecorder) Update(arg0, arg1, arg2 interface{}) *gomock.Call
Update indicates an expected call of Update.
func (*MockNodeInterfaceMockRecorder) UpdateStatus ¶
func (mr *MockNodeInterfaceMockRecorder) UpdateStatus(arg0, arg1, arg2 interface{}) *gomock.Call
UpdateStatus indicates an expected call of UpdateStatus.
func (*MockNodeInterfaceMockRecorder) Watch ¶
func (mr *MockNodeInterfaceMockRecorder) Watch(arg0, arg1 interface{}) *gomock.Call
Watch indicates an expected call of Watch.