manager

package
v3.29.0 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2026 License: AGPL-3.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SupportEventReason = "Support"
)
View Source
const SupportModeEnvVar = "SUPPORT_MODE"

Variables

This section is empty.

Functions

This section is empty.

Types

type AdditionalMountManager

type AdditionalMountManager interface {
	AdditionalMountsChanged(ctx context.Context, doguResource *v2.Dogu) (bool, error)
	UpdateAdditionalMounts(ctx context.Context, doguResource *v2.Dogu) error
}

func NewDoguAdditionalMountManager

func NewDoguAdditionalMountManager(
	deploymentInterface appsv1client.DeploymentInterface,
	resourceGenerator resource.DoguResourceGenerator,
	fetcher cesregistry.LocalDoguFetcher,
	requirementsGenerator resource.RequirementsGenerator,
	additionalMountValidator additionalMount.Validator,
	images resource.AdditionalImages,
) AdditionalMountManager

type DeploymentManager

type DeploymentManager interface {
	GetLastStartingTime(ctx context.Context, deploymentName string) (*time.Time, error)
}

func NewDeploymentManager

func NewDeploymentManager(
	podInterface corev1.PodInterface,
	deploymentInterface appsv1.DeploymentInterface,
) DeploymentManager

type DoguExportManager

type DoguExportManager interface {
	UpdateExportMode(ctx context.Context, doguResource *v2.Dogu) error
}

func NewDoguExportManager

func NewDoguExportManager(
	doguClient doguClientV2.DoguInterface,
	podClient v1.PodInterface,
	deploymentClient appsv1.DeploymentInterface,
	resourceUpserter resource.ResourceUpserter,
	doguFetcher cesregistry.LocalDoguFetcher,
	eventRecorder record.EventRecorder,
) DoguExportManager

NewDoguExportManager creates a new doguExportManager

type DoguRestartManager

type DoguRestartManager interface {
	RestartDogu(ctx context.Context, dogu *v2.Dogu) error
}

func NewDoguRestartManager

func NewDoguRestartManager(doguClient doguClientV2.DoguInterface, deploymentClient appsv1.DeploymentInterface) DoguRestartManager

type SupportManager

type SupportManager interface {
	// HandleSupportMode handles the support flag in the dogu spec.
	HandleSupportMode(ctx context.Context, doguResource *v2.Dogu) (bool, error)
}

SupportManager includes functionality to handle the support flag for dogus in the cluster.

func NewDoguSupportManager

func NewDoguSupportManager(client client.Client, fetcher cesregistry.LocalDoguFetcher, generator resource.DoguResourceGenerator, eventRecorder record.EventRecorder) SupportManager

NewDoguSupportManager creates a new instance of doguSupportManager.

Jump to

Keyboard shortcuts

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