Documentation ¶
Overview ¶
Package state is a generated GoMock package.
Index ¶
- type MockManager
- func (m *MockManager) EXPECT() *MockManagerMockRecorder
- func (m *MockManager) RemoveStateFile() error
- func (m *MockManager) ResetLifecycle() error
- func (m *MockManager) Save(arg0 state.VersionedState) error
- func (m *MockManager) SaveKustomize(arg0 *state.Kustomize) error
- func (m *MockManager) SerializeAppMetadata(arg0 api.ReleaseMetadata) error
- func (m *MockManager) SerializeConfig(arg0 []api.Asset, arg1 api.ReleaseMetadata, arg2 map[string]interface{}) error
- func (m *MockManager) SerializeContentSHA(arg0 string) error
- func (m *MockManager) SerializeHelmValues(arg0, arg1 string) error
- func (m *MockManager) SerializeShipMetadata(arg0 api.ShipAppMetadata, arg1 string) error
- func (m *MockManager) SerializeUpstream(arg0 string) error
- func (m *MockManager) TryLoad() (state.State, error)
- type MockManagerMockRecorder
- func (mr *MockManagerMockRecorder) RemoveStateFile() *gomock.Call
- func (mr *MockManagerMockRecorder) ResetLifecycle() *gomock.Call
- func (mr *MockManagerMockRecorder) Save(arg0 interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) SaveKustomize(arg0 interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) SerializeAppMetadata(arg0 interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) SerializeConfig(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) SerializeContentSHA(arg0 interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) SerializeHelmValues(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) SerializeShipMetadata(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) SerializeUpstream(arg0 interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) TryLoad() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockManager ¶
type MockManager struct {
// contains filtered or unexported fields
}
MockManager is a mock of Manager interface
func NewMockManager ¶
func NewMockManager(ctrl *gomock.Controller) *MockManager
NewMockManager creates a new mock instance
func (*MockManager) EXPECT ¶
func (m *MockManager) EXPECT() *MockManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockManager) RemoveStateFile ¶
func (m *MockManager) RemoveStateFile() error
RemoveStateFile mocks base method
func (*MockManager) ResetLifecycle ¶ added in v0.16.0
func (m *MockManager) ResetLifecycle() error
ResetLifecycle mocks base method
func (*MockManager) Save ¶
func (m *MockManager) Save(arg0 state.VersionedState) error
Save mocks base method
func (*MockManager) SaveKustomize ¶
func (m *MockManager) SaveKustomize(arg0 *state.Kustomize) error
SaveKustomize mocks base method
func (*MockManager) SerializeAppMetadata ¶ added in v0.16.0
func (m *MockManager) SerializeAppMetadata(arg0 api.ReleaseMetadata) error
SerializeAppMetadata mocks base method
func (*MockManager) SerializeConfig ¶
func (m *MockManager) SerializeConfig(arg0 []api.Asset, arg1 api.ReleaseMetadata, arg2 map[string]interface{}) error
SerializeConfig mocks base method
func (*MockManager) SerializeContentSHA ¶
func (m *MockManager) SerializeContentSHA(arg0 string) error
SerializeContentSHA mocks base method
func (*MockManager) SerializeHelmValues ¶
func (m *MockManager) SerializeHelmValues(arg0, arg1 string) error
SerializeHelmValues mocks base method
func (*MockManager) SerializeShipMetadata ¶ added in v0.16.0
func (m *MockManager) SerializeShipMetadata(arg0 api.ShipAppMetadata, arg1 string) error
SerializeShipMetadata mocks base method
func (*MockManager) SerializeUpstream ¶
func (m *MockManager) SerializeUpstream(arg0 string) error
SerializeUpstream mocks base method
type MockManagerMockRecorder ¶
type MockManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockManagerMockRecorder is the mock recorder for MockManager
func (*MockManagerMockRecorder) RemoveStateFile ¶
func (mr *MockManagerMockRecorder) RemoveStateFile() *gomock.Call
RemoveStateFile indicates an expected call of RemoveStateFile
func (*MockManagerMockRecorder) ResetLifecycle ¶ added in v0.16.0
func (mr *MockManagerMockRecorder) ResetLifecycle() *gomock.Call
ResetLifecycle indicates an expected call of ResetLifecycle
func (*MockManagerMockRecorder) Save ¶
func (mr *MockManagerMockRecorder) Save(arg0 interface{}) *gomock.Call
Save indicates an expected call of Save
func (*MockManagerMockRecorder) SaveKustomize ¶
func (mr *MockManagerMockRecorder) SaveKustomize(arg0 interface{}) *gomock.Call
SaveKustomize indicates an expected call of SaveKustomize
func (*MockManagerMockRecorder) SerializeAppMetadata ¶ added in v0.16.0
func (mr *MockManagerMockRecorder) SerializeAppMetadata(arg0 interface{}) *gomock.Call
SerializeAppMetadata indicates an expected call of SerializeAppMetadata
func (*MockManagerMockRecorder) SerializeConfig ¶
func (mr *MockManagerMockRecorder) SerializeConfig(arg0, arg1, arg2 interface{}) *gomock.Call
SerializeConfig indicates an expected call of SerializeConfig
func (*MockManagerMockRecorder) SerializeContentSHA ¶
func (mr *MockManagerMockRecorder) SerializeContentSHA(arg0 interface{}) *gomock.Call
SerializeContentSHA indicates an expected call of SerializeContentSHA
func (*MockManagerMockRecorder) SerializeHelmValues ¶
func (mr *MockManagerMockRecorder) SerializeHelmValues(arg0, arg1 interface{}) *gomock.Call
SerializeHelmValues indicates an expected call of SerializeHelmValues
func (*MockManagerMockRecorder) SerializeShipMetadata ¶ added in v0.16.0
func (mr *MockManagerMockRecorder) SerializeShipMetadata(arg0, arg1 interface{}) *gomock.Call
SerializeShipMetadata indicates an expected call of SerializeShipMetadata
func (*MockManagerMockRecorder) SerializeUpstream ¶
func (mr *MockManagerMockRecorder) SerializeUpstream(arg0 interface{}) *gomock.Call
SerializeUpstream indicates an expected call of SerializeUpstream
func (*MockManagerMockRecorder) TryLoad ¶
func (mr *MockManagerMockRecorder) TryLoad() *gomock.Call
TryLoad indicates an expected call of TryLoad