Documentation ¶
Overview ¶
Package mock_client is a generated GoMock package.
Index ¶
- type MockObject
- func (m *MockObject) DeepCopyObject() runtime.Object
- func (m *MockObject) EXPECT() *MockObjectMockRecorder
- func (m *MockObject) GetAnnotations() map[string]string
- func (m *MockObject) GetClusterName() string
- func (m *MockObject) GetCreationTimestamp() v1.Time
- func (m *MockObject) GetDeletionGracePeriodSeconds() *int64
- func (m *MockObject) GetDeletionTimestamp() *v1.Time
- func (m *MockObject) GetFinalizers() []string
- func (m *MockObject) GetGenerateName() string
- func (m *MockObject) GetGeneration() int64
- func (m *MockObject) GetLabels() map[string]string
- func (m *MockObject) GetManagedFields() []v1.ManagedFieldsEntry
- func (m *MockObject) GetName() string
- func (m *MockObject) GetNamespace() string
- func (m *MockObject) GetObjectKind() schema.ObjectKind
- func (m *MockObject) GetOwnerReferences() []v1.OwnerReference
- func (m *MockObject) GetResourceVersion() string
- func (m *MockObject) GetSelfLink() string
- func (m *MockObject) GetUID() types.UID
- func (m *MockObject) SetAnnotations(annotations map[string]string)
- func (m *MockObject) SetClusterName(clusterName string)
- func (m *MockObject) SetCreationTimestamp(timestamp v1.Time)
- func (m *MockObject) SetDeletionGracePeriodSeconds(arg0 *int64)
- func (m *MockObject) SetDeletionTimestamp(timestamp *v1.Time)
- func (m *MockObject) SetFinalizers(finalizers []string)
- func (m *MockObject) SetGenerateName(name string)
- func (m *MockObject) SetGeneration(generation int64)
- func (m *MockObject) SetLabels(labels map[string]string)
- func (m *MockObject) SetManagedFields(managedFields []v1.ManagedFieldsEntry)
- func (m *MockObject) SetName(name string)
- func (m *MockObject) SetNamespace(namespace string)
- func (m *MockObject) SetOwnerReferences(arg0 []v1.OwnerReference)
- func (m *MockObject) SetResourceVersion(version string)
- func (m *MockObject) SetSelfLink(selfLink string)
- func (m *MockObject) SetUID(uid types.UID)
- type MockObjectList
- func (m *MockObjectList) DeepCopyObject() runtime.Object
- func (m *MockObjectList) EXPECT() *MockObjectListMockRecorder
- func (m *MockObjectList) GetContinue() string
- func (m *MockObjectList) GetObjectKind() schema.ObjectKind
- func (m *MockObjectList) GetRemainingItemCount() *int64
- func (m *MockObjectList) GetResourceVersion() string
- func (m *MockObjectList) GetSelfLink() string
- func (m *MockObjectList) SetContinue(c string)
- func (m *MockObjectList) SetRemainingItemCount(c *int64)
- func (m *MockObjectList) SetResourceVersion(version string)
- func (m *MockObjectList) SetSelfLink(selfLink string)
- type MockObjectListMockRecorder
- func (mr *MockObjectListMockRecorder) DeepCopyObject() *gomock.Call
- func (mr *MockObjectListMockRecorder) GetContinue() *gomock.Call
- func (mr *MockObjectListMockRecorder) GetObjectKind() *gomock.Call
- func (mr *MockObjectListMockRecorder) GetRemainingItemCount() *gomock.Call
- func (mr *MockObjectListMockRecorder) GetResourceVersion() *gomock.Call
- func (mr *MockObjectListMockRecorder) GetSelfLink() *gomock.Call
- func (mr *MockObjectListMockRecorder) SetContinue(c interface{}) *gomock.Call
- func (mr *MockObjectListMockRecorder) SetRemainingItemCount(c interface{}) *gomock.Call
- func (mr *MockObjectListMockRecorder) SetResourceVersion(version interface{}) *gomock.Call
- func (mr *MockObjectListMockRecorder) SetSelfLink(selfLink interface{}) *gomock.Call
- type MockObjectMockRecorder
- func (mr *MockObjectMockRecorder) DeepCopyObject() *gomock.Call
- func (mr *MockObjectMockRecorder) GetAnnotations() *gomock.Call
- func (mr *MockObjectMockRecorder) GetClusterName() *gomock.Call
- func (mr *MockObjectMockRecorder) GetCreationTimestamp() *gomock.Call
- func (mr *MockObjectMockRecorder) GetDeletionGracePeriodSeconds() *gomock.Call
- func (mr *MockObjectMockRecorder) GetDeletionTimestamp() *gomock.Call
- func (mr *MockObjectMockRecorder) GetFinalizers() *gomock.Call
- func (mr *MockObjectMockRecorder) GetGenerateName() *gomock.Call
- func (mr *MockObjectMockRecorder) GetGeneration() *gomock.Call
- func (mr *MockObjectMockRecorder) GetLabels() *gomock.Call
- func (mr *MockObjectMockRecorder) GetManagedFields() *gomock.Call
- func (mr *MockObjectMockRecorder) GetName() *gomock.Call
- func (mr *MockObjectMockRecorder) GetNamespace() *gomock.Call
- func (mr *MockObjectMockRecorder) GetObjectKind() *gomock.Call
- func (mr *MockObjectMockRecorder) GetOwnerReferences() *gomock.Call
- func (mr *MockObjectMockRecorder) GetResourceVersion() *gomock.Call
- func (mr *MockObjectMockRecorder) GetSelfLink() *gomock.Call
- func (mr *MockObjectMockRecorder) GetUID() *gomock.Call
- func (mr *MockObjectMockRecorder) SetAnnotations(annotations interface{}) *gomock.Call
- func (mr *MockObjectMockRecorder) SetClusterName(clusterName interface{}) *gomock.Call
- func (mr *MockObjectMockRecorder) SetCreationTimestamp(timestamp interface{}) *gomock.Call
- func (mr *MockObjectMockRecorder) SetDeletionGracePeriodSeconds(arg0 interface{}) *gomock.Call
- func (mr *MockObjectMockRecorder) SetDeletionTimestamp(timestamp interface{}) *gomock.Call
- func (mr *MockObjectMockRecorder) SetFinalizers(finalizers interface{}) *gomock.Call
- func (mr *MockObjectMockRecorder) SetGenerateName(name interface{}) *gomock.Call
- func (mr *MockObjectMockRecorder) SetGeneration(generation interface{}) *gomock.Call
- func (mr *MockObjectMockRecorder) SetLabels(labels interface{}) *gomock.Call
- func (mr *MockObjectMockRecorder) SetManagedFields(managedFields interface{}) *gomock.Call
- func (mr *MockObjectMockRecorder) SetName(name interface{}) *gomock.Call
- func (mr *MockObjectMockRecorder) SetNamespace(namespace interface{}) *gomock.Call
- func (mr *MockObjectMockRecorder) SetOwnerReferences(arg0 interface{}) *gomock.Call
- func (mr *MockObjectMockRecorder) SetResourceVersion(version interface{}) *gomock.Call
- func (mr *MockObjectMockRecorder) SetSelfLink(selfLink interface{}) *gomock.Call
- func (mr *MockObjectMockRecorder) SetUID(uid interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockObject ¶
type MockObject struct {
// contains filtered or unexported fields
}
MockObject is a mock of Object interface.
func NewMockObject ¶
func NewMockObject(ctrl *gomock.Controller) *MockObject
NewMockObject creates a new mock instance.
func (*MockObject) DeepCopyObject ¶
func (m *MockObject) DeepCopyObject() runtime.Object
DeepCopyObject mocks base method.
func (*MockObject) EXPECT ¶
func (m *MockObject) EXPECT() *MockObjectMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockObject) GetAnnotations ¶
func (m *MockObject) GetAnnotations() map[string]string
GetAnnotations mocks base method.
func (*MockObject) GetClusterName ¶
func (m *MockObject) GetClusterName() string
GetClusterName mocks base method.
func (*MockObject) GetCreationTimestamp ¶
func (m *MockObject) GetCreationTimestamp() v1.Time
GetCreationTimestamp mocks base method.
func (*MockObject) GetDeletionGracePeriodSeconds ¶
func (m *MockObject) GetDeletionGracePeriodSeconds() *int64
GetDeletionGracePeriodSeconds mocks base method.
func (*MockObject) GetDeletionTimestamp ¶
func (m *MockObject) GetDeletionTimestamp() *v1.Time
GetDeletionTimestamp mocks base method.
func (*MockObject) GetFinalizers ¶
func (m *MockObject) GetFinalizers() []string
GetFinalizers mocks base method.
func (*MockObject) GetGenerateName ¶
func (m *MockObject) GetGenerateName() string
GetGenerateName mocks base method.
func (*MockObject) GetGeneration ¶
func (m *MockObject) GetGeneration() int64
GetGeneration mocks base method.
func (*MockObject) GetLabels ¶
func (m *MockObject) GetLabels() map[string]string
GetLabels mocks base method.
func (*MockObject) GetManagedFields ¶
func (m *MockObject) GetManagedFields() []v1.ManagedFieldsEntry
GetManagedFields mocks base method.
func (*MockObject) GetNamespace ¶
func (m *MockObject) GetNamespace() string
GetNamespace mocks base method.
func (*MockObject) GetObjectKind ¶
func (m *MockObject) GetObjectKind() schema.ObjectKind
GetObjectKind mocks base method.
func (*MockObject) GetOwnerReferences ¶
func (m *MockObject) GetOwnerReferences() []v1.OwnerReference
GetOwnerReferences mocks base method.
func (*MockObject) GetResourceVersion ¶
func (m *MockObject) GetResourceVersion() string
GetResourceVersion mocks base method.
func (*MockObject) GetSelfLink ¶
func (m *MockObject) GetSelfLink() string
GetSelfLink mocks base method.
func (*MockObject) SetAnnotations ¶
func (m *MockObject) SetAnnotations(annotations map[string]string)
SetAnnotations mocks base method.
func (*MockObject) SetClusterName ¶
func (m *MockObject) SetClusterName(clusterName string)
SetClusterName mocks base method.
func (*MockObject) SetCreationTimestamp ¶
func (m *MockObject) SetCreationTimestamp(timestamp v1.Time)
SetCreationTimestamp mocks base method.
func (*MockObject) SetDeletionGracePeriodSeconds ¶
func (m *MockObject) SetDeletionGracePeriodSeconds(arg0 *int64)
SetDeletionGracePeriodSeconds mocks base method.
func (*MockObject) SetDeletionTimestamp ¶
func (m *MockObject) SetDeletionTimestamp(timestamp *v1.Time)
SetDeletionTimestamp mocks base method.
func (*MockObject) SetFinalizers ¶
func (m *MockObject) SetFinalizers(finalizers []string)
SetFinalizers mocks base method.
func (*MockObject) SetGenerateName ¶
func (m *MockObject) SetGenerateName(name string)
SetGenerateName mocks base method.
func (*MockObject) SetGeneration ¶
func (m *MockObject) SetGeneration(generation int64)
SetGeneration mocks base method.
func (*MockObject) SetLabels ¶
func (m *MockObject) SetLabels(labels map[string]string)
SetLabels mocks base method.
func (*MockObject) SetManagedFields ¶
func (m *MockObject) SetManagedFields(managedFields []v1.ManagedFieldsEntry)
SetManagedFields mocks base method.
func (*MockObject) SetNamespace ¶
func (m *MockObject) SetNamespace(namespace string)
SetNamespace mocks base method.
func (*MockObject) SetOwnerReferences ¶
func (m *MockObject) SetOwnerReferences(arg0 []v1.OwnerReference)
SetOwnerReferences mocks base method.
func (*MockObject) SetResourceVersion ¶
func (m *MockObject) SetResourceVersion(version string)
SetResourceVersion mocks base method.
func (*MockObject) SetSelfLink ¶
func (m *MockObject) SetSelfLink(selfLink string)
SetSelfLink mocks base method.
type MockObjectList ¶
type MockObjectList struct {
// contains filtered or unexported fields
}
MockObjectList is a mock of ObjectList interface.
func NewMockObjectList ¶
func NewMockObjectList(ctrl *gomock.Controller) *MockObjectList
NewMockObjectList creates a new mock instance.
func (*MockObjectList) DeepCopyObject ¶
func (m *MockObjectList) DeepCopyObject() runtime.Object
DeepCopyObject mocks base method.
func (*MockObjectList) EXPECT ¶
func (m *MockObjectList) EXPECT() *MockObjectListMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockObjectList) GetContinue ¶
func (m *MockObjectList) GetContinue() string
GetContinue mocks base method.
func (*MockObjectList) GetObjectKind ¶
func (m *MockObjectList) GetObjectKind() schema.ObjectKind
GetObjectKind mocks base method.
func (*MockObjectList) GetRemainingItemCount ¶
func (m *MockObjectList) GetRemainingItemCount() *int64
GetRemainingItemCount mocks base method.
func (*MockObjectList) GetResourceVersion ¶
func (m *MockObjectList) GetResourceVersion() string
GetResourceVersion mocks base method.
func (*MockObjectList) GetSelfLink ¶
func (m *MockObjectList) GetSelfLink() string
GetSelfLink mocks base method.
func (*MockObjectList) SetContinue ¶
func (m *MockObjectList) SetContinue(c string)
SetContinue mocks base method.
func (*MockObjectList) SetRemainingItemCount ¶
func (m *MockObjectList) SetRemainingItemCount(c *int64)
SetRemainingItemCount mocks base method.
func (*MockObjectList) SetResourceVersion ¶
func (m *MockObjectList) SetResourceVersion(version string)
SetResourceVersion mocks base method.
func (*MockObjectList) SetSelfLink ¶
func (m *MockObjectList) SetSelfLink(selfLink string)
SetSelfLink mocks base method.
type MockObjectListMockRecorder ¶
type MockObjectListMockRecorder struct {
// contains filtered or unexported fields
}
MockObjectListMockRecorder is the mock recorder for MockObjectList.
func (*MockObjectListMockRecorder) DeepCopyObject ¶
func (mr *MockObjectListMockRecorder) DeepCopyObject() *gomock.Call
DeepCopyObject indicates an expected call of DeepCopyObject.
func (*MockObjectListMockRecorder) GetContinue ¶
func (mr *MockObjectListMockRecorder) GetContinue() *gomock.Call
GetContinue indicates an expected call of GetContinue.
func (*MockObjectListMockRecorder) GetObjectKind ¶
func (mr *MockObjectListMockRecorder) GetObjectKind() *gomock.Call
GetObjectKind indicates an expected call of GetObjectKind.
func (*MockObjectListMockRecorder) GetRemainingItemCount ¶
func (mr *MockObjectListMockRecorder) GetRemainingItemCount() *gomock.Call
GetRemainingItemCount indicates an expected call of GetRemainingItemCount.
func (*MockObjectListMockRecorder) GetResourceVersion ¶
func (mr *MockObjectListMockRecorder) GetResourceVersion() *gomock.Call
GetResourceVersion indicates an expected call of GetResourceVersion.
func (*MockObjectListMockRecorder) GetSelfLink ¶
func (mr *MockObjectListMockRecorder) GetSelfLink() *gomock.Call
GetSelfLink indicates an expected call of GetSelfLink.
func (*MockObjectListMockRecorder) SetContinue ¶
func (mr *MockObjectListMockRecorder) SetContinue(c interface{}) *gomock.Call
SetContinue indicates an expected call of SetContinue.
func (*MockObjectListMockRecorder) SetRemainingItemCount ¶
func (mr *MockObjectListMockRecorder) SetRemainingItemCount(c interface{}) *gomock.Call
SetRemainingItemCount indicates an expected call of SetRemainingItemCount.
func (*MockObjectListMockRecorder) SetResourceVersion ¶
func (mr *MockObjectListMockRecorder) SetResourceVersion(version interface{}) *gomock.Call
SetResourceVersion indicates an expected call of SetResourceVersion.
func (*MockObjectListMockRecorder) SetSelfLink ¶
func (mr *MockObjectListMockRecorder) SetSelfLink(selfLink interface{}) *gomock.Call
SetSelfLink indicates an expected call of SetSelfLink.
type MockObjectMockRecorder ¶
type MockObjectMockRecorder struct {
// contains filtered or unexported fields
}
MockObjectMockRecorder is the mock recorder for MockObject.
func (*MockObjectMockRecorder) DeepCopyObject ¶
func (mr *MockObjectMockRecorder) DeepCopyObject() *gomock.Call
DeepCopyObject indicates an expected call of DeepCopyObject.
func (*MockObjectMockRecorder) GetAnnotations ¶
func (mr *MockObjectMockRecorder) GetAnnotations() *gomock.Call
GetAnnotations indicates an expected call of GetAnnotations.
func (*MockObjectMockRecorder) GetClusterName ¶
func (mr *MockObjectMockRecorder) GetClusterName() *gomock.Call
GetClusterName indicates an expected call of GetClusterName.
func (*MockObjectMockRecorder) GetCreationTimestamp ¶
func (mr *MockObjectMockRecorder) GetCreationTimestamp() *gomock.Call
GetCreationTimestamp indicates an expected call of GetCreationTimestamp.
func (*MockObjectMockRecorder) GetDeletionGracePeriodSeconds ¶
func (mr *MockObjectMockRecorder) GetDeletionGracePeriodSeconds() *gomock.Call
GetDeletionGracePeriodSeconds indicates an expected call of GetDeletionGracePeriodSeconds.
func (*MockObjectMockRecorder) GetDeletionTimestamp ¶
func (mr *MockObjectMockRecorder) GetDeletionTimestamp() *gomock.Call
GetDeletionTimestamp indicates an expected call of GetDeletionTimestamp.
func (*MockObjectMockRecorder) GetFinalizers ¶
func (mr *MockObjectMockRecorder) GetFinalizers() *gomock.Call
GetFinalizers indicates an expected call of GetFinalizers.
func (*MockObjectMockRecorder) GetGenerateName ¶
func (mr *MockObjectMockRecorder) GetGenerateName() *gomock.Call
GetGenerateName indicates an expected call of GetGenerateName.
func (*MockObjectMockRecorder) GetGeneration ¶
func (mr *MockObjectMockRecorder) GetGeneration() *gomock.Call
GetGeneration indicates an expected call of GetGeneration.
func (*MockObjectMockRecorder) GetLabels ¶
func (mr *MockObjectMockRecorder) GetLabels() *gomock.Call
GetLabels indicates an expected call of GetLabels.
func (*MockObjectMockRecorder) GetManagedFields ¶
func (mr *MockObjectMockRecorder) GetManagedFields() *gomock.Call
GetManagedFields indicates an expected call of GetManagedFields.
func (*MockObjectMockRecorder) GetName ¶
func (mr *MockObjectMockRecorder) GetName() *gomock.Call
GetName indicates an expected call of GetName.
func (*MockObjectMockRecorder) GetNamespace ¶
func (mr *MockObjectMockRecorder) GetNamespace() *gomock.Call
GetNamespace indicates an expected call of GetNamespace.
func (*MockObjectMockRecorder) GetObjectKind ¶
func (mr *MockObjectMockRecorder) GetObjectKind() *gomock.Call
GetObjectKind indicates an expected call of GetObjectKind.
func (*MockObjectMockRecorder) GetOwnerReferences ¶
func (mr *MockObjectMockRecorder) GetOwnerReferences() *gomock.Call
GetOwnerReferences indicates an expected call of GetOwnerReferences.
func (*MockObjectMockRecorder) GetResourceVersion ¶
func (mr *MockObjectMockRecorder) GetResourceVersion() *gomock.Call
GetResourceVersion indicates an expected call of GetResourceVersion.
func (*MockObjectMockRecorder) GetSelfLink ¶
func (mr *MockObjectMockRecorder) GetSelfLink() *gomock.Call
GetSelfLink indicates an expected call of GetSelfLink.
func (*MockObjectMockRecorder) GetUID ¶
func (mr *MockObjectMockRecorder) GetUID() *gomock.Call
GetUID indicates an expected call of GetUID.
func (*MockObjectMockRecorder) SetAnnotations ¶
func (mr *MockObjectMockRecorder) SetAnnotations(annotations interface{}) *gomock.Call
SetAnnotations indicates an expected call of SetAnnotations.
func (*MockObjectMockRecorder) SetClusterName ¶
func (mr *MockObjectMockRecorder) SetClusterName(clusterName interface{}) *gomock.Call
SetClusterName indicates an expected call of SetClusterName.
func (*MockObjectMockRecorder) SetCreationTimestamp ¶
func (mr *MockObjectMockRecorder) SetCreationTimestamp(timestamp interface{}) *gomock.Call
SetCreationTimestamp indicates an expected call of SetCreationTimestamp.
func (*MockObjectMockRecorder) SetDeletionGracePeriodSeconds ¶
func (mr *MockObjectMockRecorder) SetDeletionGracePeriodSeconds(arg0 interface{}) *gomock.Call
SetDeletionGracePeriodSeconds indicates an expected call of SetDeletionGracePeriodSeconds.
func (*MockObjectMockRecorder) SetDeletionTimestamp ¶
func (mr *MockObjectMockRecorder) SetDeletionTimestamp(timestamp interface{}) *gomock.Call
SetDeletionTimestamp indicates an expected call of SetDeletionTimestamp.
func (*MockObjectMockRecorder) SetFinalizers ¶
func (mr *MockObjectMockRecorder) SetFinalizers(finalizers interface{}) *gomock.Call
SetFinalizers indicates an expected call of SetFinalizers.
func (*MockObjectMockRecorder) SetGenerateName ¶
func (mr *MockObjectMockRecorder) SetGenerateName(name interface{}) *gomock.Call
SetGenerateName indicates an expected call of SetGenerateName.
func (*MockObjectMockRecorder) SetGeneration ¶
func (mr *MockObjectMockRecorder) SetGeneration(generation interface{}) *gomock.Call
SetGeneration indicates an expected call of SetGeneration.
func (*MockObjectMockRecorder) SetLabels ¶
func (mr *MockObjectMockRecorder) SetLabels(labels interface{}) *gomock.Call
SetLabels indicates an expected call of SetLabels.
func (*MockObjectMockRecorder) SetManagedFields ¶
func (mr *MockObjectMockRecorder) SetManagedFields(managedFields interface{}) *gomock.Call
SetManagedFields indicates an expected call of SetManagedFields.
func (*MockObjectMockRecorder) SetName ¶
func (mr *MockObjectMockRecorder) SetName(name interface{}) *gomock.Call
SetName indicates an expected call of SetName.
func (*MockObjectMockRecorder) SetNamespace ¶
func (mr *MockObjectMockRecorder) SetNamespace(namespace interface{}) *gomock.Call
SetNamespace indicates an expected call of SetNamespace.
func (*MockObjectMockRecorder) SetOwnerReferences ¶
func (mr *MockObjectMockRecorder) SetOwnerReferences(arg0 interface{}) *gomock.Call
SetOwnerReferences indicates an expected call of SetOwnerReferences.
func (*MockObjectMockRecorder) SetResourceVersion ¶
func (mr *MockObjectMockRecorder) SetResourceVersion(version interface{}) *gomock.Call
SetResourceVersion indicates an expected call of SetResourceVersion.
func (*MockObjectMockRecorder) SetSelfLink ¶
func (mr *MockObjectMockRecorder) SetSelfLink(selfLink interface{}) *gomock.Call
SetSelfLink indicates an expected call of SetSelfLink.
func (*MockObjectMockRecorder) SetUID ¶
func (mr *MockObjectMockRecorder) SetUID(uid interface{}) *gomock.Call
SetUID indicates an expected call of SetUID.