batch

package
v1.45.3 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2023 License: MIT Imports: 27 Imported by: 0

Documentation

Overview

Package batch is a generated GoMock package.

Package batch is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockSyncer

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

MockSyncer is a mock of Syncer interface.

func NewMockSyncer

func NewMockSyncer(ctrl *gomock.Controller) *MockSyncer

NewMockSyncer creates a new mock instance.

func (*MockSyncer) EXPECT

func (m *MockSyncer) EXPECT() *MockSyncerMockRecorder

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

func (*MockSyncer) OnSync

func (m *MockSyncer) OnSync() error

OnSync mocks base method.

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, batch *v1.RadixBatch) 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, batch interface{}) *gomock.Call

CreateSyncer indicates an expected call of CreateSyncer.

type MockSyncerMockRecorder

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

MockSyncerMockRecorder is the mock recorder for MockSyncer.

func (*MockSyncerMockRecorder) OnSync

func (mr *MockSyncerMockRecorder) OnSync() *gomock.Call

OnSync indicates an expected call of OnSync.

type Syncer

type Syncer interface {
	OnSync() error
}

func NewSyncer

func NewSyncer(kubeclient kubernetes.Interface,
	kubeutil *kube.Kube,
	radixclient radixclient.Interface,
	batch *radixv1.RadixBatch) Syncer

type SyncerFactory

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

SyncerFactory defines a factory to create a DeploymentSyncer

type SyncerFactoryFunc

type SyncerFactoryFunc func(
	kubeclient kubernetes.Interface,
	kubeutil *kube.Kube,
	radixclient radixclient.Interface,
	batch *v1.RadixBatch,
) Syncer

AlertSyncerFactoryFunc is an adapter that can be used to convert a function into a DeploymentSyncerFactory

func (SyncerFactoryFunc) CreateSyncer

func (f SyncerFactoryFunc) CreateSyncer(
	kubeclient kubernetes.Interface,
	kubeutil *kube.Kube,
	radixclient radixclient.Interface,
	batch *v1.RadixBatch,
) Syncer

Jump to

Keyboard shortcuts

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