Documentation ¶
Overview ¶
Package application is a generated GoMock package.
Index ¶
- Constants
- type MockApplication
- func (m *MockApplication) Changed(arg0 *v1beta1.ToolsetSpec) bool
- func (m *MockApplication) Deploy(arg0 *v1beta1.ToolsetSpec) bool
- func (m *MockApplication) EXPECT() *MockApplicationMockRecorder
- func (m *MockApplication) GetName() name.Application
- func (m *MockApplication) GetNamespace() string
- func (m *MockApplication) Initial() bool
- func (m *MockApplication) SetAppliedSpec(arg0 *v1beta1.ToolsetSpec)
- type MockApplicationMockRecorder
- func (mr *MockApplicationMockRecorder) Changed(arg0 interface{}) *gomock.Call
- func (mr *MockApplicationMockRecorder) Deploy(arg0 interface{}) *gomock.Call
- func (mr *MockApplicationMockRecorder) GetName() *gomock.Call
- func (mr *MockApplicationMockRecorder) GetNamespace() *gomock.Call
- func (mr *MockApplicationMockRecorder) Initial() *gomock.Call
- func (mr *MockApplicationMockRecorder) SetAppliedSpec(arg0 interface{}) *gomock.Call
- type MockHelmApplication
- func (m *MockHelmApplication) Changed(arg0 *v1beta1.ToolsetSpec) bool
- func (m *MockHelmApplication) Deploy(arg0 *v1beta1.ToolsetSpec) bool
- func (m *MockHelmApplication) EXPECT() *MockHelmApplicationMockRecorder
- func (m *MockHelmApplication) GetChartInfo() *chart.Chart
- func (m *MockHelmApplication) GetImageTags() map[string]string
- func (m *MockHelmApplication) GetName() name.Application
- func (m *MockHelmApplication) GetNamespace() string
- func (m *MockHelmApplication) Initial() bool
- func (m *MockHelmApplication) SetAppliedSpec(arg0 *v1beta1.ToolsetSpec)
- func (m *MockHelmApplication) SpecToHelmValues(spec *v1beta1.ToolsetSpec) interface{}
- type MockHelmApplicationMockRecorder
- func (mr *MockHelmApplicationMockRecorder) Changed(arg0 interface{}) *gomock.Call
- func (mr *MockHelmApplicationMockRecorder) Deploy(arg0 interface{}) *gomock.Call
- func (mr *MockHelmApplicationMockRecorder) GetChartInfo() *gomock.Call
- func (mr *MockHelmApplicationMockRecorder) GetImageTags() *gomock.Call
- func (mr *MockHelmApplicationMockRecorder) GetName() *gomock.Call
- func (mr *MockHelmApplicationMockRecorder) GetNamespace() *gomock.Call
- func (mr *MockHelmApplicationMockRecorder) Initial() *gomock.Call
- func (mr *MockHelmApplicationMockRecorder) SetAppliedSpec(arg0 interface{}) *gomock.Call
- func (mr *MockHelmApplicationMockRecorder) SpecToHelmValues(spec interface{}) *gomock.Call
- type MockYAMLApplication
- func (m *MockYAMLApplication) Changed(arg0 *v1beta1.ToolsetSpec) bool
- func (m *MockYAMLApplication) Deploy(arg0 *v1beta1.ToolsetSpec) bool
- func (m *MockYAMLApplication) EXPECT() *MockYAMLApplicationMockRecorder
- func (m *MockYAMLApplication) GetName() name.Application
- func (m *MockYAMLApplication) GetNamespace() string
- func (m *MockYAMLApplication) GetYaml() interface{}
- func (m *MockYAMLApplication) Initial() bool
- func (m *MockYAMLApplication) SetAppliedSpec(arg0 *v1beta1.ToolsetSpec)
- type MockYAMLApplicationMockRecorder
- func (mr *MockYAMLApplicationMockRecorder) Changed(arg0 interface{}) *gomock.Call
- func (mr *MockYAMLApplicationMockRecorder) Deploy(arg0 interface{}) *gomock.Call
- func (mr *MockYAMLApplicationMockRecorder) GetName() *gomock.Call
- func (mr *MockYAMLApplicationMockRecorder) GetNamespace() *gomock.Call
- func (mr *MockYAMLApplicationMockRecorder) GetYaml() *gomock.Call
- func (mr *MockYAMLApplicationMockRecorder) Initial() *gomock.Call
- func (mr *MockYAMLApplicationMockRecorder) SetAppliedSpec(arg0 interface{}) *gomock.Call
- type TestApplication
- func (a *TestApplication) Application() *MockApplication
- func (a *TestApplication) SetAppliedSpec(spec *v1beta1.ToolsetSpec) *TestApplication
- func (a *TestApplication) SetChanged(spec *v1beta1.ToolsetSpec, b bool) *TestApplication
- func (a *TestApplication) SetDeploy(spec *v1beta1.ToolsetSpec, b bool) *TestApplication
- func (a *TestApplication) SetInitial(b bool) *TestApplication
- type TestYAMLApplication
- func (a *TestYAMLApplication) AllowSetAppliedSpec(spec *v1beta1.ToolsetSpec) *TestYAMLApplication
- func (a *TestYAMLApplication) Application() *MockYAMLApplication
- func (a *TestYAMLApplication) SetChanged(spec *v1beta1.ToolsetSpec, b bool) *TestYAMLApplication
- func (a *TestYAMLApplication) SetDeploy(spec *v1beta1.ToolsetSpec, b bool) *TestYAMLApplication
- func (a *TestYAMLApplication) SetGetYaml(yaml string) *TestYAMLApplication
- func (a *TestYAMLApplication) SetInitial(b bool) *TestYAMLApplication
Constants ¶
const ( Name name.Application = "mockapplication" Namespace = "mocknamespace" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockApplication ¶
type MockApplication struct {
// contains filtered or unexported fields
}
MockApplication is a mock of Application interface
func NewMockApplication ¶
func NewMockApplication(ctrl *gomock.Controller) *MockApplication
NewMockApplication creates a new mock instance
func (*MockApplication) Changed ¶
func (m *MockApplication) Changed(arg0 *v1beta1.ToolsetSpec) bool
Changed mocks base method
func (*MockApplication) Deploy ¶
func (m *MockApplication) Deploy(arg0 *v1beta1.ToolsetSpec) bool
Deploy mocks base method
func (*MockApplication) EXPECT ¶
func (m *MockApplication) EXPECT() *MockApplicationMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockApplication) GetName ¶
func (m *MockApplication) GetName() name.Application
GetName mocks base method
func (*MockApplication) GetNamespace ¶
func (m *MockApplication) GetNamespace() string
GetNamespace mocks base method
func (*MockApplication) Initial ¶
func (m *MockApplication) Initial() bool
Initial mocks base method
func (*MockApplication) SetAppliedSpec ¶
func (m *MockApplication) SetAppliedSpec(arg0 *v1beta1.ToolsetSpec)
SetAppliedSpec mocks base method
type MockApplicationMockRecorder ¶
type MockApplicationMockRecorder struct {
// contains filtered or unexported fields
}
MockApplicationMockRecorder is the mock recorder for MockApplication
func (*MockApplicationMockRecorder) Changed ¶
func (mr *MockApplicationMockRecorder) Changed(arg0 interface{}) *gomock.Call
Changed indicates an expected call of Changed
func (*MockApplicationMockRecorder) Deploy ¶
func (mr *MockApplicationMockRecorder) Deploy(arg0 interface{}) *gomock.Call
Deploy indicates an expected call of Deploy
func (*MockApplicationMockRecorder) GetName ¶
func (mr *MockApplicationMockRecorder) GetName() *gomock.Call
GetName indicates an expected call of GetName
func (*MockApplicationMockRecorder) GetNamespace ¶
func (mr *MockApplicationMockRecorder) GetNamespace() *gomock.Call
GetNamespace indicates an expected call of GetNamespace
func (*MockApplicationMockRecorder) Initial ¶
func (mr *MockApplicationMockRecorder) Initial() *gomock.Call
Initial indicates an expected call of Initial
func (*MockApplicationMockRecorder) SetAppliedSpec ¶
func (mr *MockApplicationMockRecorder) SetAppliedSpec(arg0 interface{}) *gomock.Call
SetAppliedSpec indicates an expected call of SetAppliedSpec
type MockHelmApplication ¶
type MockHelmApplication struct {
// contains filtered or unexported fields
}
MockHelmApplication is a mock of HelmApplication interface
func NewMockHelmApplication ¶
func NewMockHelmApplication(ctrl *gomock.Controller) *MockHelmApplication
NewMockHelmApplication creates a new mock instance
func (*MockHelmApplication) Changed ¶
func (m *MockHelmApplication) Changed(arg0 *v1beta1.ToolsetSpec) bool
Changed mocks base method
func (*MockHelmApplication) Deploy ¶
func (m *MockHelmApplication) Deploy(arg0 *v1beta1.ToolsetSpec) bool
Deploy mocks base method
func (*MockHelmApplication) EXPECT ¶
func (m *MockHelmApplication) EXPECT() *MockHelmApplicationMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockHelmApplication) GetChartInfo ¶
func (m *MockHelmApplication) GetChartInfo() *chart.Chart
GetChartInfo mocks base method
func (*MockHelmApplication) GetImageTags ¶
func (m *MockHelmApplication) GetImageTags() map[string]string
GetImageTags mocks base method
func (*MockHelmApplication) GetName ¶
func (m *MockHelmApplication) GetName() name.Application
GetName mocks base method
func (*MockHelmApplication) GetNamespace ¶
func (m *MockHelmApplication) GetNamespace() string
GetNamespace mocks base method
func (*MockHelmApplication) Initial ¶
func (m *MockHelmApplication) Initial() bool
Initial mocks base method
func (*MockHelmApplication) SetAppliedSpec ¶
func (m *MockHelmApplication) SetAppliedSpec(arg0 *v1beta1.ToolsetSpec)
SetAppliedSpec mocks base method
func (*MockHelmApplication) SpecToHelmValues ¶
func (m *MockHelmApplication) SpecToHelmValues(spec *v1beta1.ToolsetSpec) interface{}
SpecToHelmValues mocks base method
type MockHelmApplicationMockRecorder ¶
type MockHelmApplicationMockRecorder struct {
// contains filtered or unexported fields
}
MockHelmApplicationMockRecorder is the mock recorder for MockHelmApplication
func (*MockHelmApplicationMockRecorder) Changed ¶
func (mr *MockHelmApplicationMockRecorder) Changed(arg0 interface{}) *gomock.Call
Changed indicates an expected call of Changed
func (*MockHelmApplicationMockRecorder) Deploy ¶
func (mr *MockHelmApplicationMockRecorder) Deploy(arg0 interface{}) *gomock.Call
Deploy indicates an expected call of Deploy
func (*MockHelmApplicationMockRecorder) GetChartInfo ¶
func (mr *MockHelmApplicationMockRecorder) GetChartInfo() *gomock.Call
GetChartInfo indicates an expected call of GetChartInfo
func (*MockHelmApplicationMockRecorder) GetImageTags ¶
func (mr *MockHelmApplicationMockRecorder) GetImageTags() *gomock.Call
GetImageTags indicates an expected call of GetImageTags
func (*MockHelmApplicationMockRecorder) GetName ¶
func (mr *MockHelmApplicationMockRecorder) GetName() *gomock.Call
GetName indicates an expected call of GetName
func (*MockHelmApplicationMockRecorder) GetNamespace ¶
func (mr *MockHelmApplicationMockRecorder) GetNamespace() *gomock.Call
GetNamespace indicates an expected call of GetNamespace
func (*MockHelmApplicationMockRecorder) Initial ¶
func (mr *MockHelmApplicationMockRecorder) Initial() *gomock.Call
Initial indicates an expected call of Initial
func (*MockHelmApplicationMockRecorder) SetAppliedSpec ¶
func (mr *MockHelmApplicationMockRecorder) SetAppliedSpec(arg0 interface{}) *gomock.Call
SetAppliedSpec indicates an expected call of SetAppliedSpec
func (*MockHelmApplicationMockRecorder) SpecToHelmValues ¶
func (mr *MockHelmApplicationMockRecorder) SpecToHelmValues(spec interface{}) *gomock.Call
SpecToHelmValues indicates an expected call of SpecToHelmValues
type MockYAMLApplication ¶
type MockYAMLApplication struct {
// contains filtered or unexported fields
}
MockYAMLApplication is a mock of YAMLApplication interface
func NewMockYAMLApplication ¶
func NewMockYAMLApplication(ctrl *gomock.Controller) *MockYAMLApplication
NewMockYAMLApplication creates a new mock instance
func (*MockYAMLApplication) Changed ¶
func (m *MockYAMLApplication) Changed(arg0 *v1beta1.ToolsetSpec) bool
Changed mocks base method
func (*MockYAMLApplication) Deploy ¶
func (m *MockYAMLApplication) Deploy(arg0 *v1beta1.ToolsetSpec) bool
Deploy mocks base method
func (*MockYAMLApplication) EXPECT ¶
func (m *MockYAMLApplication) EXPECT() *MockYAMLApplicationMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockYAMLApplication) GetName ¶
func (m *MockYAMLApplication) GetName() name.Application
GetName mocks base method
func (*MockYAMLApplication) GetNamespace ¶
func (m *MockYAMLApplication) GetNamespace() string
GetNamespace mocks base method
func (*MockYAMLApplication) GetYaml ¶
func (m *MockYAMLApplication) GetYaml() interface{}
GetYaml mocks base method
func (*MockYAMLApplication) Initial ¶
func (m *MockYAMLApplication) Initial() bool
Initial mocks base method
func (*MockYAMLApplication) SetAppliedSpec ¶
func (m *MockYAMLApplication) SetAppliedSpec(arg0 *v1beta1.ToolsetSpec)
SetAppliedSpec mocks base method
type MockYAMLApplicationMockRecorder ¶
type MockYAMLApplicationMockRecorder struct {
// contains filtered or unexported fields
}
MockYAMLApplicationMockRecorder is the mock recorder for MockYAMLApplication
func (*MockYAMLApplicationMockRecorder) Changed ¶
func (mr *MockYAMLApplicationMockRecorder) Changed(arg0 interface{}) *gomock.Call
Changed indicates an expected call of Changed
func (*MockYAMLApplicationMockRecorder) Deploy ¶
func (mr *MockYAMLApplicationMockRecorder) Deploy(arg0 interface{}) *gomock.Call
Deploy indicates an expected call of Deploy
func (*MockYAMLApplicationMockRecorder) GetName ¶
func (mr *MockYAMLApplicationMockRecorder) GetName() *gomock.Call
GetName indicates an expected call of GetName
func (*MockYAMLApplicationMockRecorder) GetNamespace ¶
func (mr *MockYAMLApplicationMockRecorder) GetNamespace() *gomock.Call
GetNamespace indicates an expected call of GetNamespace
func (*MockYAMLApplicationMockRecorder) GetYaml ¶
func (mr *MockYAMLApplicationMockRecorder) GetYaml() *gomock.Call
GetYaml indicates an expected call of GetYaml
func (*MockYAMLApplicationMockRecorder) Initial ¶
func (mr *MockYAMLApplicationMockRecorder) Initial() *gomock.Call
Initial indicates an expected call of Initial
func (*MockYAMLApplicationMockRecorder) SetAppliedSpec ¶
func (mr *MockYAMLApplicationMockRecorder) SetAppliedSpec(arg0 interface{}) *gomock.Call
SetAppliedSpec indicates an expected call of SetAppliedSpec
type TestApplication ¶
type TestApplication struct {
// contains filtered or unexported fields
}
func NewTestApplication ¶
func NewTestApplication(t *testing.T) *TestApplication
func (*TestApplication) Application ¶
func (a *TestApplication) Application() *MockApplication
func (*TestApplication) SetAppliedSpec ¶
func (a *TestApplication) SetAppliedSpec(spec *v1beta1.ToolsetSpec) *TestApplication
func (*TestApplication) SetChanged ¶
func (a *TestApplication) SetChanged(spec *v1beta1.ToolsetSpec, b bool) *TestApplication
func (*TestApplication) SetDeploy ¶
func (a *TestApplication) SetDeploy(spec *v1beta1.ToolsetSpec, b bool) *TestApplication
func (*TestApplication) SetInitial ¶
func (a *TestApplication) SetInitial(b bool) *TestApplication
type TestYAMLApplication ¶
type TestYAMLApplication struct {
// contains filtered or unexported fields
}
func NewTestYAMLApplication ¶
func NewTestYAMLApplication(t *testing.T) *TestYAMLApplication
func (*TestYAMLApplication) AllowSetAppliedSpec ¶
func (a *TestYAMLApplication) AllowSetAppliedSpec(spec *v1beta1.ToolsetSpec) *TestYAMLApplication
func (*TestYAMLApplication) Application ¶
func (a *TestYAMLApplication) Application() *MockYAMLApplication
func (*TestYAMLApplication) SetChanged ¶
func (a *TestYAMLApplication) SetChanged(spec *v1beta1.ToolsetSpec, b bool) *TestYAMLApplication
func (*TestYAMLApplication) SetDeploy ¶
func (a *TestYAMLApplication) SetDeploy(spec *v1beta1.ToolsetSpec, b bool) *TestYAMLApplication
func (*TestYAMLApplication) SetGetYaml ¶
func (a *TestYAMLApplication) SetGetYaml(yaml string) *TestYAMLApplication
func (*TestYAMLApplication) SetInitial ¶
func (a *TestYAMLApplication) SetInitial(b bool) *TestYAMLApplication