Help us shape the future of Go! Take the 2026 Go Developer Survey

batch

package
v1.133.1 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2026 License: MIT Imports: 30 Imported by: 0

Documentation

Overview

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(ctx context.Context) error

OnSync mocks base method.

type MockSyncerMockRecorder

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

MockSyncerMockRecorder is the mock recorder for MockSyncer.

func (*MockSyncerMockRecorder) OnSync

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

OnSync indicates an expected call of OnSync.

type Syncer

type Syncer interface {
	// OnSync Syncs RadixBatch
	OnSync(ctx context.Context) error
}

Syncer of RadixBatch

func NewSyncer

func NewSyncer(kubeclient kubernetes.Interface, kubeUtil *kube.Kube, radixClient radixclient.Interface, registration *radixv1.RadixRegistration, radixBatch *radixv1.RadixBatch, config config.Config, options ...SyncerOption) Syncer

NewSyncer Constructor os RadixBatches Syncer

type SyncerOption added in v1.67.0

type SyncerOption func(syncer *syncer)

func WithClock added in v1.67.0

func WithClock(clock clock.Clock) SyncerOption

Jump to

Keyboard shortcuts

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