Documentation ¶
Overview ¶
Package application is a generated GoMock package.
Index ¶
- Constants
- type MockApplication
- type MockApplicationMockRecorder
- type MockHelmApplication
- func (m *MockHelmApplication) Deploy(arg0 *latest.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) SpecToHelmValues(arg0 mntr.Monitor, arg1 *latest.ToolsetSpec) interface{}
- type MockHelmApplicationMockRecorder
- 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) SpecToHelmValues(arg0, arg1 interface{}) *gomock.Call
- type MockYAMLApplication
- type MockYAMLApplicationMockRecorder
- type TestApplication
- type 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) Deploy ¶
func (m *MockApplication) Deploy(arg0 *latest.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
type MockApplicationMockRecorder ¶
type MockApplicationMockRecorder struct {
// contains filtered or unexported fields
}
MockApplicationMockRecorder is the mock recorder for MockApplication
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
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) Deploy ¶
func (m *MockHelmApplication) Deploy(arg0 *latest.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) SpecToHelmValues ¶
func (m *MockHelmApplication) SpecToHelmValues(arg0 mntr.Monitor, arg1 *latest.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) 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) SpecToHelmValues ¶
func (mr *MockHelmApplicationMockRecorder) SpecToHelmValues(arg0, arg1 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) Deploy ¶
func (m *MockYAMLApplication) Deploy(arg0 *latest.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) GetYaml ¶
func (m *MockYAMLApplication) GetYaml(arg0 mntr.Monitor, arg1 *latest.ToolsetSpec) interface{}
GetYaml mocks base method
type MockYAMLApplicationMockRecorder ¶
type MockYAMLApplicationMockRecorder struct {
// contains filtered or unexported fields
}
MockYAMLApplicationMockRecorder is the mock recorder for MockYAMLApplication
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) GetYaml ¶
func (mr *MockYAMLApplicationMockRecorder) GetYaml(arg0, arg1 interface{}) *gomock.Call
GetYaml indicates an expected call of GetYaml
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) SetDeploy ¶
func (a *TestApplication) SetDeploy(spec *v1beta1.ToolsetSpec, b bool) *TestApplication
type TestYAMLApplication ¶
type TestYAMLApplication struct {
// contains filtered or unexported fields
}
func NewTestYAMLApplication ¶
func NewTestYAMLApplication(t *testing.T) *TestYAMLApplication
func (*TestYAMLApplication) Application ¶
func (a *TestYAMLApplication) Application() *MockYAMLApplication
func (*TestYAMLApplication) SetDeploy ¶
func (a *TestYAMLApplication) SetDeploy(spec *v1beta1.ToolsetSpec, b bool) *TestYAMLApplication
func (*TestYAMLApplication) SetGetYaml ¶
func (a *TestYAMLApplication) SetGetYaml(spec *v1beta1.ToolsetSpec, yaml string) *TestYAMLApplication