Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Index ¶
- type MockApplier
- type MockApplierMockRecorder
- type MockChartApplier
- func (m *MockChartApplier) ApplyFromEmbeddedFS(arg0 context.Context, arg1 embed.FS, arg2, arg3, arg4 string, ...) error
- func (m *MockChartApplier) DeleteFromEmbeddedFS(arg0 context.Context, arg1 embed.FS, arg2, arg3, arg4 string, ...) error
- func (m *MockChartApplier) EXPECT() *MockChartApplierMockRecorder
- func (m *MockChartApplier) RenderArchive(arg0 []byte, arg1, arg2 string, arg3 interface{}) (*chartrenderer.RenderedChart, error)
- func (m *MockChartApplier) RenderEmbeddedFS(arg0 embed.FS, arg1, arg2, arg3 string, arg4 interface{}) (*chartrenderer.RenderedChart, error)
- type MockChartApplierMockRecorder
- func (mr *MockChartApplierMockRecorder) ApplyFromEmbeddedFS(arg0, arg1, arg2, arg3, arg4 interface{}, arg5 ...interface{}) *gomock.Call
- func (mr *MockChartApplierMockRecorder) DeleteFromEmbeddedFS(arg0, arg1, arg2, arg3, arg4 interface{}, arg5 ...interface{}) *gomock.Call
- func (mr *MockChartApplierMockRecorder) RenderArchive(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockChartApplierMockRecorder) RenderEmbeddedFS(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- type MockInterface
- func (m *MockInterface) APIReader() client.Reader
- func (m *MockInterface) Applier() kubernetes.Applier
- func (m *MockInterface) Cache() cache.Cache
- func (m *MockInterface) ChartApplier() kubernetes.ChartApplier
- func (m *MockInterface) ChartRenderer() chartrenderer.Interface
- func (m *MockInterface) Client() client.Client
- func (m *MockInterface) DiscoverVersion() (*version.Info, error)
- func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder
- func (m *MockInterface) Kubernetes() kubernetes0.Interface
- func (m *MockInterface) RESTClient() rest.Interface
- func (m *MockInterface) RESTConfig() *rest.Config
- func (m *MockInterface) Start(arg0 context.Context)
- func (m *MockInterface) Version() string
- func (m *MockInterface) WaitForCacheSync(arg0 context.Context) bool
- type MockInterfaceMockRecorder
- func (mr *MockInterfaceMockRecorder) APIReader() *gomock.Call
- func (mr *MockInterfaceMockRecorder) Applier() *gomock.Call
- func (mr *MockInterfaceMockRecorder) Cache() *gomock.Call
- func (mr *MockInterfaceMockRecorder) ChartApplier() *gomock.Call
- func (mr *MockInterfaceMockRecorder) ChartRenderer() *gomock.Call
- func (mr *MockInterfaceMockRecorder) Client() *gomock.Call
- func (mr *MockInterfaceMockRecorder) DiscoverVersion() *gomock.Call
- func (mr *MockInterfaceMockRecorder) Kubernetes() *gomock.Call
- func (mr *MockInterfaceMockRecorder) RESTClient() *gomock.Call
- func (mr *MockInterfaceMockRecorder) RESTConfig() *gomock.Call
- func (mr *MockInterfaceMockRecorder) Start(arg0 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) Version() *gomock.Call
- func (mr *MockInterfaceMockRecorder) WaitForCacheSync(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockApplier ¶
type MockApplier struct {
// contains filtered or unexported fields
}
MockApplier is a mock of Applier interface.
func NewMockApplier ¶
func NewMockApplier(ctrl *gomock.Controller) *MockApplier
NewMockApplier creates a new mock instance.
func (*MockApplier) ApplyManifest ¶
func (m *MockApplier) ApplyManifest(arg0 context.Context, arg1 kubernetes.UnstructuredReader, arg2 kubernetes.MergeFuncs) error
ApplyManifest mocks base method.
func (*MockApplier) DeleteManifest ¶
func (m *MockApplier) DeleteManifest(arg0 context.Context, arg1 kubernetes.UnstructuredReader, arg2 ...kubernetes.DeleteManifestOption) error
DeleteManifest mocks base method.
func (*MockApplier) EXPECT ¶
func (m *MockApplier) EXPECT() *MockApplierMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockApplierMockRecorder ¶
type MockApplierMockRecorder struct {
// contains filtered or unexported fields
}
MockApplierMockRecorder is the mock recorder for MockApplier.
func (*MockApplierMockRecorder) ApplyManifest ¶
func (mr *MockApplierMockRecorder) ApplyManifest(arg0, arg1, arg2 interface{}) *gomock.Call
ApplyManifest indicates an expected call of ApplyManifest.
func (*MockApplierMockRecorder) DeleteManifest ¶
func (mr *MockApplierMockRecorder) DeleteManifest(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
DeleteManifest indicates an expected call of DeleteManifest.
type MockChartApplier ¶
type MockChartApplier struct {
// contains filtered or unexported fields
}
MockChartApplier is a mock of ChartApplier interface.
func NewMockChartApplier ¶
func NewMockChartApplier(ctrl *gomock.Controller) *MockChartApplier
NewMockChartApplier creates a new mock instance.
func (*MockChartApplier) ApplyFromEmbeddedFS ¶ added in v1.50.0
func (m *MockChartApplier) ApplyFromEmbeddedFS(arg0 context.Context, arg1 embed.FS, arg2, arg3, arg4 string, arg5 ...kubernetes.ApplyOption) error
ApplyFromEmbeddedFS mocks base method.
func (*MockChartApplier) DeleteFromEmbeddedFS ¶ added in v1.50.0
func (m *MockChartApplier) DeleteFromEmbeddedFS(arg0 context.Context, arg1 embed.FS, arg2, arg3, arg4 string, arg5 ...kubernetes.DeleteOption) error
DeleteFromEmbeddedFS mocks base method.
func (*MockChartApplier) EXPECT ¶
func (m *MockChartApplier) EXPECT() *MockChartApplierMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockChartApplier) RenderArchive ¶
func (m *MockChartApplier) RenderArchive(arg0 []byte, arg1, arg2 string, arg3 interface{}) (*chartrenderer.RenderedChart, error)
RenderArchive mocks base method.
func (*MockChartApplier) RenderEmbeddedFS ¶ added in v1.50.0
func (m *MockChartApplier) RenderEmbeddedFS(arg0 embed.FS, arg1, arg2, arg3 string, arg4 interface{}) (*chartrenderer.RenderedChart, error)
RenderEmbeddedFS mocks base method.
type MockChartApplierMockRecorder ¶
type MockChartApplierMockRecorder struct {
// contains filtered or unexported fields
}
MockChartApplierMockRecorder is the mock recorder for MockChartApplier.
func (*MockChartApplierMockRecorder) ApplyFromEmbeddedFS ¶ added in v1.50.0
func (mr *MockChartApplierMockRecorder) ApplyFromEmbeddedFS(arg0, arg1, arg2, arg3, arg4 interface{}, arg5 ...interface{}) *gomock.Call
ApplyFromEmbeddedFS indicates an expected call of ApplyFromEmbeddedFS.
func (*MockChartApplierMockRecorder) DeleteFromEmbeddedFS ¶ added in v1.50.0
func (mr *MockChartApplierMockRecorder) DeleteFromEmbeddedFS(arg0, arg1, arg2, arg3, arg4 interface{}, arg5 ...interface{}) *gomock.Call
DeleteFromEmbeddedFS indicates an expected call of DeleteFromEmbeddedFS.
func (*MockChartApplierMockRecorder) RenderArchive ¶
func (mr *MockChartApplierMockRecorder) RenderArchive(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
RenderArchive indicates an expected call of RenderArchive.
func (*MockChartApplierMockRecorder) RenderEmbeddedFS ¶ added in v1.50.0
func (mr *MockChartApplierMockRecorder) RenderEmbeddedFS(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
RenderEmbeddedFS indicates an expected call of RenderEmbeddedFS.
type MockInterface ¶
type MockInterface struct {
// contains filtered or unexported fields
}
MockInterface is a mock of Interface interface.
func NewMockInterface ¶
func NewMockInterface(ctrl *gomock.Controller) *MockInterface
NewMockInterface creates a new mock instance.
func (*MockInterface) APIReader ¶
func (m *MockInterface) APIReader() client.Reader
APIReader mocks base method.
func (*MockInterface) Applier ¶
func (m *MockInterface) Applier() kubernetes.Applier
Applier mocks base method.
func (*MockInterface) ChartApplier ¶
func (m *MockInterface) ChartApplier() kubernetes.ChartApplier
ChartApplier mocks base method.
func (*MockInterface) ChartRenderer ¶
func (m *MockInterface) ChartRenderer() chartrenderer.Interface
ChartRenderer mocks base method.
func (*MockInterface) Client ¶
func (m *MockInterface) Client() client.Client
Client mocks base method.
func (*MockInterface) DiscoverVersion ¶
func (m *MockInterface) DiscoverVersion() (*version.Info, error)
DiscoverVersion mocks base method.
func (*MockInterface) EXPECT ¶
func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockInterface) Kubernetes ¶
func (m *MockInterface) Kubernetes() kubernetes0.Interface
Kubernetes mocks base method.
func (*MockInterface) RESTClient ¶
func (m *MockInterface) RESTClient() rest.Interface
RESTClient mocks base method.
func (*MockInterface) RESTConfig ¶
func (m *MockInterface) RESTConfig() *rest.Config
RESTConfig mocks base method.
func (*MockInterface) Start ¶
func (m *MockInterface) Start(arg0 context.Context)
Start mocks base method.
func (*MockInterface) WaitForCacheSync ¶
func (m *MockInterface) WaitForCacheSync(arg0 context.Context) bool
WaitForCacheSync mocks base method.
type MockInterfaceMockRecorder ¶
type MockInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockInterfaceMockRecorder is the mock recorder for MockInterface.
func (*MockInterfaceMockRecorder) APIReader ¶
func (mr *MockInterfaceMockRecorder) APIReader() *gomock.Call
APIReader indicates an expected call of APIReader.
func (*MockInterfaceMockRecorder) Applier ¶
func (mr *MockInterfaceMockRecorder) Applier() *gomock.Call
Applier indicates an expected call of Applier.
func (*MockInterfaceMockRecorder) Cache ¶
func (mr *MockInterfaceMockRecorder) Cache() *gomock.Call
Cache indicates an expected call of Cache.
func (*MockInterfaceMockRecorder) ChartApplier ¶
func (mr *MockInterfaceMockRecorder) ChartApplier() *gomock.Call
ChartApplier indicates an expected call of ChartApplier.
func (*MockInterfaceMockRecorder) ChartRenderer ¶
func (mr *MockInterfaceMockRecorder) ChartRenderer() *gomock.Call
ChartRenderer indicates an expected call of ChartRenderer.
func (*MockInterfaceMockRecorder) Client ¶
func (mr *MockInterfaceMockRecorder) Client() *gomock.Call
Client indicates an expected call of Client.
func (*MockInterfaceMockRecorder) DiscoverVersion ¶
func (mr *MockInterfaceMockRecorder) DiscoverVersion() *gomock.Call
DiscoverVersion indicates an expected call of DiscoverVersion.
func (*MockInterfaceMockRecorder) Kubernetes ¶
func (mr *MockInterfaceMockRecorder) Kubernetes() *gomock.Call
Kubernetes indicates an expected call of Kubernetes.
func (*MockInterfaceMockRecorder) RESTClient ¶
func (mr *MockInterfaceMockRecorder) RESTClient() *gomock.Call
RESTClient indicates an expected call of RESTClient.
func (*MockInterfaceMockRecorder) RESTConfig ¶
func (mr *MockInterfaceMockRecorder) RESTConfig() *gomock.Call
RESTConfig indicates an expected call of RESTConfig.
func (*MockInterfaceMockRecorder) Start ¶
func (mr *MockInterfaceMockRecorder) Start(arg0 interface{}) *gomock.Call
Start indicates an expected call of Start.
func (*MockInterfaceMockRecorder) Version ¶
func (mr *MockInterfaceMockRecorder) Version() *gomock.Call
Version indicates an expected call of Version.
func (*MockInterfaceMockRecorder) WaitForCacheSync ¶
func (mr *MockInterfaceMockRecorder) WaitForCacheSync(arg0 interface{}) *gomock.Call
WaitForCacheSync indicates an expected call of WaitForCacheSync.