imagebuild

package
v0.0.7-alpha Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2026 License: AGPL-3.0 Imports: 22 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package imagebuild is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ImageBuildReconciler

type ImageBuildReconciler struct {
	Client                client.Client
	ClusterID             string
	DBImageBuildService   services.ImageBuildService
	DBResourceService     services.StackResourceService
	DBVolumeService       services.VolumeService
	GitIntegrationService services.GitIntegrationService
	Logger                logger.Logger
	// contains filtered or unexported fields
}

func NewImageBuildReconciler

func NewImageBuildReconciler(spec ImageBuildReconcilerSpec) *ImageBuildReconciler

func (*ImageBuildReconciler) AddToManager

func (r *ImageBuildReconciler) AddToManager(manager manager.Manager) error

AddToManager adds the reconciler to the manager

func (*ImageBuildReconciler) Name

func (r *ImageBuildReconciler) Name() string

func (*ImageBuildReconciler) Reconcile

func (r *ImageBuildReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

type ImageBuildReconcilerSpec

type ImageBuildReconcilerSpec struct {
	Client                client.Client
	ClusterID             string
	DBImageBuildService   services.ImageBuildService
	DBResourceService     services.StackResourceService
	GitIntegrationService services.GitIntegrationService
	Log                   logger.Logger
	ReleaseResolver       controllers.ReleaseResolver
	EventRecorder         buildEventRecorder
	StackService          stackClusterResolver
}

type MockbuildEventRecorder

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

MockbuildEventRecorder is a mock of buildEventRecorder interface.

func NewMockbuildEventRecorder

func NewMockbuildEventRecorder(ctrl *gomock.Controller) *MockbuildEventRecorder

NewMockbuildEventRecorder creates a new mock instance.

func (*MockbuildEventRecorder) EXPECT

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

func (*MockbuildEventRecorder) RecordBuildEvent

func (m *MockbuildEventRecorder) RecordBuildEvent(ctx context.Context, release *models.StackRelease, resourceName string, eventType models.ReleaseEventType, buildID string, failure *models.BuildFailureDetail) *errors.ServiceError

RecordBuildEvent mocks base method.

type MockbuildEventRecorderMockRecorder

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

MockbuildEventRecorderMockRecorder is the mock recorder for MockbuildEventRecorder.

func (*MockbuildEventRecorderMockRecorder) RecordBuildEvent

func (mr *MockbuildEventRecorderMockRecorder) RecordBuildEvent(ctx, release, resourceName, eventType, buildID, failure any) *gomock.Call

RecordBuildEvent indicates an expected call of RecordBuildEvent.

type MockstackClusterResolver

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

MockstackClusterResolver is a mock of stackClusterResolver interface.

func NewMockstackClusterResolver

func NewMockstackClusterResolver(ctrl *gomock.Controller) *MockstackClusterResolver

NewMockstackClusterResolver creates a new mock instance.

func (*MockstackClusterResolver) EXPECT

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

func (*MockstackClusterResolver) InternalGetStack

func (m *MockstackClusterResolver) InternalGetStack(ctx context.Context, ID string) (*models.Stack, *errors.ServiceError)

InternalGetStack mocks base method.

type MockstackClusterResolverMockRecorder

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

MockstackClusterResolverMockRecorder is the mock recorder for MockstackClusterResolver.

func (*MockstackClusterResolverMockRecorder) InternalGetStack

func (mr *MockstackClusterResolverMockRecorder) InternalGetStack(ctx, ID any) *gomock.Call

InternalGetStack indicates an expected call of InternalGetStack.

Jump to

Keyboard shortcuts

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