sentinel

package
v0.6.40 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	Identifier = "Sentinel Controller"
)

Variables

This section is empty.

Functions

func GetRunResourceName

func GetRunResourceName(run *console.SentinelRunJobFragment) string

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

Types

type SentinelReconciler

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

func NewSentinelReconciler

func NewSentinelReconciler(namespaceCache streamline.NamespaceCache, consoleClient client.Client, k8sClient ctrlclient.Client, scheme *runtime.Scheme, refresh, pollInterval time.Duration, namespace, consoleURL, deployToken string) *SentinelReconciler

func (*SentinelReconciler) GetPollInterval

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

func (*SentinelReconciler) GetPublisher

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

func (*SentinelReconciler) GetRunResourceNamespace

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

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

func (*SentinelReconciler) Poll

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

func (*SentinelReconciler) Queue

func (*SentinelReconciler) Reconcile

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

func (*SentinelReconciler) Restart

func (r *SentinelReconciler) Restart()

func (*SentinelReconciler) Shutdown

func (r *SentinelReconciler) Shutdown()

func (*SentinelReconciler) ShutdownQueue

func (r *SentinelReconciler) ShutdownQueue()

func (*SentinelReconciler) WipeCache

func (r *SentinelReconciler) WipeCache()

Jump to

Keyboard shortcuts

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