mock

package
v0.1.63 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 19, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Code generated by MockGen. DO NOT EDIT. Source: interfaces.go

Generated by this command:

mockgen -source=interfaces.go -destination=mock/interfaces.go -package=mock

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockManagableResourceInterface

type MockManagableResourceInterface struct {
	// contains filtered or unexported fields
}

MockManagableResourceInterface is a mock of ManagableResourceInterface interface.

func NewMockManagableResourceInterface

func NewMockManagableResourceInterface(ctrl *gomock.Controller) *MockManagableResourceInterface

NewMockManagableResourceInterface creates a new mock instance.

func (*MockManagableResourceInterface) DeepCopyObject

func (m *MockManagableResourceInterface) DeepCopyObject() runtime.Object

DeepCopyObject mocks base method.

func (*MockManagableResourceInterface) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockManagableResourceInterface) GetAnnotations

func (m *MockManagableResourceInterface) GetAnnotations() map[string]string

GetAnnotations mocks base method.

func (*MockManagableResourceInterface) GetCreationTimestamp

func (m *MockManagableResourceInterface) GetCreationTimestamp() v10.Time

GetCreationTimestamp mocks base method.

func (*MockManagableResourceInterface) GetDeletionGracePeriodSeconds

func (m *MockManagableResourceInterface) GetDeletionGracePeriodSeconds() *int64

GetDeletionGracePeriodSeconds mocks base method.

func (*MockManagableResourceInterface) GetDeletionTimestamp

func (m *MockManagableResourceInterface) GetDeletionTimestamp() *v10.Time

GetDeletionTimestamp mocks base method.

func (*MockManagableResourceInterface) GetFinalizers

func (m *MockManagableResourceInterface) GetFinalizers() []string

GetFinalizers mocks base method.

func (*MockManagableResourceInterface) GetGenerateName

func (m *MockManagableResourceInterface) GetGenerateName() string

GetGenerateName mocks base method.

func (*MockManagableResourceInterface) GetGeneration

func (m *MockManagableResourceInterface) GetGeneration() int64

GetGeneration mocks base method.

func (*MockManagableResourceInterface) GetLabels

func (m *MockManagableResourceInterface) GetLabels() map[string]string

GetLabels mocks base method.

func (*MockManagableResourceInterface) GetManagedFields

func (m *MockManagableResourceInterface) GetManagedFields() []v10.ManagedFieldsEntry

GetManagedFields mocks base method.

func (*MockManagableResourceInterface) GetName

GetName mocks base method.

func (*MockManagableResourceInterface) GetNamespace

func (m *MockManagableResourceInterface) GetNamespace() string

GetNamespace mocks base method.

func (*MockManagableResourceInterface) GetObjectKind

GetObjectKind mocks base method.

func (*MockManagableResourceInterface) GetOwnerReferences

func (m *MockManagableResourceInterface) GetOwnerReferences() []v10.OwnerReference

GetOwnerReferences mocks base method.

func (*MockManagableResourceInterface) GetResourceVersion

func (m *MockManagableResourceInterface) GetResourceVersion() string

GetResourceVersion mocks base method.

func (m *MockManagableResourceInterface) GetSelfLink() string

GetSelfLink mocks base method.

func (*MockManagableResourceInterface) GetUID

GetUID mocks base method.

func (*MockManagableResourceInterface) Paused

Paused mocks base method.

func (*MockManagableResourceInterface) ResourceLabels

func (m *MockManagableResourceInterface) ResourceLabels() (labels.Set, error)

ResourceLabels mocks base method.

func (*MockManagableResourceInterface) SetAnnotations

func (m *MockManagableResourceInterface) SetAnnotations(annotations map[string]string)

SetAnnotations mocks base method.

func (*MockManagableResourceInterface) SetCreationTimestamp

func (m *MockManagableResourceInterface) SetCreationTimestamp(timestamp v10.Time)

SetCreationTimestamp mocks base method.

func (*MockManagableResourceInterface) SetDeletionGracePeriodSeconds

func (m *MockManagableResourceInterface) SetDeletionGracePeriodSeconds(arg0 *int64)

SetDeletionGracePeriodSeconds mocks base method.

func (*MockManagableResourceInterface) SetDeletionTimestamp

func (m *MockManagableResourceInterface) SetDeletionTimestamp(timestamp *v10.Time)

SetDeletionTimestamp mocks base method.

func (*MockManagableResourceInterface) SetFinalizers

func (m *MockManagableResourceInterface) SetFinalizers(finalizers []string)

