Documentation ¶
Index ¶
Constants ¶
View Source
const (
GCControllerName = "kuscia-job-gc-controller"
)
Variables ¶
This section is empty.
Functions ¶
func NewKusciaJobGCController ¶
func NewKusciaJobGCController(ctx context.Context, config controllers.ControllerConfig) controllers.IController
Types ¶
type KusciaJobGCController ¶
type KusciaJobGCController struct {
// contains filtered or unexported fields
}
func (*KusciaJobGCController) GarbageCollectKusciaJob ¶
func (kgc *KusciaJobGCController) GarbageCollectKusciaJob(ctx context.Context, ticker *time.Ticker)
func (*KusciaJobGCController) Name ¶
func (kgc *KusciaJobGCController) Name() string
func (*KusciaJobGCController) Run ¶
func (kgc *KusciaJobGCController) Run(flag int) error
func (*KusciaJobGCController) Stop ¶
func (kgc *KusciaJobGCController) Stop()
Click to show internal directories.
Click to hide internal directories.