mock

package
v1.81.5 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2023 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 11 Imported by: 2

Documentation

Overview

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Index

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

ApplyManifest mocks base method.

func (*MockApplier) DeleteManifest

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

func (m *MockChartApplier) Apply(arg0 context.Context, arg1, arg2, arg3 string, arg4 ...kubernetes.ApplyOption) error

Apply mocks base method.

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

func (m *MockChartApplier) Delete(arg0 context.Context, arg1, arg2, arg3 string, arg4 ...kubernetes.DeleteOption) error

Delete 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

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

func (*MockChartApplier) Render

func (m *MockChartApplier) Render(arg0, arg1, arg2 string, arg3 interface{}) (*chartrenderer.RenderedChart, error)

Render mocks base method.

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

func (mr *MockChartApplierMockRecorder) Apply(arg0, arg1, arg2, arg3 interface{}, arg4 ...interface{}) *gomock.Call

Apply indicates an expected call of Apply.

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

func (mr *MockChartApplierMockRecorder) Delete(arg0, arg1, arg2, arg3 interface{}, arg4 ...interface{}) *gomock.Call

Delete indicates an expected call of Delete.

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

func (mr *MockChartApplierMockRecorder) Render(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

Render indicates an expected call of Render.

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

func (m *MockInterface) Cache() cache.Cache

Cache 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

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

func (m *MockInterface) Version() string

Version 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.

Jump to

Keyboard shortcuts

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