SetFinalizers mocks base method.

func (*MockManagableResourceInterface) SetGenerateName

func (m *MockManagableResourceInterface) SetGenerateName(name string)

SetGenerateName mocks base method.

func (*MockManagableResourceInterface) SetGeneration

func (m *MockManagableResourceInterface) SetGeneration(generation int64)

SetGeneration mocks base method.

func (*MockManagableResourceInterface) SetLabels

func (m *MockManagableResourceInterface) SetLabels(labels map[string]string)

SetLabels mocks base method.

func (*MockManagableResourceInterface) SetManagedFields

func (m *MockManagableResourceInterface) SetManagedFields(managedFields []v10.ManagedFieldsEntry)

SetManagedFields mocks base method.

func (*MockManagableResourceInterface) SetName

func (m *MockManagableResourceInterface) SetName(name string)

SetName mocks base method.

func (*MockManagableResourceInterface) SetNamespace

func (m *MockManagableResourceInterface) SetNamespace(namespace string)

SetNamespace mocks base method.

func (*MockManagableResourceInterface) SetOwnerReferences

func (m *MockManagableResourceInterface) SetOwnerReferences(arg0 []v10.OwnerReference)

SetOwnerReferences mocks base method.

func (*MockManagableResourceInterface) SetResourceVersion

func (m *MockManagableResourceInterface) SetResourceVersion(version string)

SetResourceVersion mocks base method.

func (m *MockManagableResourceInterface) SetSelfLink(selfLink string)

SetSelfLink mocks base method.

func (*MockManagableResourceInterface) SetUID

func (m *MockManagableResourceInterface) SetUID(uid types.UID)

SetUID mocks base method.

func (*MockManagableResourceInterface) StatusConditionRead

StatusConditionRead mocks base method.

func (*MockManagableResourceInterface) StatusConditionWrite

func (m *MockManagableResourceInterface) StatusConditionWrite(t v1alpha1.ConditionType, status v1.ConditionStatus, reason v1alpha1.ConditionReason, message string)

StatusConditionWrite mocks base method.

type MockManagableResourceInterfaceMockRecorder

type MockManagableResourceInterfaceMockRecorder struct {
	// contains filtered or unexported fields
}

MockManagableResourceInterfaceMockRecorder is the mock recorder for MockManagableResourceInterface.

func (*MockManagableResourceInterfaceMockRecorder) DeepCopyObject

DeepCopyObject indicates an expected call of DeepCopyObject.

func (*MockManagableResourceInterfaceMockRecorder) GetAnnotations

GetAnnotations indicates an expected call of GetAnnotations.

func (*MockManagableResourceInterfaceMockRecorder) GetCreationTimestamp

func (mr *MockManagableResourceInterfaceMockRecorder) GetCreationTimestamp() *gomock.Call

GetCreationTimestamp indicates an expected call of GetCreationTimestamp.

func (*MockManagableResourceInterfaceMockRecorder) GetDeletionGracePeriodSeconds

func (mr *MockManagableResourceInterfaceMockRecorder) GetDeletionGracePeriodSeconds() *gomock.Call

GetDeletionGracePeriodSeconds indicates an expected call of GetDeletionGracePeriodSeconds.

func (*MockManagableResourceInterfaceMockRecorder) GetDeletionTimestamp

func (mr *MockManagableResourceInterfaceMockRecorder) GetDeletionTimestamp() *gomock.Call

GetDeletionTimestamp indicates an expected call of GetDeletionTimestamp.

func (*MockManagableResourceInterfaceMockRecorder) GetFinalizers

GetFinalizers indicates an expected call of GetFinalizers.

func (*MockManagableResourceInterfaceMockRecorder) GetGenerateName

GetGenerateName indicates an expected call of GetGenerateName.

func (*MockManagableResourceInterfaceMockRecorder) GetGeneration

GetGeneration indicates an expected call of GetGeneration.

func (*MockManagableResourceInterfaceMockRecorder) GetLabels

GetLabels indicates an expected call of GetLabels.

func (*MockManagableResourceInterfaceMockRecorder) GetManagedFields

func (mr *MockManagableResourceInterfaceMockRecorder) GetManagedFields() *gomock.Call

GetManagedFields indicates an expected call of GetManagedFields.

func (*MockManagableResourceInterfaceMockRecorder) GetName

GetName indicates an expected call of GetName.

func (*MockManagableResourceInterfaceMockRecorder) GetNamespace

GetNamespace indicates an expected call of GetNamespace.

func (*MockManagableResourceInterfaceMockRecorder) GetObjectKind

