Documentation
¶
Index ¶
Constants ¶
View Source
const JOBTTL = 100
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SimpleScheduler ¶
type SimpleScheduler struct {
// contains filtered or unexported fields
}
SimpleScheduler A simple scheduler to run bakta jobs on a Kubernetes cluster The config will be picked up from the
func InitSimpleScheduler ¶
func InitSimpleScheduler(dbHandler *database.Handler) (*SimpleScheduler, error)
InitSimpleScheduler Initiates a scheduler to run bakta jobs
func (*SimpleScheduler) GetK8sClient ¶ added in v0.2.0
func (scheduler *SimpleScheduler) GetK8sClient() *kubernetes.Clientset
func (*SimpleScheduler) GetNamespace ¶ added in v0.2.0
func (scheduler *SimpleScheduler) GetNamespace() string
Click to show internal directories.
Click to hide internal directories.