stacks

package
v0.6.43 Latest Latest
Warning

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

Go to latest
Published: May 30, 2026 License: AGPL-3.0, Apache-2.0, MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Identifier = "Stack Controller"
)

Variables

This section is empty.

Functions

func GetRunResourceName

func GetRunResourceName(run *console.StackRunMinimalFragment) string

GetRunResourceName returns a resource name used for a job and a secret connected to a given run.

Types

type StackReconciler

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

func NewStackReconciler

func NewStackReconciler(consoleClient client.Client, k8sClient ctrlclient.Client, scheme *runtime.Scheme, refresh, pollInterval time.Duration, namespace, consoleURL, deployToken string) *StackReconciler

func (*StackReconciler) GetPollInterval

func (r *StackReconciler) GetPollInterval() func() time.Duration

func (*StackReconciler) GetPublisher

func (r *StackReconciler) GetPublisher() (string, websocket.Publisher)

func (*StackReconciler) GetRunResourceNamespace

func (r *StackReconciler) GetRunResourceNamespace(jobSpec *batchv1.JobSpec) (namespace string)

GetRunResourceNamespace returns a resource namespace used for a job and a secret connected to a given run.

func (*StackReconciler) ListStacks

func (*StackReconciler) Poll

func (r *StackReconciler) Poll(ctx context.Context) error

func (*StackReconciler) Queue

func (*StackReconciler) Reconcile

func (r *StackReconciler) Reconcile(ctx context.Context, id string) (reconcile.Result, error)

func (*StackReconciler) Restart

func (r *StackReconciler) Restart()

func (*StackReconciler) Shutdown

func (r *StackReconciler) Shutdown()

func (*StackReconciler) ShutdownQueue

func (r *StackReconciler) ShutdownQueue()

func (*StackReconciler) WipeCache

func (r *StackReconciler) WipeCache()

Jump to

Keyboard shortcuts

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