Documentation ¶
Overview ¶
Package condition is a generated GoMock package.
Index ¶
- type MockConditions
- func (m *MockConditions) EXPECT() *MockConditionsMockRecorder
- func (m *MockConditions) FindCondition(conditions *[]v1alpha1.Condition, conditionType v1alpha1.ConditionType) (*v1alpha1.Condition, bool)
- func (m *MockConditions) HasCondition(conditions *[]v1alpha1.Condition, conditionType v1alpha1.ConditionType) bool
- func (m *MockConditions) SetCondition(conditions *[]v1alpha1.Condition, conditionType v1alpha1.ConditionType, ...)
- type MockConditionsMockRecorder
- func (mr *MockConditionsMockRecorder) FindCondition(conditions, conditionType any) *gomock.Call
- func (mr *MockConditionsMockRecorder) HasCondition(conditions, conditionType any) *gomock.Call
- func (mr *MockConditionsMockRecorder) SetCondition(conditions, conditionType, status, reason, message any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockConditions ¶
type MockConditions struct {
// contains filtered or unexported fields
}
MockConditions is a mock of Conditions interface.
func NewMockConditions ¶
func NewMockConditions(ctrl *gomock.Controller) *MockConditions
NewMockConditions creates a new mock instance.
func (*MockConditions) EXPECT ¶
func (m *MockConditions) EXPECT() *MockConditionsMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockConditions) FindCondition ¶
func (m *MockConditions) FindCondition(conditions *[]v1alpha1.Condition, conditionType v1alpha1.ConditionType) (*v1alpha1.Condition, bool)
FindCondition mocks base method.
func (*MockConditions) HasCondition ¶
func (m *MockConditions) HasCondition(conditions *[]v1alpha1.Condition, conditionType v1alpha1.ConditionType) bool
HasCondition mocks base method.
func (*MockConditions) SetCondition ¶
func (m *MockConditions) SetCondition(conditions *[]v1alpha1.Condition, conditionType v1alpha1.ConditionType, status v1.ConditionStatus, reason, message string)
SetCondition mocks base method.
type MockConditionsMockRecorder ¶
type MockConditionsMockRecorder struct {
// contains filtered or unexported fields
}
MockConditionsMockRecorder is the mock recorder for MockConditions.
func (*MockConditionsMockRecorder) FindCondition ¶
func (mr *MockConditionsMockRecorder) FindCondition(conditions, conditionType any) *gomock.Call
FindCondition indicates an expected call of FindCondition.
func (*MockConditionsMockRecorder) HasCondition ¶
func (mr *MockConditionsMockRecorder) HasCondition(conditions, conditionType any) *gomock.Call
HasCondition indicates an expected call of HasCondition.
func (*MockConditionsMockRecorder) SetCondition ¶
func (mr *MockConditionsMockRecorder) SetCondition(conditions, conditionType, status, reason, message any) *gomock.Call
SetCondition indicates an expected call of SetCondition.
Click to show internal directories.
Click to hide internal directories.