GetObjectKind indicates an expected call of GetObjectKind.

func (*MockManagableResourceInterfaceMockRecorder) GetOwnerReferences

func (mr *MockManagableResourceInterfaceMockRecorder) GetOwnerReferences() *gomock.Call

GetOwnerReferences indicates an expected call of GetOwnerReferences.

func (*MockManagableResourceInterfaceMockRecorder) GetResourceVersion

func (mr *MockManagableResourceInterfaceMockRecorder) GetResourceVersion() *gomock.Call

GetResourceVersion indicates an expected call of GetResourceVersion.

GetSelfLink indicates an expected call of GetSelfLink.

func (*MockManagableResourceInterfaceMockRecorder) GetUID

GetUID indicates an expected call of GetUID.

func (*MockManagableResourceInterfaceMockRecorder) Paused

Paused indicates an expected call of Paused.

func (*MockManagableResourceInterfaceMockRecorder) ResourceLabels

ResourceLabels indicates an expected call of ResourceLabels.

func (*MockManagableResourceInterfaceMockRecorder) SetAnnotations

func (mr *MockManagableResourceInterfaceMockRecorder) SetAnnotations(annotations any) *gomock.Call

SetAnnotations indicates an expected call of SetAnnotations.

func (*MockManagableResourceInterfaceMockRecorder) SetCreationTimestamp

func (mr *MockManagableResourceInterfaceMockRecorder) SetCreationTimestamp(timestamp any) *gomock.Call

SetCreationTimestamp indicates an expected call of SetCreationTimestamp.

func (*MockManagableResourceInterfaceMockRecorder) SetDeletionGracePeriodSeconds

func (mr *MockManagableResourceInterfaceMockRecorder) SetDeletionGracePeriodSeconds(arg0 any) *gomock.Call

SetDeletionGracePeriodSeconds indicates an expected call of SetDeletionGracePeriodSeconds.

func (*MockManagableResourceInterfaceMockRecorder) SetDeletionTimestamp

func (mr *MockManagableResourceInterfaceMockRecorder) SetDeletionTimestamp(timestamp any) *gomock.Call

SetDeletionTimestamp indicates an expected call of SetDeletionTimestamp.

func (*MockManagableResourceInterfaceMockRecorder) SetFinalizers

func (mr *MockManagableResourceInterfaceMockRecorder) SetFinalizers(finalizers any) *gomock.Call

SetFinalizers indicates an expected call of SetFinalizers.

func (*MockManagableResourceInterfaceMockRecorder) SetGenerateName

func (mr *MockManagableResourceInterfaceMockRecorder) SetGenerateName(name any) *gomock.Call

SetGenerateName indicates an expected call of SetGenerateName.

func (*MockManagableResourceInterfaceMockRecorder) SetGeneration

func (mr *MockManagableResourceInterfaceMockRecorder) SetGeneration(generation any) *gomock.Call

SetGeneration indicates an expected call of SetGeneration.

func (*MockManagableResourceInterfaceMockRecorder) SetLabels

SetLabels indicates an expected call of SetLabels.

func (*MockManagableResourceInterfaceMockRecorder) SetManagedFields

func (mr *MockManagableResourceInterfaceMockRecorder) SetManagedFields(managedFields any) *gomock.Call

SetManagedFields indicates an expected call of SetManagedFields.

func (*MockManagableResourceInterfaceMockRecorder) SetName

SetName indicates an expected call of SetName.

func (*MockManagableResourceInterfaceMockRecorder) SetNamespace

func (mr *MockManagableResourceInterfaceMockRecorder) SetNamespace(namespace any) *gomock.Call

SetNamespace indicates an expected call of SetNamespace.

func (*MockManagableResourceInterfaceMockRecorder) SetOwnerReferences

func (mr *MockManagableResourceInterfaceMockRecorder) SetOwnerReferences(arg0 any) *gomock.Call

SetOwnerReferences indicates an expected call of SetOwnerReferences.

func (*MockManagableResourceInterfaceMockRecorder) SetResourceVersion

func (mr *MockManagableResourceInterfaceMockRecorder) SetResourceVersion(version any) *gomock.Call

SetResourceVersion indicates an expected call of SetResourceVersion.

func (mr *MockManagableResourceInterfaceMockRecorder) SetSelfLink(selfLink any) *gomock.Call

SetSelfLink indicates an expected call of SetSelfLink.

func (*MockManagableResourceInterfaceMockRecorder) SetUID

SetUID indicates an expected call of SetUID.

