feat(managed-job): add update job method
This commit is contained in:
12
internal/crd/event.go
Normal file
12
internal/crd/event.go
Normal file
@@ -0,0 +1,12 @@
|
||||
package crd
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
"k8s.io/apimachinery/pkg/types"
|
||||
)
|
||||
|
||||
func (crd Crd) AddEvent(jobUid types.UID, event string) {
|
||||
crd.client.UpdateStatus(context.Background(), nil, v1.UpdateOptions{})
|
||||
}
|
||||
Reference in New Issue
Block a user