Documentation
¶
Overview ¶
Package machinery is a generated GoMock package.
Index ¶
- type MockObjectResult
- func (m *MockObjectResult) Action() machinery.Action
- func (m *MockObjectResult) EXPECT() *MockObjectResultMockRecorder
- func (m *MockObjectResult) IsComplete() bool
- func (m *MockObjectResult) IsPaused() bool
- func (m *MockObjectResult) Object() machinery.Object
- func (m *MockObjectResult) ProbeResults() types.ProbeResultContainer
- func (m *MockObjectResult) String() string
- type MockObjectResultMockRecorder
- func (mr *MockObjectResultMockRecorder) Action() *gomock.Call
- func (mr *MockObjectResultMockRecorder) IsComplete() *gomock.Call
- func (mr *MockObjectResultMockRecorder) IsPaused() *gomock.Call
- func (mr *MockObjectResultMockRecorder) Object() *gomock.Call
- func (mr *MockObjectResultMockRecorder) ProbeResults() *gomock.Call
- func (mr *MockObjectResultMockRecorder) String() *gomock.Call
- type MockPhaseResult
- func (m *MockPhaseResult) EXPECT() *MockPhaseResultMockRecorder
- func (m *MockPhaseResult) GetName() string
- func (m *MockPhaseResult) GetObjects() []machinery.ObjectResult
- func (m *MockPhaseResult) GetValidationError() *validation.PhaseValidationError
- func (m *MockPhaseResult) HasProgressed() bool
- func (m *MockPhaseResult) InTransition() bool
- func (m *MockPhaseResult) IsComplete() bool
- func (m *MockPhaseResult) String() string
- type MockPhaseResultMockRecorder
- func (mr *MockPhaseResultMockRecorder) GetName() *gomock.Call
- func (mr *MockPhaseResultMockRecorder) GetObjects() *gomock.Call
- func (mr *MockPhaseResultMockRecorder) GetValidationError() *gomock.Call
- func (mr *MockPhaseResultMockRecorder) HasProgressed() *gomock.Call
- func (mr *MockPhaseResultMockRecorder) InTransition() *gomock.Call
- func (mr *MockPhaseResultMockRecorder) IsComplete() *gomock.Call
- func (mr *MockPhaseResultMockRecorder) String() *gomock.Call
- type MockRevisionResult
- func (m *MockRevisionResult) EXPECT() *MockRevisionResultMockRecorder
- func (m *MockRevisionResult) GetPhases() []machinery.PhaseResult
- func (m *MockRevisionResult) GetValidationError() *validation.RevisionValidationError
- func (m *MockRevisionResult) HasProgressed() bool
- func (m *MockRevisionResult) InTransition() bool
- func (m *MockRevisionResult) IsComplete() bool
- func (m *MockRevisionResult) String() string
- type MockRevisionResultMockRecorder
- func (mr *MockRevisionResultMockRecorder) GetPhases() *gomock.Call
- func (mr *MockRevisionResultMockRecorder) GetValidationError() *gomock.Call
- func (mr *MockRevisionResultMockRecorder) HasProgressed() *gomock.Call
- func (mr *MockRevisionResultMockRecorder) InTransition() *gomock.Call
- func (mr *MockRevisionResultMockRecorder) IsComplete() *gomock.Call
- func (mr *MockRevisionResultMockRecorder) String() *gomock.Call
- type MockRevisionTeardownResult
- func (m *MockRevisionTeardownResult) EXPECT() *MockRevisionTeardownResultMockRecorder
- func (m *MockRevisionTeardownResult) GetActivePhaseName() (string, bool)
- func (m *MockRevisionTeardownResult) GetGonePhaseNames() []string
- func (m *MockRevisionTeardownResult) GetPhases() []machinery.PhaseTeardownResult
- func (m *MockRevisionTeardownResult) GetWaitingPhaseNames() []string
- func (m *MockRevisionTeardownResult) IsComplete() bool
- func (m *MockRevisionTeardownResult) String() string
- type MockRevisionTeardownResultMockRecorder
- func (mr *MockRevisionTeardownResultMockRecorder) GetActivePhaseName() *gomock.Call
- func (mr *MockRevisionTeardownResultMockRecorder) GetGonePhaseNames() *gomock.Call
- func (mr *MockRevisionTeardownResultMockRecorder) GetPhases() *gomock.Call
- func (mr *MockRevisionTeardownResultMockRecorder) GetWaitingPhaseNames() *gomock.Call
- func (mr *MockRevisionTeardownResultMockRecorder) IsComplete() *gomock.Call
- func (mr *MockRevisionTeardownResultMockRecorder) String() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockObjectResult ¶
type MockObjectResult struct {
// contains filtered or unexported fields
}
MockObjectResult is a mock of ObjectResult interface.
func NewMockObjectResult ¶
func NewMockObjectResult(ctrl *gomock.Controller) *MockObjectResult
NewMockObjectResult creates a new mock instance.
func (*MockObjectResult) Action ¶
func (m *MockObjectResult) Action() machinery.Action
Action mocks base method.
func (*MockObjectResult) EXPECT ¶
func (m *MockObjectResult) EXPECT() *MockObjectResultMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockObjectResult) IsComplete ¶
func (m *MockObjectResult) IsComplete() bool
IsComplete mocks base method.
func (*MockObjectResult) IsPaused ¶
func (m *MockObjectResult) IsPaused() bool
IsPaused mocks base method.
func (*MockObjectResult) Object ¶
func (m *MockObjectResult) Object() machinery.Object
Object mocks base method.
func (*MockObjectResult) ProbeResults ¶
func (m *MockObjectResult) ProbeResults() types.ProbeResultContainer
ProbeResults mocks base method.
func (*MockObjectResult) String ¶
func (m *MockObjectResult) String() string
String mocks base method.
type MockObjectResultMockRecorder ¶
type MockObjectResultMockRecorder struct {
// contains filtered or unexported fields
}
MockObjectResultMockRecorder is the mock recorder for MockObjectResult.
func (*MockObjectResultMockRecorder) Action ¶
func (mr *MockObjectResultMockRecorder) Action() *gomock.Call
Action indicates an expected call of Action.
func (*MockObjectResultMockRecorder) IsComplete ¶
func (mr *MockObjectResultMockRecorder) IsComplete() *gomock.Call
IsComplete indicates an expected call of IsComplete.
func (*MockObjectResultMockRecorder) IsPaused ¶
func (mr *MockObjectResultMockRecorder) IsPaused() *gomock.Call
IsPaused indicates an expected call of IsPaused.
func (*MockObjectResultMockRecorder) Object ¶
func (mr *MockObjectResultMockRecorder) Object() *gomock.Call
Object indicates an expected call of Object.
func (*MockObjectResultMockRecorder) ProbeResults ¶
func (mr *MockObjectResultMockRecorder) ProbeResults() *gomock.Call
ProbeResults indicates an expected call of ProbeResults.
func (*MockObjectResultMockRecorder) String ¶
func (mr *MockObjectResultMockRecorder) String() *gomock.Call
String indicates an expected call of String.
type MockPhaseResult ¶
type MockPhaseResult struct {
// contains filtered or unexported fields
}
MockPhaseResult is a mock of PhaseResult interface.
func NewMockPhaseResult ¶
func NewMockPhaseResult(ctrl *gomock.Controller) *MockPhaseResult
NewMockPhaseResult creates a new mock instance.
func (*MockPhaseResult) EXPECT ¶
func (m *MockPhaseResult) EXPECT() *MockPhaseResultMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPhaseResult) GetName ¶
func (m *MockPhaseResult) GetName() string
GetName mocks base method.
func (*MockPhaseResult) GetObjects ¶
func (m *MockPhaseResult) GetObjects() []machinery.ObjectResult
GetObjects mocks base method.
func (*MockPhaseResult) GetValidationError ¶
func (m *MockPhaseResult) GetValidationError() *validation.PhaseValidationError
GetValidationError mocks base method.
func (*MockPhaseResult) HasProgressed ¶
func (m *MockPhaseResult) HasProgressed() bool
HasProgressed mocks base method.
func (*MockPhaseResult) InTransition ¶
func (m *MockPhaseResult) InTransition() bool
InTransition mocks base method.
func (*MockPhaseResult) IsComplete ¶
func (m *MockPhaseResult) IsComplete() bool
IsComplete mocks base method.
func (*MockPhaseResult) String ¶
func (m *MockPhaseResult) String() string
String mocks base method.
type MockPhaseResultMockRecorder ¶
type MockPhaseResultMockRecorder struct {
// contains filtered or unexported fields
}
MockPhaseResultMockRecorder is the mock recorder for MockPhaseResult.
func (*MockPhaseResultMockRecorder) GetName ¶
func (mr *MockPhaseResultMockRecorder) GetName() *gomock.Call
GetName indicates an expected call of GetName.
func (*MockPhaseResultMockRecorder) GetObjects ¶
func (mr *MockPhaseResultMockRecorder) GetObjects() *gomock.Call
GetObjects indicates an expected call of GetObjects.
func (*MockPhaseResultMockRecorder) GetValidationError ¶
func (mr *MockPhaseResultMockRecorder) GetValidationError() *gomock.Call
GetValidationError indicates an expected call of GetValidationError.
func (*MockPhaseResultMockRecorder) HasProgressed ¶
func (mr *MockPhaseResultMockRecorder) HasProgressed() *gomock.Call
HasProgressed indicates an expected call of HasProgressed.
func (*MockPhaseResultMockRecorder) InTransition ¶
func (mr *MockPhaseResultMockRecorder) InTransition() *gomock.Call
InTransition indicates an expected call of InTransition.
func (*MockPhaseResultMockRecorder) IsComplete ¶
func (mr *MockPhaseResultMockRecorder) IsComplete() *gomock.Call
IsComplete indicates an expected call of IsComplete.
func (*MockPhaseResultMockRecorder) String ¶
func (mr *MockPhaseResultMockRecorder) String() *gomock.Call
String indicates an expected call of String.
type MockRevisionResult ¶
type MockRevisionResult struct {
// contains filtered or unexported fields
}
MockRevisionResult is a mock of RevisionResult interface.
func NewMockRevisionResult ¶
func NewMockRevisionResult(ctrl *gomock.Controller) *MockRevisionResult
NewMockRevisionResult creates a new mock instance.
func (*MockRevisionResult) EXPECT ¶
func (m *MockRevisionResult) EXPECT() *MockRevisionResultMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRevisionResult) GetPhases ¶
func (m *MockRevisionResult) GetPhases() []machinery.PhaseResult
GetPhases mocks base method.
func (*MockRevisionResult) GetValidationError ¶
func (m *MockRevisionResult) GetValidationError() *validation.RevisionValidationError
GetValidationError mocks base method.
func (*MockRevisionResult) HasProgressed ¶
func (m *MockRevisionResult) HasProgressed() bool
HasProgressed mocks base method.
func (*MockRevisionResult) InTransition ¶
func (m *MockRevisionResult) InTransition() bool
InTransition mocks base method.
func (*MockRevisionResult) IsComplete ¶
func (m *MockRevisionResult) IsComplete() bool
IsComplete mocks base method.
func (*MockRevisionResult) String ¶
func (m *MockRevisionResult) String() string
String mocks base method.
type MockRevisionResultMockRecorder ¶
type MockRevisionResultMockRecorder struct {
// contains filtered or unexported fields
}
MockRevisionResultMockRecorder is the mock recorder for MockRevisionResult.
func (*MockRevisionResultMockRecorder) GetPhases ¶
func (mr *MockRevisionResultMockRecorder) GetPhases() *gomock.Call
GetPhases indicates an expected call of GetPhases.
func (*MockRevisionResultMockRecorder) GetValidationError ¶
func (mr *MockRevisionResultMockRecorder) GetValidationError() *gomock.Call
GetValidationError indicates an expected call of GetValidationError.
func (*MockRevisionResultMockRecorder) HasProgressed ¶
func (mr *MockRevisionResultMockRecorder) HasProgressed() *gomock.Call
HasProgressed indicates an expected call of HasProgressed.
func (*MockRevisionResultMockRecorder) InTransition ¶
func (mr *MockRevisionResultMockRecorder) InTransition() *gomock.Call
InTransition indicates an expected call of InTransition.
func (*MockRevisionResultMockRecorder) IsComplete ¶
func (mr *MockRevisionResultMockRecorder) IsComplete() *gomock.Call
IsComplete indicates an expected call of IsComplete.
func (*MockRevisionResultMockRecorder) String ¶
func (mr *MockRevisionResultMockRecorder) String() *gomock.Call
String indicates an expected call of String.
type MockRevisionTeardownResult ¶
type MockRevisionTeardownResult struct {
// contains filtered or unexported fields
}
MockRevisionTeardownResult is a mock of RevisionTeardownResult interface.
func NewMockRevisionTeardownResult ¶
func NewMockRevisionTeardownResult(ctrl *gomock.Controller) *MockRevisionTeardownResult
NewMockRevisionTeardownResult creates a new mock instance.
func (*MockRevisionTeardownResult) EXPECT ¶
func (m *MockRevisionTeardownResult) EXPECT() *MockRevisionTeardownResultMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRevisionTeardownResult) GetActivePhaseName ¶
func (m *MockRevisionTeardownResult) GetActivePhaseName() (string, bool)
GetActivePhaseName mocks base method.
func (*MockRevisionTeardownResult) GetGonePhaseNames ¶
func (m *MockRevisionTeardownResult) GetGonePhaseNames() []string
GetGonePhaseNames mocks base method.
func (*MockRevisionTeardownResult) GetPhases ¶
func (m *MockRevisionTeardownResult) GetPhases() []machinery.PhaseTeardownResult
GetPhases mocks base method.
func (*MockRevisionTeardownResult) GetWaitingPhaseNames ¶
func (m *MockRevisionTeardownResult) GetWaitingPhaseNames() []string
GetWaitingPhaseNames mocks base method.
func (*MockRevisionTeardownResult) IsComplete ¶
func (m *MockRevisionTeardownResult) IsComplete() bool
IsComplete mocks base method.
func (*MockRevisionTeardownResult) String ¶
func (m *MockRevisionTeardownResult) String() string
String mocks base method.
type MockRevisionTeardownResultMockRecorder ¶
type MockRevisionTeardownResultMockRecorder struct {
// contains filtered or unexported fields
}
MockRevisionTeardownResultMockRecorder is the mock recorder for MockRevisionTeardownResult.
func (*MockRevisionTeardownResultMockRecorder) GetActivePhaseName ¶
func (mr *MockRevisionTeardownResultMockRecorder) GetActivePhaseName() *gomock.Call
GetActivePhaseName indicates an expected call of GetActivePhaseName.
func (*MockRevisionTeardownResultMockRecorder) GetGonePhaseNames ¶
func (mr *MockRevisionTeardownResultMockRecorder) GetGonePhaseNames() *gomock.Call
GetGonePhaseNames indicates an expected call of GetGonePhaseNames.
func (*MockRevisionTeardownResultMockRecorder) GetPhases ¶
func (mr *MockRevisionTeardownResultMockRecorder) GetPhases() *gomock.Call
GetPhases indicates an expected call of GetPhases.
func (*MockRevisionTeardownResultMockRecorder) GetWaitingPhaseNames ¶
func (mr *MockRevisionTeardownResultMockRecorder) GetWaitingPhaseNames() *gomock.Call
GetWaitingPhaseNames indicates an expected call of GetWaitingPhaseNames.
func (*MockRevisionTeardownResultMockRecorder) IsComplete ¶
func (mr *MockRevisionTeardownResultMockRecorder) IsComplete() *gomock.Call
IsComplete indicates an expected call of IsComplete.
func (*MockRevisionTeardownResultMockRecorder) String ¶
func (mr *MockRevisionTeardownResultMockRecorder) String() *gomock.Call
String indicates an expected call of String.