INNER CODE UNIT · Go
func
kube-green/kube-green · api/v1alpha1/sleepinfo_types.go:114
func (p PatchTarget) String() string {
return fmt.Sprintf("%s.%s", p.Kind, p.Group)
}
func (p PatchTarget) GroupKind() schema.GroupKind {
return schema.GroupKind{
Group: p.Group,
Kind: p.Kind,
}
}
// SleepInfoStatus defines the observed state of SleepInfo
type SleepInfoStatus struct {
// Information when was the last time the run was successfully scheduled.
// +optional
// +operator-sdk:csv:customresourcedefinitions:type=status,displayName="Last Schedule Time"
LastScheduleTime metav1.Time `json:"lastScheduleTime,omitempty"`
// The operation type handled in last schedule. SLEEP or WAKE_UP are the