internal

package
v1.58.1 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package internal is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockSyncerFactory

type MockSyncerFactory struct {
	// contains filtered or unexported fields
}

MockSyncerFactory is a mock of SyncerFactory interface.

func NewMockSyncerFactory

func NewMockSyncerFactory(ctrl *gomock.Controller) *MockSyncerFactory

NewMockSyncerFactory creates a new mock instance.

func (*MockSyncerFactory) CreateSyncer

func (m *MockSyncerFactory) CreateSyncer(kubeclient kubernetes.Interface, kubeutil *kube.Kube, radixclient versioned.Interface, radixBatch *v1.RadixBatch, config *config.Config) batch.Syncer

CreateSyncer mocks base method.

func (*MockSyncerFactory) EXPECT

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

type MockSyncerFactoryMockRecorder

type MockSyncerFactoryMockRecorder struct {
	// contains filtered or unexported fields
}

MockSyncerFactoryMockRecorder is the mock recorder for MockSyncerFactory.

func (*MockSyncerFactoryMockRecorder) CreateSyncer

func (mr *MockSyncerFactoryMockRecorder) CreateSyncer(kubeclient, kubeutil, radixclient, radixBatch, config interface{}) *gomock.Call

CreateSyncer indicates an expected call of CreateSyncer.

type SyncerFactory

type SyncerFactory interface {
	CreateSyncer(
		kubeclient kubernetes.Interface,
		kubeutil *kube.Kube,
		radixclient radixclient.Interface,
		radixBatch *radixv1.RadixBatch,
		config *config.Config) batch.Syncer
}

SyncerFactory defines a factory to create a RadixBatches Syncer

type SyncerFactoryFunc

type SyncerFactoryFunc func(
	kubeclient kubernetes.Interface,
	kubeutil *kube.Kube,
	radixclient radixclient.Interface,
	radixBatch *radixv1.RadixBatch,
	config *config.Config,
) batch.Syncer

SyncerFactoryFunc is an adapter that can be used to convert a function into a SyncerFactory

func (SyncerFactoryFunc) CreateSyncer

func (f SyncerFactoryFunc) CreateSyncer(
	kubeclient kubernetes.Interface,
	kubeutil *kube.Kube,
	radixclient radixclient.Interface,
	radixBatch *radixv1.RadixBatch,
	config *config.Config,
) batch.Syncer

Jump to

Keyboard shortcuts

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