Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockApplication
- func (m *MockApplication) BindablePods() (*pipeline.MetaPodSpec, error)
- func (m *MockApplication) EXPECT() *MockApplicationMockRecorder
- func (m *MockApplication) GroupVersionResource() schema.GroupVersionResource
- func (m *MockApplication) IsUpdated() bool
- func (m *MockApplication) Resource() *unstructured.Unstructured
- func (m *MockApplication) SecretPath() string
- func (m *MockApplication) SetMapping(arg0 pipeline.WorkloadMapping)
- type MockApplicationMockRecorder
- func (mr *MockApplicationMockRecorder) BindablePods() *gomock.Call
- func (mr *MockApplicationMockRecorder) GroupVersionResource() *gomock.Call
- func (mr *MockApplicationMockRecorder) IsUpdated() *gomock.Call
- func (mr *MockApplicationMockRecorder) Resource() *gomock.Call
- func (mr *MockApplicationMockRecorder) SecretPath() *gomock.Call
- func (mr *MockApplicationMockRecorder) SetMapping(arg0 interface{}) *gomock.Call
- type MockCRD
- type MockCRDMockRecorder
- type MockContext
- func (m *MockContext) AddBindingItem(arg0 *pipeline.BindingItem)
- func (m *MockContext) AddBindings(arg0 pipeline.Bindings)
- func (m *MockContext) Applications() ([]pipeline.Application, error)
- func (m *MockContext) BindAsFiles() bool
- func (m *MockContext) BindingItems() pipeline.BindingItems
- func (m *MockContext) BindingName() string
- func (m *MockContext) BindingSecretName() string
- func (m *MockContext) Close() error
- func (m *MockContext) DelayReprocessing(arg0 error)
- func (m *MockContext) EXPECT() *MockContextMockRecorder
- func (m *MockContext) EnvBindings() []*pipeline.EnvBinding
- func (m *MockContext) Error(arg0 error)
- func (m *MockContext) FlowStatus() pipeline.FlowStatus
- func (m *MockContext) HasLabelSelector() bool
- func (m *MockContext) Mappings() map[string]string
- func (m *MockContext) NamingTemplate() string
- func (m *MockContext) PersistSecret() error
- func (m *MockContext) ReadConfigMap(arg0, arg1 string) (*unstructured.Unstructured, error)
- func (m *MockContext) ReadSecret(arg0, arg1 string) (*unstructured.Unstructured, error)
- func (m *MockContext) RetryProcessing(arg0 error)
- func (m *MockContext) Services() ([]pipeline.Service, error)
- func (m *MockContext) SetCondition(arg0 *v1.Condition)
- func (m *MockContext) StopProcessing()
- func (m *MockContext) UnbindRequested() bool
- func (m *MockContext) WorkloadResourceTemplate(arg0 *schema.GroupVersionResource, arg1 string) (*pipeline.WorkloadMapping, error)
- type MockContextMockRecorder
- func (mr *MockContextMockRecorder) AddBindingItem(arg0 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) AddBindings(arg0 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) Applications() *gomock.Call
- func (mr *MockContextMockRecorder) BindAsFiles() *gomock.Call
- func (mr *MockContextMockRecorder) BindingItems() *gomock.Call
- func (mr *MockContextMockRecorder) BindingName() *gomock.Call
- func (mr *MockContextMockRecorder) BindingSecretName() *gomock.Call
- func (mr *MockContextMockRecorder) Close() *gomock.Call
- func (mr *MockContextMockRecorder) DelayReprocessing(arg0 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) EnvBindings() *gomock.Call
- func (mr *MockContextMockRecorder) Error(arg0 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) FlowStatus() *gomock.Call
- func (mr *MockContextMockRecorder) HasLabelSelector() *gomock.Call
- func (mr *MockContextMockRecorder) Mappings() *gomock.Call
- func (mr *MockContextMockRecorder) NamingTemplate() *gomock.Call
- func (mr *MockContextMockRecorder) PersistSecret() *gomock.Call
- func (mr *MockContextMockRecorder) ReadConfigMap(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) ReadSecret(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) RetryProcessing(arg0 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) Services() *gomock.Call
- func (mr *MockContextMockRecorder) SetCondition(arg0 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) StopProcessing() *gomock.Call
- func (mr *MockContextMockRecorder) UnbindRequested() *gomock.Call
- func (mr *MockContextMockRecorder) WorkloadResourceTemplate(arg0, arg1 interface{}) *gomock.Call
- type MockContextProvider
- type MockContextProviderMockRecorder
- type MockHandler
- type MockHandlerMockRecorder
- type MockService
- func (m *MockService) AddBindingDef(arg0 binding.Definition)
- func (m *MockService) BindingDefs() []binding.Definition
- func (m *MockService) CustomResourceDefinition() (pipeline.CRD, error)
- func (m *MockService) EXPECT() *MockServiceMockRecorder
- func (m *MockService) Id() *string
- func (m *MockService) IsBindable() (bool, error)
- func (m *MockService) OwnedResources() ([]*unstructured.Unstructured, error)
- func (m *MockService) Resource() *unstructured.Unstructured
- type MockServiceMockRecorder
- func (mr *MockServiceMockRecorder) AddBindingDef(arg0 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) BindingDefs() *gomock.Call
- func (mr *MockServiceMockRecorder) CustomResourceDefinition() *gomock.Call
- func (mr *MockServiceMockRecorder) Id() *gomock.Call
- func (mr *MockServiceMockRecorder) IsBindable() *gomock.Call
- func (mr *MockServiceMockRecorder) OwnedResources() *gomock.Call
- func (mr *MockServiceMockRecorder) Resource() *gomock.Call
Constants ¶
This section is empty.
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) BindablePods ¶ added in v1.1.0
func (m *MockApplication) BindablePods() (*pipeline.MetaPodSpec, error)
BindablePods 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) GroupVersionResource ¶ added in v1.1.0
func (m *MockApplication) GroupVersionResource() schema.GroupVersionResource
GroupVersionResource mocks base method.
func (*MockApplication) IsUpdated ¶ added in v1.1.0
func (m *MockApplication) IsUpdated() bool
IsUpdated mocks base method.
func (*MockApplication) Resource ¶
func (m *MockApplication) Resource() *unstructured.Unstructured
Resource mocks base method.
func (*MockApplication) SecretPath ¶
func (m *MockApplication) SecretPath() string
SecretPath mocks base method.
func (*MockApplication) SetMapping ¶ added in v1.1.0
func (m *MockApplication) SetMapping(arg0 pipeline.WorkloadMapping)
SetMapping mocks base method.
type MockApplicationMockRecorder ¶
type MockApplicationMockRecorder struct {
// contains filtered or unexported fields
}
MockApplicationMockRecorder is the mock recorder for MockApplication.
func (*MockApplicationMockRecorder) BindablePods ¶ added in v1.1.0
func (mr *MockApplicationMockRecorder) BindablePods() *gomock.Call
BindablePods indicates an expected call of BindablePods.
func (*MockApplicationMockRecorder) GroupVersionResource ¶ added in v1.1.0
func (mr *MockApplicationMockRecorder) GroupVersionResource() *gomock.Call
GroupVersionResource indicates an expected call of GroupVersionResource.
func (*MockApplicationMockRecorder) IsUpdated ¶ added in v1.1.0
func (mr *MockApplicationMockRecorder) IsUpdated() *gomock.Call
IsUpdated indicates an expected call of IsUpdated.
func (*MockApplicationMockRecorder) Resource ¶
func (mr *MockApplicationMockRecorder) Resource() *gomock.Call
Resource indicates an expected call of Resource.
func (*MockApplicationMockRecorder) SecretPath ¶
func (mr *MockApplicationMockRecorder) SecretPath() *gomock.Call
SecretPath indicates an expected call of SecretPath.
func (*MockApplicationMockRecorder) SetMapping ¶ added in v1.1.0
func (mr *MockApplicationMockRecorder) SetMapping(arg0 interface{}) *gomock.Call
SetMapping indicates an expected call of SetMapping.
type MockCRD ¶
type MockCRD struct {
// contains filtered or unexported fields
}
MockCRD is a mock of CRD interface.
func NewMockCRD ¶
func NewMockCRD(ctrl *gomock.Controller) *MockCRD
NewMockCRD creates a new mock instance.
func (*MockCRD) EXPECT ¶
func (m *MockCRD) EXPECT() *MockCRDMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCRD) IsBindable ¶ added in v0.11.0
IsBindable mocks base method.
func (*MockCRD) Resource ¶
func (m *MockCRD) Resource() *unstructured.Unstructured
Resource mocks base method.
type MockCRDMockRecorder ¶
type MockCRDMockRecorder struct {
// contains filtered or unexported fields
}
MockCRDMockRecorder is the mock recorder for MockCRD.
func (*MockCRDMockRecorder) IsBindable ¶ added in v0.11.0
func (mr *MockCRDMockRecorder) IsBindable() *gomock.Call
IsBindable indicates an expected call of IsBindable.
func (*MockCRDMockRecorder) Resource ¶
func (mr *MockCRDMockRecorder) Resource() *gomock.Call
Resource indicates an expected call of Resource.
type MockContext ¶
type MockContext struct {
// contains filtered or unexported fields
}
MockContext is a mock of Context interface.
func NewMockContext ¶
func NewMockContext(ctrl *gomock.Controller) *MockContext
NewMockContext creates a new mock instance.
func (*MockContext) AddBindingItem ¶
func (m *MockContext) AddBindingItem(arg0 *pipeline.BindingItem)
AddBindingItem mocks base method.
func (*MockContext) AddBindings ¶ added in v0.8.0
func (m *MockContext) AddBindings(arg0 pipeline.Bindings)
AddBindings mocks base method.
func (*MockContext) Applications ¶
func (m *MockContext) Applications() ([]pipeline.Application, error)
Applications mocks base method.
func (*MockContext) BindAsFiles ¶
func (m *MockContext) BindAsFiles() bool
BindAsFiles mocks base method.
func (*MockContext) BindingItems ¶
func (m *MockContext) BindingItems() pipeline.BindingItems
BindingItems mocks base method.
func (*MockContext) BindingName ¶
func (m *MockContext) BindingName() string
BindingName mocks base method.
func (*MockContext) BindingSecretName ¶
func (m *MockContext) BindingSecretName() string
BindingSecretName mocks base method.
func (*MockContext) DelayReprocessing ¶ added in v1.1.0
func (m *MockContext) DelayReprocessing(arg0 error)
DelayReprocessing mocks base method.
func (*MockContext) EXPECT ¶
func (m *MockContext) EXPECT() *MockContextMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockContext) EnvBindings ¶ added in v0.9.0
func (m *MockContext) EnvBindings() []*pipeline.EnvBinding
EnvBindings mocks base method.
func (*MockContext) FlowStatus ¶
func (m *MockContext) FlowStatus() pipeline.FlowStatus
FlowStatus mocks base method.
func (*MockContext) HasLabelSelector ¶ added in v1.1.0
func (m *MockContext) HasLabelSelector() bool
HasLabelSelector mocks base method.
func (*MockContext) Mappings ¶
func (m *MockContext) Mappings() map[string]string
Mappings mocks base method.
func (*MockContext) NamingTemplate ¶
func (m *MockContext) NamingTemplate() string
NamingTemplate mocks base method.
func (*MockContext) PersistSecret ¶ added in v1.2.0
func (m *MockContext) PersistSecret() error
PersistSecret mocks base method.
func (*MockContext) ReadConfigMap ¶
func (m *MockContext) ReadConfigMap(arg0, arg1 string) (*unstructured.Unstructured, error)
ReadConfigMap mocks base method.
func (*MockContext) ReadSecret ¶
func (m *MockContext) ReadSecret(arg0, arg1 string) (*unstructured.Unstructured, error)
ReadSecret mocks base method.
func (*MockContext) RetryProcessing ¶
func (m *MockContext) RetryProcessing(arg0 error)
RetryProcessing mocks base method.
func (*MockContext) Services ¶
func (m *MockContext) Services() ([]pipeline.Service, error)
Services mocks base method.
func (*MockContext) SetCondition ¶
func (m *MockContext) SetCondition(arg0 *v1.Condition)
SetCondition mocks base method.
func (*MockContext) StopProcessing ¶
func (m *MockContext) StopProcessing()
StopProcessing mocks base method.
func (*MockContext) UnbindRequested ¶
func (m *MockContext) UnbindRequested() bool
UnbindRequested mocks base method.
func (*MockContext) WorkloadResourceTemplate ¶ added in v1.1.0
func (m *MockContext) WorkloadResourceTemplate(arg0 *schema.GroupVersionResource, arg1 string) (*pipeline.WorkloadMapping, error)
WorkloadResourceTemplate mocks base method.
type MockContextMockRecorder ¶
type MockContextMockRecorder struct {
// contains filtered or unexported fields
}
MockContextMockRecorder is the mock recorder for MockContext.
func (*MockContextMockRecorder) AddBindingItem ¶
func (mr *MockContextMockRecorder) AddBindingItem(arg0 interface{}) *gomock.Call
AddBindingItem indicates an expected call of AddBindingItem.
func (*MockContextMockRecorder) AddBindings ¶ added in v0.8.0
func (mr *MockContextMockRecorder) AddBindings(arg0 interface{}) *gomock.Call
AddBindings indicates an expected call of AddBindings.
func (*MockContextMockRecorder) Applications ¶
func (mr *MockContextMockRecorder) Applications() *gomock.Call
Applications indicates an expected call of Applications.
func (*MockContextMockRecorder) BindAsFiles ¶
func (mr *MockContextMockRecorder) BindAsFiles() *gomock.Call
BindAsFiles indicates an expected call of BindAsFiles.
func (*MockContextMockRecorder) BindingItems ¶
func (mr *MockContextMockRecorder) BindingItems() *gomock.Call
BindingItems indicates an expected call of BindingItems.
func (*MockContextMockRecorder) BindingName ¶
func (mr *MockContextMockRecorder) BindingName() *gomock.Call
BindingName indicates an expected call of BindingName.
func (*MockContextMockRecorder) BindingSecretName ¶
func (mr *MockContextMockRecorder) BindingSecretName() *gomock.Call
BindingSecretName indicates an expected call of BindingSecretName.
func (*MockContextMockRecorder) Close ¶
func (mr *MockContextMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockContextMockRecorder) DelayReprocessing ¶ added in v1.1.0
func (mr *MockContextMockRecorder) DelayReprocessing(arg0 interface{}) *gomock.Call
DelayReprocessing indicates an expected call of DelayReprocessing.
func (*MockContextMockRecorder) EnvBindings ¶ added in v0.9.0
func (mr *MockContextMockRecorder) EnvBindings() *gomock.Call
EnvBindings indicates an expected call of EnvBindings.
func (*MockContextMockRecorder) Error ¶
func (mr *MockContextMockRecorder) Error(arg0 interface{}) *gomock.Call
Error indicates an expected call of Error.
func (*MockContextMockRecorder) FlowStatus ¶
func (mr *MockContextMockRecorder) FlowStatus() *gomock.Call
FlowStatus indicates an expected call of FlowStatus.
func (*MockContextMockRecorder) HasLabelSelector ¶ added in v1.1.0
func (mr *MockContextMockRecorder) HasLabelSelector() *gomock.Call
HasLabelSelector indicates an expected call of HasLabelSelector.
func (*MockContextMockRecorder) Mappings ¶
func (mr *MockContextMockRecorder) Mappings() *gomock.Call
Mappings indicates an expected call of Mappings.
func (*MockContextMockRecorder) NamingTemplate ¶
func (mr *MockContextMockRecorder) NamingTemplate() *gomock.Call
NamingTemplate indicates an expected call of NamingTemplate.
func (*MockContextMockRecorder) PersistSecret ¶ added in v1.2.0
func (mr *MockContextMockRecorder) PersistSecret() *gomock.Call
PersistSecret indicates an expected call of PersistSecret.
func (*MockContextMockRecorder) ReadConfigMap ¶
func (mr *MockContextMockRecorder) ReadConfigMap(arg0, arg1 interface{}) *gomock.Call
ReadConfigMap indicates an expected call of ReadConfigMap.
func (*MockContextMockRecorder) ReadSecret ¶
func (mr *MockContextMockRecorder) ReadSecret(arg0, arg1 interface{}) *gomock.Call
ReadSecret indicates an expected call of ReadSecret.
func (*MockContextMockRecorder) RetryProcessing ¶
func (mr *MockContextMockRecorder) RetryProcessing(arg0 interface{}) *gomock.Call
RetryProcessing indicates an expected call of RetryProcessing.
func (*MockContextMockRecorder) Services ¶
func (mr *MockContextMockRecorder) Services() *gomock.Call
Services indicates an expected call of Services.
func (*MockContextMockRecorder) SetCondition ¶
func (mr *MockContextMockRecorder) SetCondition(arg0 interface{}) *gomock.Call
SetCondition indicates an expected call of SetCondition.
func (*MockContextMockRecorder) StopProcessing ¶
func (mr *MockContextMockRecorder) StopProcessing() *gomock.Call
StopProcessing indicates an expected call of StopProcessing.
func (*MockContextMockRecorder) UnbindRequested ¶
func (mr *MockContextMockRecorder) UnbindRequested() *gomock.Call
UnbindRequested indicates an expected call of UnbindRequested.
func (*MockContextMockRecorder) WorkloadResourceTemplate ¶ added in v1.1.0
func (mr *MockContextMockRecorder) WorkloadResourceTemplate(arg0, arg1 interface{}) *gomock.Call
WorkloadResourceTemplate indicates an expected call of WorkloadResourceTemplate.
type MockContextProvider ¶
type MockContextProvider struct {
// contains filtered or unexported fields
}
MockContextProvider is a mock of ContextProvider interface.
func NewMockContextProvider ¶
func NewMockContextProvider(ctrl *gomock.Controller) *MockContextProvider
NewMockContextProvider creates a new mock instance.
func (*MockContextProvider) EXPECT ¶
func (m *MockContextProvider) EXPECT() *MockContextProviderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockContextProviderMockRecorder ¶
type MockContextProviderMockRecorder struct {
// contains filtered or unexported fields
}
MockContextProviderMockRecorder is the mock recorder for MockContextProvider.
func (*MockContextProviderMockRecorder) Get ¶
func (mr *MockContextProviderMockRecorder) Get(arg0 interface{}) *gomock.Call
Get indicates an expected call of Get.
type MockHandler ¶
type MockHandler struct {
// contains filtered or unexported fields
}
MockHandler is a mock of Handler interface.
func NewMockHandler ¶
func NewMockHandler(ctrl *gomock.Controller) *MockHandler
NewMockHandler creates a new mock instance.
func (*MockHandler) EXPECT ¶
func (m *MockHandler) EXPECT() *MockHandlerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockHandler) Handle ¶
func (m *MockHandler) Handle(arg0 pipeline.Context)
Handle mocks base method.
type MockHandlerMockRecorder ¶
type MockHandlerMockRecorder struct {
// contains filtered or unexported fields
}
MockHandlerMockRecorder is the mock recorder for MockHandler.
func (*MockHandlerMockRecorder) Handle ¶
func (mr *MockHandlerMockRecorder) Handle(arg0 interface{}) *gomock.Call
Handle indicates an expected call of Handle.
type MockService ¶
type MockService struct {
// contains filtered or unexported fields
}
MockService is a mock of Service interface.
func NewMockService ¶
func NewMockService(ctrl *gomock.Controller) *MockService
NewMockService creates a new mock instance.
func (*MockService) AddBindingDef ¶
func (m *MockService) AddBindingDef(arg0 binding.Definition)
AddBindingDef mocks base method.
func (*MockService) BindingDefs ¶
func (m *MockService) BindingDefs() []binding.Definition
BindingDefs mocks base method.
func (*MockService) CustomResourceDefinition ¶
func (m *MockService) CustomResourceDefinition() (pipeline.CRD, error)
CustomResourceDefinition mocks base method.
func (*MockService) EXPECT ¶
func (m *MockService) EXPECT() *MockServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockService) IsBindable ¶ added in v0.11.0
func (m *MockService) IsBindable() (bool, error)
IsBindable mocks base method.
func (*MockService) OwnedResources ¶
func (m *MockService) OwnedResources() ([]*unstructured.Unstructured, error)
OwnedResources mocks base method.
func (*MockService) Resource ¶
func (m *MockService) Resource() *unstructured.Unstructured
Resource mocks base method.
type MockServiceMockRecorder ¶
type MockServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockServiceMockRecorder is the mock recorder for MockService.
func (*MockServiceMockRecorder) AddBindingDef ¶
func (mr *MockServiceMockRecorder) AddBindingDef(arg0 interface{}) *gomock.Call
AddBindingDef indicates an expected call of AddBindingDef.
func (*MockServiceMockRecorder) BindingDefs ¶
func (mr *MockServiceMockRecorder) BindingDefs() *gomock.Call
BindingDefs indicates an expected call of BindingDefs.
func (*MockServiceMockRecorder) CustomResourceDefinition ¶
func (mr *MockServiceMockRecorder) CustomResourceDefinition() *gomock.Call
CustomResourceDefinition indicates an expected call of CustomResourceDefinition.
func (*MockServiceMockRecorder) Id ¶
func (mr *MockServiceMockRecorder) Id() *gomock.Call
Id indicates an expected call of Id.
func (*MockServiceMockRecorder) IsBindable ¶ added in v0.11.0
func (mr *MockServiceMockRecorder) IsBindable() *gomock.Call
IsBindable indicates an expected call of IsBindable.
func (*MockServiceMockRecorder) OwnedResources ¶
func (mr *MockServiceMockRecorder) OwnedResources() *gomock.Call
OwnedResources indicates an expected call of OwnedResources.
func (*MockServiceMockRecorder) Resource ¶
func (mr *MockServiceMockRecorder) Resource() *gomock.Call
Resource indicates an expected call of Resource.