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 53
/
checkpoint_paths.go
77 lines (60 loc) · 2.36 KB
/
checkpoint_paths.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
// Code generated by mockery v1.0.1. DO NOT EDIT.
package mocks
import (
storage "github.com/flyteorg/flytestdlib/storage"
mock "github.com/stretchr/testify/mock"
)
// CheckpointPaths is an autogenerated mock type for the CheckpointPaths type
type CheckpointPaths struct {
mock.Mock
}
type CheckpointPaths_GetCheckpointPrefix struct {
*mock.Call
}
func (_m CheckpointPaths_GetCheckpointPrefix) Return(_a0 storage.DataReference) *CheckpointPaths_GetCheckpointPrefix {
return &CheckpointPaths_GetCheckpointPrefix{Call: _m.Call.Return(_a0)}
}
func (_m *CheckpointPaths) OnGetCheckpointPrefix() *CheckpointPaths_GetCheckpointPrefix {
c := _m.On("GetCheckpointPrefix")
return &CheckpointPaths_GetCheckpointPrefix{Call: c}
}
func (_m *CheckpointPaths) OnGetCheckpointPrefixMatch(matchers ...interface{}) *CheckpointPaths_GetCheckpointPrefix {
c := _m.On("GetCheckpointPrefix", matchers...)
return &CheckpointPaths_GetCheckpointPrefix{Call: c}
}
// GetCheckpointPrefix provides a mock function with given fields:
func (_m *CheckpointPaths) GetCheckpointPrefix() storage.DataReference {
ret := _m.Called()
var r0 storage.DataReference
if rf, ok := ret.Get(0).(func() storage.DataReference); ok {
r0 = rf()
} else {
r0 = ret.Get(0).(storage.DataReference)
}
return r0
}
type CheckpointPaths_GetPreviousCheckpointsPrefix struct {
*mock.Call
}
func (_m CheckpointPaths_GetPreviousCheckpointsPrefix) Return(_a0 storage.DataReference) *CheckpointPaths_GetPreviousCheckpointsPrefix {
return &CheckpointPaths_GetPreviousCheckpointsPrefix{Call: _m.Call.Return(_a0)}
}
func (_m *CheckpointPaths) OnGetPreviousCheckpointsPrefix() *CheckpointPaths_GetPreviousCheckpointsPrefix {
c := _m.On("GetPreviousCheckpointsPrefix")
return &CheckpointPaths_GetPreviousCheckpointsPrefix{Call: c}
}
func (_m *CheckpointPaths) OnGetPreviousCheckpointsPrefixMatch(matchers ...interface{}) *CheckpointPaths_GetPreviousCheckpointsPrefix {
c := _m.On("GetPreviousCheckpointsPrefix", matchers...)
return &CheckpointPaths_GetPreviousCheckpointsPrefix{Call: c}
}
// GetPreviousCheckpointsPrefix provides a mock function with given fields:
func (_m *CheckpointPaths) GetPreviousCheckpointsPrefix() storage.DataReference {
ret := _m.Called()
var r0 storage.DataReference
if rf, ok := ret.Get(0).(func() storage.DataReference); ok {
r0 = rf()
} else {
r0 = ret.Get(0).(storage.DataReference)
}
return r0
}