mocks

package
v1.4.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 1, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

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

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

func (m *MockCRD) IsBindable() (bool, error)

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) CleanAnnotations added in v1.4.0

func (m *MockContext) CleanAnnotations() bool

CleanAnnotations mocks base method.

func (*MockContext) Close

func (m *MockContext) Close() error

Close 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) Error

func (m *MockContext) Error(arg0 error)

Error 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) IsRemoved added in v1.4.0

func (m *MockContext) IsRemoved() bool

IsRemoved 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) CleanAnnotations added in v1.4.0

func (mr *MockContextMockRecorder) CleanAnnotations() *gomock.Call

CleanAnnotations indicates an expected call of CleanAnnotations.

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) IsRemoved added in v1.4.0

func (mr *MockContextMockRecorder) IsRemoved() *gomock.Call

IsRemoved indicates an expected call of IsRemoved.

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

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockContextProvider) Get

func (m *MockContextProvider) Get(arg0 interface{}) (pipeline.Context, error)

Get mocks base method.

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) Id

func (m *MockService) Id() *string

Id mocks base method.

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL