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) 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) SerializeListsMetadata(arg0 util.List) 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) TryLoad() (state.State, error)
- type MockManagerMockRecorder
- func (mr *MockManagerMockRecorder) AddCA(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) AddCert(arg0, arg1 interface{}) *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) SerializeListsMetadata(arg0 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) 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) 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) 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) SerializeListsMetadata ¶ added in v0.22.0
func (m *MockManager) SerializeListsMetadata(arg0 util.List) error
SerializeListsMetadata 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
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) 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) SerializeListsMetadata ¶ added in v0.22.0
func (mr *MockManagerMockRecorder) SerializeListsMetadata(arg0 interface{}) *gomock.Call
SerializeListsMetadata indicates an expected call of SerializeListsMetadata
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) TryLoad ¶
func (mr *MockManagerMockRecorder) TryLoad() *gomock.Call
TryLoad indicates an expected call of TryLoad