func (*MockManagableResourceInterfaceMockRecorder) StatusConditionRead

func (mr *MockManagableResourceInterfaceMockRecorder) StatusConditionRead(t any) *gomock.Call

StatusConditionRead indicates an expected call of StatusConditionRead.

func (*MockManagableResourceInterfaceMockRecorder) StatusConditionWrite

func (mr *MockManagableResourceInterfaceMockRecorder) StatusConditionWrite(t, status, reason, message any) *gomock.Call

StatusConditionWrite indicates an expected call of StatusConditionWrite.

type MockReconcilePauser

type MockReconcilePauser struct {
	// contains filtered or unexported fields
}

MockReconcilePauser is a mock of ReconcilePauser interface.

func NewMockReconcilePauser

func NewMockReconcilePauser(ctrl *gomock.Controller) *MockReconcilePauser

NewMockReconcilePauser creates a new mock instance.

func (*MockReconcilePauser) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockReconcilePauser) Paused

func (m *MockReconcilePauser) Paused() bool

Paused mocks base method.

type MockReconcilePauserMockRecorder

type MockReconcilePauserMockRecorder struct {
	// contains filtered or unexported fields
}

MockReconcilePauserMockRecorder is the mock recorder for MockReconcilePauser.

func (*MockReconcilePauserMockRecorder) Paused

Paused indicates an expected call of Paused.

type MockResourceLabeller

type MockResourceLabeller struct {
	// contains filtered or unexported fields
}

MockResourceLabeller is a mock of ResourceLabeller interface.

func NewMockResourceLabeller

func NewMockResourceLabeller(ctrl *gomock.Controller) *MockResourceLabeller

NewMockResourceLabeller creates a new mock instance.

func (*MockResourceLabeller) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockResourceLabeller) ResourceLabels

func (m *MockResourceLabeller) ResourceLabels() (labels.Set, error)

ResourceLabels mocks base method.

type MockResourceLabellerMockRecorder

type MockResourceLabellerMockRecorder struct {
	// contains filtered or unexported fields
}

MockResourceLabellerMockRecorder is the mock recorder for MockResourceLabeller.

func (*MockResourceLabellerMockRecorder) ResourceLabels

func (mr *MockResourceLabellerMockRecorder) ResourceLabels() *gomock.Call

ResourceLabels indicates an expected call of ResourceLabels.

type MockStatusConditionReader

type MockStatusConditionReader struct {
	// contains filtered or unexported fields
}

MockStatusConditionReader is a mock of StatusConditionReader interface.

func NewMockStatusConditionReader

func NewMockStatusConditionReader(ctrl *gomock.Controller) *MockStatusConditionReader

NewMockStatusConditionReader creates a new mock instance.

func (*MockStatusConditionReader) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockStatusConditionReader) StatusConditionRead

StatusConditionRead mocks base method.

type MockStatusConditionReaderMockRecorder

type MockStatusConditionReaderMockRecorder struct {
	// contains filtered or unexported fields
}

MockStatusConditionReaderMockRecorder is the mock recorder for MockStatusConditionReader.

func (*MockStatusConditionReaderMockRecorder) StatusConditionRead

func (mr *MockStatusConditionReaderMockRecorder) StatusConditionRead(t any) *gomock.Call

StatusConditionRead indicates an expected call of StatusConditionRead.

type MockStatusConditionWriter

type MockStatusConditionWriter struct {
	// contains filtered or unexported fields
}

MockStatusConditionWriter is a mock of StatusConditionWriter interface.

func NewMockStatusConditionWriter

func NewMockStatusConditionWriter(ctrl *gomock.Controller) *MockStatusConditionWriter

NewMockStatusConditionWriter creates a new mock instance.

func (*MockStatusConditionWriter) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockStatusConditionWriter) StatusConditionWrite

func (m *MockStatusConditionWriter) StatusConditionWrite(t v1alpha1.ConditionType, status v1.ConditionStatus, reason v1alpha1.ConditionReason, message string)

StatusConditionWrite mocks base method.

type MockStatusConditionWriterMockRecorder

type MockStatusConditionWriterMockRecorder struct {
	// contains filtered or unexported fields
}

MockStatusConditionWriterMockRecorder is the mock recorder for MockStatusConditionWriter.

func (*MockStatusConditionWriterMockRecorder) StatusConditionWrite

func (mr *MockStatusConditionWriterMockRecorder) StatusConditionWrite(t, status, reason, message any) *gomock.Call

StatusConditionWrite indicates an expected call of StatusConditionWrite.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL