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 ¶
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.
Click to show internal directories.
Click to hide internal directories.