Documentation ¶
Overview ¶
Package state is a generated GoMock package.
Index ¶
- type MockManager
- func (m *MockManager) AddCA(arg0 string, arg1 util.CAType) error
- func (m *MockManager) AddCert(arg0 string, arg1 util.CertType) error
- func (m *MockManager) CachedState() (state.State, error)
- func (m *MockManager) CommitState() error
- func (m *MockManager) EXPECT() *MockManagerMockRecorder
- func (m *MockManager) ReloadFile() error
- func (m *MockManager) RemoveStateFile() error
- func (m *MockManager) ResetLifecycle() error
- func (m *MockManager) Save(arg0 state.State) 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) SerializeNamespace(arg0 string) error
- func (m *MockManager) SerializeReleaseName(arg0 string) error
- func (m *MockManager) SerializeShipMetadata(arg0 api.ShipAppMetadata, arg1 string) error
- func (m *MockManager) SerializeUpstream(arg0 string) error
- func (m *MockManager) SerializeUpstreamContents(arg0 *state.UpstreamContents) error
- func (m *MockManager) StateUpdate(arg0 state.Update) (state.State, error)
- func (m *MockManager) UpdateVersion()
- type MockManagerMockRecorder
- func (mr *MockManagerMockRecorder) AddCA(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) AddCert(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) CachedState() *gomock.Call
- func (mr *MockManagerMockRecorder) CommitState() *gomock.Call
- func (mr *MockManagerMockRecorder) ReloadFile() *gomock.Call
- 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) SerializeNamespace(arg0 interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) SerializeReleaseName(arg0 interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) SerializeShipMetadata(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) SerializeUpstream(arg0 interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) SerializeUpstreamContents(arg0 interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) StateUpdate(arg0 interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) UpdateVersion() *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) AddCA ¶ added in v0.26.0
func (m *MockManager) AddCA(arg0 string, arg1 util.CAType) error
AddCA mocks base method
func (*MockManager) AddCert ¶ added in v0.26.0
func (m *MockManager) AddCert(arg0 string, arg1 util.CertType) error
AddCert mocks base method
func (*MockManager) CachedState ¶ added in v0.48.0
func (m *MockManager) CachedState() (state.State, error)
CachedState mocks base method
func (*MockManager) CommitState ¶ added in v0.48.0
func (m *MockManager) CommitState() error
CommitState mocks base method
func (*MockManager) EXPECT ¶
func (m *MockManager) EXPECT() *MockManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockManager) ReloadFile ¶ added in v0.48.0
func (m *MockManager) ReloadFile() error
ReloadFile mocks base method
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.State) 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) SerializeNamespace ¶ added in v0.30.0
func (m *MockManager) SerializeNamespace(arg0 string) error
SerializeNamespace mocks base method
func (*MockManager) SerializeReleaseName ¶ added in v0.20.0
func (m *MockManager) SerializeReleaseName(arg0 string) error
SerializeReleaseName 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
func (*MockManager) SerializeUpstreamContents ¶ added in v0.47.0
func (m *MockManager) SerializeUpstreamContents(arg0 *state.UpstreamContents) error
SerializeUpstreamContents mocks base method
func (*MockManager) StateUpdate ¶ added in v0.47.0
StateUpdate mocks base method
func (*MockManager) UpdateVersion ¶ added in v0.47.0
func (m *MockManager) UpdateVersion()
UpdateVersion mocks base method
type MockManagerMockRecorder ¶
type MockManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockManagerMockRecorder is the mock recorder for MockManager
func (*MockManagerMockRecorder) AddCA ¶ added in v0.26.0
func (mr *MockManagerMockRecorder) AddCA(arg0, arg1 interface{}) *gomock.Call
AddCA indicates an expected call of AddCA
func (*MockManagerMockRecorder) AddCert ¶ added in v0.26.0
func (mr *MockManagerMockRecorder) AddCert(arg0, arg1 interface{}) *gomock.Call
AddCert indicates an expected call of AddCert
func (*MockManagerMockRecorder) CachedState ¶ added in v0.48.0
func (mr *MockManagerMockRecorder) CachedState() *gomock.Call
CachedState indicates an expected call of CachedState
func (*MockManagerMockRecorder) CommitState ¶ added in v0.48.0
func (mr *MockManagerMockRecorder) CommitState() *gomock.Call
CommitState indicates an expected call of CommitState
func (*MockManagerMockRecorder) ReloadFile ¶ added in v0.48.0
func (mr *MockManagerMockRecorder) ReloadFile() *gomock.Call
ReloadFile indicates an expected call of ReloadFile
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) SerializeNamespace ¶ added in v0.30.0
func (mr *MockManagerMockRecorder) SerializeNamespace(arg0 interface{}) *gomock.Call
SerializeNamespace indicates an expected call of SerializeNamespace
func (*MockManagerMockRecorder) SerializeReleaseName ¶ added in v0.20.0
func (mr *MockManagerMockRecorder) SerializeReleaseName(arg0 interface{}) *gomock.Call
SerializeReleaseName indicates an expected call of SerializeReleaseName
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) SerializeUpstreamContents ¶ added in v0.47.0
func (mr *MockManagerMockRecorder) SerializeUpstreamContents(arg0 interface{}) *gomock.Call
SerializeUpstreamContents indicates an expected call of SerializeUpstreamContents
func (*MockManagerMockRecorder) StateUpdate ¶ added in v0.47.0
func (mr *MockManagerMockRecorder) StateUpdate(arg0 interface{}) *gomock.Call
StateUpdate indicates an expected call of StateUpdate
func (*MockManagerMockRecorder) UpdateVersion ¶ added in v0.47.0
func (mr *MockManagerMockRecorder) UpdateVersion() *gomock.Call
UpdateVersion indicates an expected call of UpdateVersion