Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventPublisher ¶
type Service ¶
type Service interface { GetModelRoute(ctx context.Context, id string) (*route.ModelRoute, error) GetModelRouteList(ctx context.Context, options ...filter.ListOption) ([]route.ModelRoute, error) DeleteModelRoute(ctx context.Context, id string) error SetDeletionMark(ctx context.Context, id string, value bool) error UpdateModelRoute(ctx context.Context, mt *route.ModelRoute) error // Try to update status. If spec in storage differs from spec snapshot then update does not happen UpdateModelRouteStatus( ctx context.Context, id string, status v1alpha1.ModelRouteStatus, spec v1alpha1.ModelRouteSpec) error CreateModelRoute(ctx context.Context, mt *route.ModelRoute) error }
func NewService ¶
func NewService(repo repo.Repository, eventPub EventPublisher) Service
Click to show internal directories.
Click to hide internal directories.