Documentation ¶
Overview ¶
Package corev1 is a generated GoMock package.
Index ¶
- type MockConfigMapInterface
- func (m *MockConfigMapInterface) Apply(arg0 context.Context, arg1 *v11.ConfigMapApplyConfiguration, ...) (*v1.ConfigMap, error)
- func (m *MockConfigMapInterface) Create(arg0 context.Context, arg1 *v1.ConfigMap, arg2 v10.CreateOptions) (*v1.ConfigMap, error)
- func (m *MockConfigMapInterface) Delete(arg0 context.Context, arg1 string, arg2 v10.DeleteOptions) error
- func (m *MockConfigMapInterface) DeleteCollection(arg0 context.Context, arg1 v10.DeleteOptions, arg2 v10.ListOptions) error
- func (m *MockConfigMapInterface) EXPECT() *MockConfigMapInterfaceMockRecorder
- func (m *MockConfigMapInterface) Get(arg0 context.Context, arg1 string, arg2 v10.GetOptions) (*v1.ConfigMap, error)
- func (m *MockConfigMapInterface) List(arg0 context.Context, arg1 v10.ListOptions) (*v1.ConfigMapList, error)
- func (m *MockConfigMapInterface) Patch(arg0 context.Context, arg1 string, arg2 types.PatchType, arg3 []byte, ...) (*v1.ConfigMap, error)
- func (m *MockConfigMapInterface) Update(arg0 context.Context, arg1 *v1.ConfigMap, arg2 v10.UpdateOptions) (*v1.ConfigMap, error)
- func (m *MockConfigMapInterface) Watch(arg0 context.Context, arg1 v10.ListOptions) (watch.Interface, error)
- type MockConfigMapInterfaceMockRecorder
- func (mr *MockConfigMapInterfaceMockRecorder) Apply(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockConfigMapInterfaceMockRecorder) Create(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockConfigMapInterfaceMockRecorder) Delete(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockConfigMapInterfaceMockRecorder) DeleteCollection(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockConfigMapInterfaceMockRecorder) Get(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockConfigMapInterfaceMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockConfigMapInterfaceMockRecorder) Patch(arg0, arg1, arg2, arg3, arg4 interface{}, arg5 ...interface{}) *gomock.Call
- func (mr *MockConfigMapInterfaceMockRecorder) Update(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockConfigMapInterfaceMockRecorder) Watch(arg0, arg1 interface{}) *gomock.Call
- 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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockConfigMapInterface ¶
type MockConfigMapInterface struct {
// contains filtered or unexported fields
}
MockConfigMapInterface is a mock of ConfigMapInterface interface.
func NewMockConfigMapInterface ¶
func NewMockConfigMapInterface(ctrl *gomock.Controller) *MockConfigMapInterface
NewMockConfigMapInterface creates a new mock instance.
func (*MockConfigMapInterface) Apply ¶ added in v0.15.0
func (m *MockConfigMapInterface) Apply(arg0 context.Context, arg1 *v11.ConfigMapApplyConfiguration, arg2 v10.ApplyOptions) (*v1.ConfigMap, error)
Apply mocks base method.
func (*MockConfigMapInterface) Create ¶
func (m *MockConfigMapInterface) Create(arg0 context.Context, arg1 *v1.ConfigMap, arg2 v10.CreateOptions) (*v1.ConfigMap, error)
Create mocks base method.
func (*MockConfigMapInterface) Delete ¶
func (m *MockConfigMapInterface) Delete(arg0 context.Context, arg1 string, arg2 v10.DeleteOptions) error
Delete mocks base method.
func (*MockConfigMapInterface) DeleteCollection ¶
func (m *MockConfigMapInterface) DeleteCollection(arg0 context.Context, arg1 v10.DeleteOptions, arg2 v10.ListOptions) error
DeleteCollection mocks base method.
func (*MockConfigMapInterface) EXPECT ¶
func (m *MockConfigMapInterface) EXPECT() *MockConfigMapInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockConfigMapInterface) Get ¶
func (m *MockConfigMapInterface) Get(arg0 context.Context, arg1 string, arg2 v10.GetOptions) (*v1.ConfigMap, error)
Get mocks base method.
func (*MockConfigMapInterface) List ¶
func (m *MockConfigMapInterface) List(arg0 context.Context, arg1 v10.ListOptions) (*v1.ConfigMapList, error)
List mocks base method.
func (*MockConfigMapInterface) Patch ¶
func (m *MockConfigMapInterface) Patch(arg0 context.Context, arg1 string, arg2 types.PatchType, arg3 []byte, arg4 v10.PatchOptions, arg5 ...string) (*v1.ConfigMap, error)
Patch mocks base method.
func (*MockConfigMapInterface) Update ¶
func (m *MockConfigMapInterface) Update(arg0 context.Context, arg1 *v1.ConfigMap, arg2 v10.UpdateOptions) (*v1.ConfigMap, error)
Update mocks base method.
func (*MockConfigMapInterface) Watch ¶
func (m *MockConfigMapInterface) Watch(arg0 context.Context, arg1 v10.ListOptions) (watch.Interface, error)
Watch mocks base method.
type MockConfigMapInterfaceMockRecorder ¶
type MockConfigMapInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockConfigMapInterfaceMockRecorder is the mock recorder for MockConfigMapInterface.
func (*MockConfigMapInterfaceMockRecorder) Apply ¶ added in v0.15.0
func (mr *MockConfigMapInterfaceMockRecorder) Apply(arg0, arg1, arg2 interface{}) *gomock.Call
Apply indicates an expected call of Apply.
func (*MockConfigMapInterfaceMockRecorder) Create ¶
func (mr *MockConfigMapInterfaceMockRecorder) Create(arg0, arg1, arg2 interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockConfigMapInterfaceMockRecorder) Delete ¶
func (mr *MockConfigMapInterfaceMockRecorder) Delete(arg0, arg1, arg2 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockConfigMapInterfaceMockRecorder) DeleteCollection ¶
func (mr *MockConfigMapInterfaceMockRecorder) DeleteCollection(arg0, arg1, arg2 interface{}) *gomock.Call
DeleteCollection indicates an expected call of DeleteCollection.
func (*MockConfigMapInterfaceMockRecorder) Get ¶
func (mr *MockConfigMapInterfaceMockRecorder) Get(arg0, arg1, arg2 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockConfigMapInterfaceMockRecorder) List ¶
func (mr *MockConfigMapInterfaceMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockConfigMapInterfaceMockRecorder) Patch ¶
func (mr *MockConfigMapInterfaceMockRecorder) Patch(arg0, arg1, arg2, arg3, arg4 interface{}, arg5 ...interface{}) *gomock.Call
Patch indicates an expected call of Patch.
func (*MockConfigMapInterfaceMockRecorder) Update ¶
func (mr *MockConfigMapInterfaceMockRecorder) Update(arg0, arg1, arg2 interface{}) *gomock.Call
Update indicates an expected call of Update.
func (*MockConfigMapInterfaceMockRecorder) Watch ¶
func (mr *MockConfigMapInterfaceMockRecorder) Watch(arg0, arg1 interface{}) *gomock.Call
Watch indicates an expected call of Watch.
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.