This repository has been archived by the owner on Oct 9, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 59
/
ExecutionTimeInfo.go
115 lines (91 loc) · 3 KB
/
ExecutionTimeInfo.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
// Code generated by mockery v1.0.1. DO NOT EDIT.
package mocks
import (
mock "github.com/stretchr/testify/mock"
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
)
// ExecutionTimeInfo is an autogenerated mock type for the ExecutionTimeInfo type
type ExecutionTimeInfo struct {
mock.Mock
}
type ExecutionTimeInfo_GetLastUpdatedAt struct {
*mock.Call
}
func (_m ExecutionTimeInfo_GetLastUpdatedAt) Return(_a0 *v1.Time) *ExecutionTimeInfo_GetLastUpdatedAt {
return &ExecutionTimeInfo_GetLastUpdatedAt{Call: _m.Call.Return(_a0)}
}
func (_m *ExecutionTimeInfo) OnGetLastUpdatedAt() *ExecutionTimeInfo_GetLastUpdatedAt {
c_call := _m.On("GetLastUpdatedAt")
return &ExecutionTimeInfo_GetLastUpdatedAt{Call: c_call}
}
func (_m *ExecutionTimeInfo) OnGetLastUpdatedAtMatch(matchers ...interface{}) *ExecutionTimeInfo_GetLastUpdatedAt {
c_call := _m.On("GetLastUpdatedAt", matchers...)
return &ExecutionTimeInfo_GetLastUpdatedAt{Call: c_call}
}
// GetLastUpdatedAt provides a mock function with given fields:
func (_m *ExecutionTimeInfo) GetLastUpdatedAt() *v1.Time {
ret := _m.Called()
var r0 *v1.Time
if rf, ok := ret.Get(0).(func() *v1.Time); ok {
r0 = rf()
} else {
if ret.Get(0) != nil {
r0 = ret.Get(0).(*v1.Time)
}
}
return r0
}
type ExecutionTimeInfo_GetStartedAt struct {
*mock.Call
}
func (_m ExecutionTimeInfo_GetStartedAt) Return(_a0 *v1.Time) *ExecutionTimeInfo_GetStartedAt {
return &ExecutionTimeInfo_GetStartedAt{Call: _m.Call.Return(_a0)}
}
func (_m *ExecutionTimeInfo) OnGetStartedAt() *ExecutionTimeInfo_GetStartedAt {
c_call := _m.On("GetStartedAt")
return &ExecutionTimeInfo_GetStartedAt{Call: c_call}
}
func (_m *ExecutionTimeInfo) OnGetStartedAtMatch(matchers ...interface{}) *ExecutionTimeInfo_GetStartedAt {
c_call := _m.On("GetStartedAt", matchers...)
return &ExecutionTimeInfo_GetStartedAt{Call: c_call}
}
// GetStartedAt provides a mock function with given fields:
func (_m *ExecutionTimeInfo) GetStartedAt() *v1.Time {
ret := _m.Called()
var r0 *v1.Time
if rf, ok := ret.Get(0).(func() *v1.Time); ok {
r0 = rf()
} else {
if ret.Get(0) != nil {
r0 = ret.Get(0).(*v1.Time)
}
}
return r0
}
type ExecutionTimeInfo_GetStoppedAt struct {
*mock.Call
}
func (_m ExecutionTimeInfo_GetStoppedAt) Return(_a0 *v1.Time) *ExecutionTimeInfo_GetStoppedAt {
return &ExecutionTimeInfo_GetStoppedAt{Call: _m.Call.Return(_a0)}
}
func (_m *ExecutionTimeInfo) OnGetStoppedAt() *ExecutionTimeInfo_GetStoppedAt {
c_call := _m.On("GetStoppedAt")
return &ExecutionTimeInfo_GetStoppedAt{Call: c_call}
}
func (_m *ExecutionTimeInfo) OnGetStoppedAtMatch(matchers ...interface{}) *ExecutionTimeInfo_GetStoppedAt {
c_call := _m.On("GetStoppedAt", matchers...)
return &ExecutionTimeInfo_GetStoppedAt{Call: c_call}
}
// GetStoppedAt provides a mock function with given fields:
func (_m *ExecutionTimeInfo) GetStoppedAt() *v1.Time {
ret := _m.Called()
var r0 *v1.Time
if rf, ok := ret.Get(0).(func() *v1.Time); ok {
r0 = rf()
} else {
if ret.Get(0) != nil {
r0 = ret.Get(0).(*v1.Time)
}
}
return r0
}