Documentation ¶
Index ¶
- type IPrescalingEventService
- type PrescalingEventListOutput
- type PrescalingEventOutput
- type PrescalingEventService
- func (e *PrescalingEventService) Clean(retentionDays int) error
- func (e *PrescalingEventService) Create(prescalingevent *v1.PrescalingEvent) (*PrescalingEventOutput, error)
- func (e *PrescalingEventService) Current() (*PrescalingEventOutput, error)
- func (e *PrescalingEventService) Delete(name string) error
- func (e *PrescalingEventService) Get(name string) (*PrescalingEventOutput, error)
- func (e *PrescalingEventService) GetClock() clock.PassiveClock
- func (e *PrescalingEventService) List() (*PrescalingEventListOutput, error)
- func (e *PrescalingEventService) Update(prescalingevent *v1.PrescalingEvent) (*PrescalingEventOutput, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IPrescalingEventService ¶
type IPrescalingEventService interface { Create(prescalingevent *v1.PrescalingEvent) (*PrescalingEventOutput, error) Delete(name string) error List() (*PrescalingEventListOutput, error) Get(name string) (*PrescalingEventOutput, error) Update(prescalingevent *v1.PrescalingEvent) (*PrescalingEventOutput, error) Current() (*PrescalingEventOutput, error) Clean(retentionDays int) error GetClock() clock.PassiveClock }
func NewEventService ¶
func NewEventService(prescalingEventRepository prescalingv1.PrescalingEventInterface, clock clock.PassiveClock) IPrescalingEventService
type PrescalingEventListOutput ¶
type PrescalingEventListOutput []PrescalingEventOutput
type PrescalingEventOutput ¶
type PrescalingEventOutput struct { Name string `json:"name"` v1.PrescalingEventSpec }
type PrescalingEventService ¶
type PrescalingEventService struct {
// contains filtered or unexported fields
}
func (*PrescalingEventService) Clean ¶
func (e *PrescalingEventService) Clean(retentionDays int) error
func (*PrescalingEventService) Create ¶
func (e *PrescalingEventService) Create(prescalingevent *v1.PrescalingEvent) (*PrescalingEventOutput, error)
func (*PrescalingEventService) Current ¶
func (e *PrescalingEventService) Current() (*PrescalingEventOutput, error)
func (*PrescalingEventService) Delete ¶
func (e *PrescalingEventService) Delete(name string) error
func (*PrescalingEventService) Get ¶
func (e *PrescalingEventService) Get(name string) (*PrescalingEventOutput, error)
func (*PrescalingEventService) GetClock ¶
func (e *PrescalingEventService) GetClock() clock.PassiveClock
func (*PrescalingEventService) List ¶
func (e *PrescalingEventService) List() (*PrescalingEventListOutput, error)
func (*PrescalingEventService) Update ¶
func (e *PrescalingEventService) Update(prescalingevent *v1.PrescalingEvent) (*PrescalingEventOutput, error)
Click to show internal directories.
Click to hide internal directories.