condition

package
v0.0.0-...-ec4eabd Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package condition is a generated GoMock package.

Index

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

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.

Jump to

Keyboard shortcuts

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