mock

package
v1.103.2 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2024 License: Apache-2.0 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 any) *gomock.Call

ApplyManifest indicates an expected call of ApplyManifest.

func (*MockApplierMockRecorder) DeleteManifest

func (mr *MockApplierMockRecorder) DeleteManifest(arg0, arg1 any, arg2 ...any) *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) ApplyFromArchive added in v1.97.0

func (m *MockChartApplier) ApplyFromArchive(arg0 context.Context, arg1 []byte, arg2, arg3 string, arg4 ...kubernetes.ApplyOption) error

ApplyFromArchive 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) DeleteFromArchive added in v1.97.0

func (m *MockChartApplier) DeleteFromArchive(arg0 context.Context, arg1 []byte, arg2, arg3 string, arg4 ...kubernetes.DeleteOption) error

DeleteFromArchive 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) RenderArchive

func (m *MockChartApplier) RenderArchive(arg0 []byte, arg1, arg2 string, arg3 any) (*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 any) (*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) ApplyFromArchive added in v1.97.0

func (mr *MockChartApplierMockRecorder) ApplyFromArchive(arg0, arg1, arg2, arg3 any, arg4 ...any) *gomock.Call

ApplyFromArchive indicates an expected call of ApplyFromArchive.

func (*MockChartApplierMockRecorder) ApplyFromEmbeddedFS added in v1.50.0

func (mr *MockChartApplierMockRecorder) ApplyFromEmbeddedFS(arg0, arg1, arg2, arg3, arg4 any, arg5 ...any) *gomock.Call

ApplyFromEmbeddedFS indicates an expected call of ApplyFromEmbeddedFS.

func (*MockChartApplierMockRecorder) DeleteFromArchive added in v1.97.0

func (mr *MockChartApplierMockRecorder) DeleteFromArchive(arg0, arg1, arg2, arg3 any, arg4 ...any) *gomock.Call

DeleteFromArchive indicates an expected call of DeleteFromArchive.

func (*MockChartApplierMockRecorder) DeleteFromEmbeddedFS added in v1.50.0

func (mr *MockChartApplierMockRecorder) DeleteFromEmbeddedFS(arg0, arg1, arg2, arg3, arg4 any, arg5 ...any) *gomock.Call

DeleteFromEmbeddedFS indicates an expected call of DeleteFromEmbeddedFS.

func (*MockChartApplierMockRecorder) RenderArchive

func (mr *MockChartApplierMockRecorder) RenderArchive(arg0, arg1, arg2, arg3 any) *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 any) *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 any) *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 any) *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